![]() |
nRF Connect SDK API 3.3.99
|
| int bt_hrs_client_measurement_subscribe | ( | struct bt_hrs_client * | hrs_c, |
| bt_hrs_client_notify_cb | notify_cb ) |
#include <include/bluetooth/services/hrs_client.h>
Subscribe to Heart Rate Measurement notification.
This function writes CCC descriptor of the Heart Rate Measurement characteristic to enable notification.
| [in] | hrs_c | Heart Rate Service Client instance. |
| [in] | notify_cb | Notification callback. |
| 0 | If the operation was successful. Otherwise, a (negative) error code is returned. |