nRF Connect SDK Bare Metal API 2.0.99
Loading...
Searching...
No Matches

◆ ble_hrs_sensor_contact_detected_update()

uint32_t ble_hrs_sensor_contact_detected_update ( struct ble_hrs * hrs,
bool is_sensor_contact_detected )

#include <ble_hrs.h>

Function for setting the state of the sensor contact detected bit.

Parameters
hrsHeart rate service.
is_sensor_contact_detectedNew state of the sensor contact detected bit.
Return values
NRF_SUCCESSOn success.
NRF_ERROR_NULLIf hrs is NULL.