Battery Service Client (BAS_C)

Battery Service Client module. More...

+ Collaboration diagram for Battery Service Client (BAS_C):

Modules

 Defines
 
 Enumerations
 
 Structures
 
 Typedefs
 
 Functions
 

Detailed Description

Battery Service Client module.

The Battery Service Client contains the APIs and types, which can be used by the application to discovery of Battery Service of peer and interact with it.

The application must provide an event handler to register, then call bas_client_init(). After Battery Service Client discoveries peer Battery Service, application can call bas_c_bat_level_notify_set() and bas_c_bat_level_read() to get battery data from peer.