ble_hrs_init_t

nRF5 SDK v17.1.0

Heart Rate Service init structure. This contains all options and data needed for initialization of the service. More...

#include <ble_hrs.h>

Detailed Description

Heart Rate Service init structure. This contains all options and data needed for initialization of the service.

Field Documentation

security_req_t ble_hrs_init_t::bsl_rd_sec

Security requirement for reading the BSL characteristic value.

ble_hrs_evt_handler_t ble_hrs_init_t::evt_handler

Event handler to be called for handling events in the Heart Rate Service.

security_req_t ble_hrs_init_t::hrm_cccd_wr_sec

Security requirement for writing the HRM characteristic CCCD.

bool ble_hrs_init_t::is_sensor_contact_supported

Determines if sensor contact detection is to be supported.

uint8_t* ble_hrs_init_t::p_body_sensor_location

If not NULL, initial value of the Body Sensor Location characteristic.

  • components/ble/ble_services/ble_hrs/ble_hrs.h