nRF5 SDK v15.2.0
Modules | Macros
Battery Service Client

Battery Service Client module. More...

Modules

 Enumerations
 
 Structures
 
 Types
 
 Functions
 
 Battery Service Client configuration
 

Macros

#define BLE_BAS_C_DEF(_name)
 Macro for defining a ble_bas_c instance. More...
 
#define BLE_BAS_C_ARRAY_DEF(_name, _cnt)
 Macro for defining multiple ble_bas_c instances. More...
 

Detailed Description

Battery Service Client module.

This module contains APIs to read and interact with the Battery Service of a remote device.

Note
The application must register this module as BLE event observer using the NRF_SDH_BLE_OBSERVER macro. Example:

Macro Definition Documentation

#define BLE_BAS_C_ARRAY_DEF (   _name,
  _cnt 
)

Macro for defining multiple ble_bas_c instances.

Parameters
_nameName of the array of instances.
_cntNumber of instances to define.
#define BLE_BAS_C_DEF (   _name)

Macro for defining a ble_bas_c instance.

Parameters
_nameName of the instance.

Documentation feedback | Developer Zone | Subscribe | Updated