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

◆ BLE_BAS_CLIENT_DEF

#define BLE_BAS_CLIENT_DEF ( _name)

#include <ble_bas_client.h>

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

Macro for defining a ble_bas_client instance.

Parameters
_nameName of the instance.