![]() |
nRF Connect SDK Bare Metal API 2.0.99
|
| uint32_t ble_hrs_body_sensor_location_set | ( | struct ble_hrs * | hrs, |
| uint8_t | body_sensor_location ) |
#include <ble_hrs.h>
Function for setting the Body Sensor Location.
Sets a new value of the Body Sensor Location characteristic. The new value will be sent to the client the next time the client reads the Body Sensor Location characteristic.
| hrs | Heart rate service. |
| body_sensor_location | New body sensor location. |
| NRF_SUCCESS | On success. |
| NRF_ERROR_NULL | If hrs is NULL. |