Battery Service Client module.
More...
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:
#define BLE_BAS_C_ARRAY_DEF |
( |
|
_name, |
|
|
|
_cnt |
|
) |
| |
Macro for defining multiple ble_bas_c instances.
- Parameters
-
_name | Name of the array of instances. |
_cnt | Number of instances to define. |
#define BLE_BAS_C_DEF |
( |
|
_name | ) |
|
Macro for defining a ble_bas_c instance.
- Parameters
-
_name | Name of the instance. |