zephyr/subsys/bluetooth/shell
Joakim Andersson d76bba4b5e Bluetooth: host: Device name handling of invalid length
Add a build assert if the device name has been misconfigured. The device
name has a max length of 248. When configured as dynamic make sure that
the initial device length can fit in the dynamic max length.
This prevents us from having to handle length overflow when setting
device name in advertising data which has an 8-bit length field.

Log a warning if failing to set the device name in bt_enable.
Remove unused defines in the shell.

Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
2021-08-20 18:56:38 -04:00
..
bredr.c coccinelle: Remove extra semicolon 2021-03-25 11:35:30 -05:00
bt.c Bluetooth: host: Device name handling of invalid length 2021-08-20 18:56:38 -04:00
bt.h Bluetooth: host: Initial support for BIS 2021-03-09 08:06:02 -05:00
CMakeLists.txt Bluetooth: Audio: MICS shell commands 2021-06-07 12:04:28 +02:00
gatt.c Bluetooth: gatt: Add option to read multiple without variable length 2021-08-12 11:07:08 -04:00
hci.c
hci.h
iso.c Bluetooth: shell: ISO change to use shell_print instead of printk 2021-08-05 15:08:06 -04:00
Kconfig
l2cap.c samples: conn_cb replace to const zsector 2021-08-11 13:42:28 +02:00
ll.c
ll.h
mics_client.c Bluetooth: Audio: AICS remove need for bt_conn pointer 2021-06-24 11:31:04 -04:00
mics.c Bluetooth: Audio: AICS remove need for bt_conn pointer 2021-06-24 11:31:04 -04:00
rfcomm.c
ticker.c
vcs_client.c Bluetooth: Audio: AICS remove need for bt_conn pointer 2021-06-24 11:31:04 -04:00
vcs.c Bluetooth: Audio: AICS remove need for bt_conn pointer 2021-06-24 11:31:04 -04:00