Heart Rate Event structure. More...
#include <ble_hrs_c.h>
Data Fields |
|
| ble_hrs_c_evt_type_t | evt_type |
| uint16_t | conn_handle |
| union { | |
| hrs_db_t peer_db | |
| ble_hrm_t hrm | |
| } | params |
Detailed Description
Heart Rate Event structure.
Field Documentation
| uint16_t ble_hrs_c_evt_t::conn_handle |
Connection handle on which the Heart Rate service was discovered on the peer device..
| ble_hrs_c_evt_type_t ble_hrs_c_evt_t::evt_type |
Type of the event.
| ble_hrm_t ble_hrs_c_evt_t::hrm |
Heart Rate Measurement received. This is filled if the evt_type is BLE_HRS_C_EVT_HRM_NOTIFICATION .
| hrs_db_t ble_hrs_c_evt_t::peer_db |
Handles related to the Heart Rate, found on the peer device. This is filled if the evt_type is BLE_HRS_C_EVT_DISCOVERY_COMPLETE .
- components/ble/ble_services/ble_hrs_c/ble_hrs_c.h