ble_hrs_init_t

nRF5 SDK v13.0.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

ble_hrs_evt_handler_t ble_hrs_init_t::evt_handler

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

ble_srv_security_mode_t ble_hrs_init_t::hrs_bsl_attr_md

Initial security level for body sensor location attribute

ble_srv_cccd_security_mode_t ble_hrs_init_t::hrs_hrm_attr_md

Initial security level for heart rate service measurement attribute

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