zephyr/samples/bluetooth/st_ble_sensor/src
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
..
button_svc.c drivers: gpio: use gpio_is_ready_dt helper function 2023-08-28 08:48:35 -05:00
button_svc.h samples: migrate includes to contain <zephyr/...> prefix 2022-05-06 11:29:59 +02:00
led_svc.c drivers: gpio: use gpio_is_ready_dt helper function 2023-08-28 08:48:35 -05:00
led_svc.h samples: st_ble_sensor: clean up 2021-03-29 16:33:51 +02:00
main.c Bluetooth: Host: Add const prefix for UUID 2023-12-07 16:16:43 +00:00