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> |
||
|---|---|---|
| .. | ||
| bredr.c | ||
| bt.c | ||
| bt.h | ||
| CMakeLists.txt | ||
| gatt.c | ||
| hci.c | ||
| hci.h | ||
| iso.c | ||
| Kconfig | ||
| l2cap.c | ||
| ll.c | ||
| ll.h | ||
| mics_client.c | ||
| mics.c | ||
| rfcomm.c | ||
| ticker.c | ||
| vcs_client.c | ||
| vcs.c | ||