nRF Connect SDK API 2.8.99
|
int bt_hrs_client_control_point_write | ( | struct bt_hrs_client * | hrs_c, |
enum bt_hrs_client_cp_value | value, | ||
bt_hrs_client_write_cb | write_cb ) |
#include <include/bluetooth/services/hrs_client.h>
Write Heart Rate Control Point characteristic.
[in] | hrs_c | Heart Rate Service Client instance. |
[in] | value | Control Point value to write. |
[in] | write_cb | Write complete callback. |
0 | If the operation was successful. Otherwise, a (negative) error code is returned. |