1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-28 23:29:45 +01:00
RIOT/examples/nimble_heart_rate_sensor
2022-04-27 08:22:58 +02:00
..
main.c pkg/nimble/autoadv: add support for ext_adv 2022-04-27 08:22:58 +02:00
Makefile pkg/nimble/autoadv: prefix configurations with CONFIG_ 2022-04-25 08:43:51 +02:00
README.md examples: add heart rate sensor example 2019-06-27 11:56:09 +02:00

NimBLE Heart Rate Sensor Example

This example demonstrates how to implement asynchronous data transfer using GATT notifications by implementing a mock-up BLE heart rate sensor. Once flashed on a node, you can connect to it using any phone or device capable of using such a heart rate sensor, e.g. Nordics nRF Toolbox for Android (https://play.google.com/store/apps/details?id=no.nordicsemi.android.nrftoolbox).

The heart rate sensor is simulated by simply providing an up- and down counter for its BPM value.

On top of the heart rate service, this example implements the device information as well as the battery service.