No ACL setup yet! Denying access to everyone.
en:edu:zmitac:s2:aih:lab:nrf52zephyrbleperipheral
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:edu:zmitac:s2:aih:lab:nrf52zephyrbleperipheral [2024/01/13 15:15] – [Adding the possibility of reading the characteristic] ktokarz | en:edu:zmitac:s2:aih:lab:nrf52zephyrbleperipheral [2024/01/13 15:23] (current) – [Adding the possibility of reading the characteristic] ktokarz | ||
|---|---|---|---|
| Line 102: | Line 102: | ||
| * write the callback function that calls bt_gatt_attr_read() (example function in the following code) | * write the callback function that calls bt_gatt_attr_read() (example function in the following code) | ||
| * register callback function within the BT_GATT_CHARACTERISTIC macro using the " | * register callback function within the BT_GATT_CHARACTERISTIC macro using the " | ||
| - | Notice that the temperature data which is sent in the original example by indications is encoded in the following format: | + | Notice that the temperature data sent in the original example by indications is encoded in the following format, which can be automatically decoded by nRF Connect software. |
| < | < | ||
| bool temp_in_fahr_units | bool temp_in_fahr_units | ||
en/edu/zmitac/s2/aih/lab/nrf52zephyrbleperipheral.1705155331.txt.gz · Last modified: by ktokarz
