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

◆ BLE_BAS_DEF

#define BLE_BAS_DEF ( _name)

#include <ble_bas.h>

Value:
static struct ble_bas _name; \
NRF_SDH_BLE_OBSERVER(_name##_obs, ble_bas_on_ble_evt, &_name, HIGH)
void ble_bas_on_ble_evt(const ble_evt_t *ble_evt, void *ble_bas)
Bluetooth LE event handler for the Battery Service.
Battery Service structure.
Definition ble_bas.h:154

Define a Battery service instance.

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