Nordic stack and drivers for the mbed BLE API

Dependents:   idd_hw5_bleFanProto

Fork of nRF51822 by Nordic Semiconductor

Embed: (wiki syntax)

« Back to documentation index

ble_hrs_s Struct Reference

ble_hrs_s Struct Reference
[Heart Rate Service]

Heart Rate Service structure. More...

#include <ble_hrs.h>

Data Fields

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).
ble_gatts_char_handles_t hrm_handles
 Handles related to the Heart Rate Measurement characteristic.
ble_gatts_char_handles_t bsl_handles
 Handles related to the Body Sensor Location characteristic.
ble_gatts_char_handles_t hrcp_handles
 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.

Detailed Description

Heart Rate Service structure.

This contains various status information for the service.

Definition at line 94 of file ble_hrs.h.


Field Documentation

Handles related to the Body Sensor Location characteristic.

Definition at line 101 of file ble_hrs.h.

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).

Definition at line 103 of file ble_hrs.h.

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

Definition at line 96 of file ble_hrs.h.

Handles related to the Heart Rate Control Point characteristic.

Definition at line 102 of file ble_hrs.h.

Handles related to the Heart Rate Measurement characteristic.

Definition at line 100 of file ble_hrs.h.

TRUE if Expended Energy measurement is supported.

Definition at line 97 of file ble_hrs.h.

TRUE if sensor contact has been detected.

Definition at line 104 of file ble_hrs.h.

TRUE if sensor contact detection is supported.

Definition at line 98 of file ble_hrs.h.

uint16_t rr_interval[BLE_HRS_MAX_BUFFERED_RR_INTERVALS]

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

Definition at line 105 of file ble_hrs.h.

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

Definition at line 106 of file ble_hrs.h.

uint16_t service_handle

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

Definition at line 99 of file ble_hrs.h.