![]() |
nRF5 SDK
v12.3.0
|
| Choose documentation: | nRF5 SDK | S130 SoftDevice API | S132 SoftDevice API | S212 SoftDevice API | S332 SoftDevice API |
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 |
Heart Rate Event structure.
| 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 will be filled if the evt_type is BLE_HRS_C_EVT_HRM_NOTIFICATION.
| hrs_db_t ble_hrs_c_evt_t::peer_db |
Heart Rate related handles found on the peer device.. This will be filled if the evt_type is BLE_HRS_C_EVT_DISCOVERY_COMPLETE.