nRF Connect SDK API 0.1.0
|
typedef void(* bt_hrs_client_notify_cb) (struct bt_hrs_client *hrs_c, const struct bt_hrs_client_measurement *meas, int err) |
#include <include/bluetooth/services/hrs_client.h>
Heart Rate Measurement notification callback.
This function is called every time the client receives a notification with Heart Rate Measurement data.
[in] | hrs_c | Heart Rate Service Client instance. |
[in] | meas | Heart Rate Measurement received data. |
[in] | err | 0 if the notification is valid. Otherwise, contains a (negative) error code. |