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

◆ bt_hrs_client_measurement_unsubscribe()

int bt_hrs_client_measurement_unsubscribe ( struct bt_hrs_client hrs_c)

#include <include/bluetooth/services/hrs_client.h>

Remove subscription to the Heart Rate Measurement notification.

This function writes CCC descriptor of the Heart Rate Measurement characteristic to disable notification.

Parameters
[in]hrs_cHeart Rate Service Client instance.
Return values
0If the operation was successful. Otherwise, a (negative) error code is returned.