ble_hrs_s

nRF5 SDK v14.2.0

Heart Rate Service structure. This contains various status information for the service. More...

#include <ble_hrs.h>

Detailed Description

Heart Rate Service structure. This contains various status information for the service.

Field Documentation

ble_gatts_char_handles_t ble_hrs_s::bsl_handles

Handles related to the Body Sensor Location characteristic.

uint16_t ble_hrs_s::conn_handle

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

ble_hrs_evt_handler_t ble_hrs_s::evt_handler

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

ble_gatts_char_handles_t ble_hrs_s::hrcp_handles

Handles related to the Heart Rate Control Point characteristic.

ble_gatts_char_handles_t ble_hrs_s::hrm_handles

Handles related to the Heart Rate Measurement characteristic.

bool ble_hrs_s::is_expended_energy_supported

TRUE if Expended Energy measurement is supported.

bool ble_hrs_s::is_sensor_contact_detected

TRUE if sensor contact has been detected.

bool ble_hrs_s::is_sensor_contact_supported

TRUE if sensor contact detection is supported.

uint8_t ble_hrs_s::max_hrm_len

Current maximum HR measurement length, adjusted according to the current ATT MTU.

uint16_t ble_hrs_s::rr_interval[20]

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

uint16_t ble_hrs_s::rr_interval_count

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

uint16_t ble_hrs_s::service_handle

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

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