zephyr/subsys/bluetooth
Théo Battrel 972d4c7369 Bluetooth: Host: GAP Device Name write now add null char at the end
The function used to write the value of the GAP Device Name
characteristic now ensure that the string passed to `bt_set_name` is
null terminated.

Also fix a wrong offset calculation.

The function used to write the value of the GAP Device Name
characteristic was returning an error when the offset + the length of
data to write was superior **or equal** to the maximum size of the
device name.

This caused the actual maximum device name size to be reduced by 1 byte.

Signed-off-by: Théo Battrel <theo.battrel@nordicsemi.no>
2025-01-30 11:15:03 +01:00
..
audio Bluetooth: PACS: Fix issue with PACS flags 2025-01-29 15:13:29 +01:00
common bluetooth: shell: move bt_shell_private.c to common folder 2025-01-14 10:56:16 +01:00
controller Bluetooth: Host: Remove HCI ECC emulation 2025-01-23 10:14:46 +01:00
crypto Bluetooth: crypto: add select PSA_WANT_ALG_ECB_NO_PADDING 2025-01-15 22:57:20 +01:00
host Bluetooth: Host: GAP Device Name write now add null char at the end 2025-01-30 11:15:03 +01:00
lib
mesh Bluetooth: Mesh: Improve logic for serving devices erase capabilities 2025-01-23 19:25:27 +01:00
services Bluetooth: CTS: Incorrect assert in bt_cts_init() 2025-01-29 12:51:30 +01:00
CMakeLists.txt Bluetooth: Controller: Replace BT_CTLR with HAS_BT_CTLR 2024-12-03 10:16:44 +01:00
Kconfig Bluetooth: ISO: Move contents of Kconfig.iso to common Kconfig 2025-01-15 01:39:35 +01:00
Kconfig.adv Bluetooth: Controller: Replace BT_CTLR with HAS_BT_CTLR 2024-12-03 10:16:44 +01:00
Kconfig.logging Bluetooth: AVRCP: Implemation of AVRCP. 2024-11-18 13:19:07 -05:00