mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-08 22:22:54 +00:00
Fix peripheral sample handling of string values. The read callback uses strlen to get the length of the current string value. Make sure that the string value is always zero-byte terminated. Fix multiple characteristics using the same storage for its value. Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no> |
||
---|---|---|
.. | ||
boards | ||
src | ||
CMakeLists.txt | ||
prj.conf | ||
README.rst | ||
sample.yaml |
.. _ble_peripheral: Bluetooth: Peripheral ##################### Overview ******** Application demonstrating the BLE Peripheral role. It has several well-known and vendor-specific GATT services that it exposes. 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/peripheral` in the Zephyr tree. See :ref:`bluetooth samples section <bluetooth-samples>` for details.