nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches

◆ bt_hrs_client_control_point_write()

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.

Parameters
[in]hrs_cHeart Rate Service Client instance.
[in]valueControl Point value to write.
[in]write_cbWrite complete callback.
Return values
0If the operation was successful. Otherwise, a (negative) error code is returned.