zephyr/subsys/net/l2/bluetooth
Lingao Meng 786b9a0ad4 Bluetooth: Host: Add const prefix for UUID
Add const prefix for service uuid and char uuid.

Since Service UUID and Char UUID should not change in the service
definition, they are most reasonably defined as rodata, also for
save some ram footprint.

The field `attr->user_data` type is `void *`, as this PR change
all Service UUID to rodata, so there must add (void *) to avoid warning.

Signed-off-by: Lingao Meng <menglingao@xiaomi.com>
2023-12-07 16:16:43 +00:00
..
CMakeLists.txt
bluetooth.c Bluetooth: Host: Add const prefix for UUID 2023-12-07 16:16:43 +00:00
bluetooth_shell.c shell: fix MISRA 5.7 violations on `struct shell` 2023-04-14 12:21:08 +02:00