nRF51 SDK
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
ble_hrs_init_t Struct Reference

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

#include <ble_hrs.h>

Data Fields

ble_hrs_evt_handler_t evt_handler
 
bool is_sensor_contact_supported
 
uint8_t * p_body_sensor_location
 
ble_srv_cccd_security_mode_t hrs_hrm_attr_md
 
ble_srv_security_mode_t hrs_bsl_attr_md
 

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.