Nordic stack and drivers for the mbed BLE API
Dependents: idd_hw5_bleFanProto
Fork of nRF51822 by
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
uint16_t conn_handle |
uint16_t rr_interval[BLE_HRS_MAX_BUFFERED_RR_INTERVALS] |
uint16_t rr_interval_count |
uint16_t service_handle |
Generated on Tue Jul 12 2022 17:01:35 by 1.7.2