mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-21 17:32:52 +00:00
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> |
||
---|---|---|
.. | ||
boards | ||
src | ||
CMakeLists.txt | ||
prj.conf | ||
README.rst | ||
sample.yaml |
.. _bluetooth_central_hr: Bluetooth: Central / Heart-rate Monitor ####################################### Overview ******** Similar to the :ref:`Central <bluetooth_central>` sample, except that this application specifically looks for heart-rate monitors and reports the heart-rate readings once connected. Requirements ************ * BlueZ running on the host, or * A board with BLE support Building and Running ******************** This sample can be found under :zephyr_file:`samples/bluetooth/central_hr` in the Zephyr tree. See :ref:`bluetooth samples section <bluetooth-samples>` for details.