nRF Connect SDK Bare Metal API 2.0.99
Loading...
Searching...
No Matches

◆ BLE_HRS_DEF

#define BLE_HRS_DEF ( _name)

#include <ble_hrs.h>

Value:
static struct ble_hrs _name; \
NRF_SDH_BLE_OBSERVER(_name##_obs, ble_hrs_on_ble_evt, &_name, HIGH)
void ble_hrs_on_ble_evt(const ble_evt_t *ble_evt, void *ble_hrs)
Bluetooth LE event handler for the Heart Rate Service.
Heart rate service structure.
Definition ble_hrs.h:149

Define a Heart rate service instance.

Define a heart rate service instance and register it as a Bluetooth event observer.