![]() |
nRF Connect SDK Bare Metal API 2.0.99
|
| uint32_t ble_hrs_init | ( | struct ble_hrs * | hrs, |
| const struct ble_hrs_config * | hrs_config ) |
#include <ble_hrs.h>
Initialize the heart rate service.
| hrs | Heart rate service. |
| hrs_config | Heart rate service configuration. |
| NRF_SUCCESS | On success. |
| NRF_ERROR_NULL | If hrs or hrs_config are NULL. |