![]() |
nRF Connect SDK Bare Metal API 2.0.99
|
| uint32_t ble_hrs_sensor_contact_supported_set | ( | struct ble_hrs * | hrs, |
| bool | is_sensor_contact_supported ) |
#include <ble_hrs.h>
Function for setting the state of the sensor contact supported bit.
| hrs | Heart rate service. |
| is_sensor_contact_supported | New state of the sensor contact support bit. |
| NRF_SUCCESS | On success. |
| NRF_ERROR_NULL | If hrs is NULL. |
| NRF_ERROR_INVALID_STATE | If in a connection. |