ble_bas_c_evt_t

nRF5 SDK v15.3.0

Battery Service Client Event structure. More...

#include <ble_bas_c.h>

Detailed Description

Battery Service Client Event structure.

Field Documentation

ble_bas_c_db_t ble_bas_c_evt_t::bas_db

Battery Service related handles found on the peer device. This will be filled if the evt_type is BLE_BAS_C_EVT_DISCOVERY_COMPLETE .

uint8_t ble_bas_c_evt_t::battery_level

Battery level received from peer. This field will be used for the events BLE_BAS_C_EVT_BATT_NOTIFICATION and BLE_BAS_C_EVT_BATT_READ_RESP .

uint16_t ble_bas_c_evt_t::conn_handle

Connection handle relevent to this event.

ble_bas_c_evt_type_t ble_bas_c_evt_t::evt_type

Event Type.

  • components/ble/ble_services/ble_bas_c/ble_bas_c.h