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

Data Fields

ble_hrs_evt_handler_t evt_handler
 
bool is_expended_energy_supported
 
bool is_sensor_contact_supported
 
uint16_t service_handle
 
ble_gatts_char_handles_t hrm_handles
 
ble_gatts_char_handles_t bsl_handles
 
ble_gatts_char_handles_t hrcp_handles
 
uint16_t conn_handle
 
bool is_sensor_contact_detected
 
uint16_t rr_interval [BLE_HRS_MAX_BUFFERED_RR_INTERVALS]
 
uint16_t rr_interval_count
 

Field Documentation

ble_hrs_evt_handler_t evt_handler

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

bool is_expended_energy_supported

TRUE if Expended Energy measurement is supported.

bool is_sensor_contact_supported

TRUE if sensor contact detection is supported.

uint16_t service_handle

Handle of Heart Rate Service (as provided by the BLE stack).

Handles related to the Heart Rate Measurement characteristic.

Handles related to the Body Sensor Location characteristic.

Handles related to the Heart Rate Control Point characteristic.

uint16_t conn_handle

Handle of the current connection (as provided by the BLE stack, is BLE_CONN_HANDLE_INVALID if not in a connection).

bool is_sensor_contact_detected

TRUE if sensor contact has been detected.

uint16_t rr_interval[BLE_HRS_MAX_BUFFERED_RR_INTERVALS]

Set of RR Interval measurements since the last Heart Rate Measurement transmission.

uint16_t rr_interval_count

Number of RR Interval measurements since the last Heart Rate Measurement transmission.