Microchip® Advanced Software Framework

battery_info.h File Reference

Battery Information Service Declarations.

Copyright (c) 2017-2018 Microchip Technology Inc. and its subsidiaries.

Macros

#define APP_BAS_ADV_TIMEOUT   (655)
 APP_BAS_ADV_TIMEOUT Advertising time-out between 0x0001 and 0x3FFF in seconds, 0x0000 disables time-out. More...
 
#define APP_BAS_FAST_ADV   (1600)
 APP_BAS_FAST_ADV between 0x0020 and 0x4000 in 0.625 ms units (20ms to 10.24s). More...
 

#define APP_BAS_ADV_TIMEOUT   (655)

APP_BAS_ADV_TIMEOUT Advertising time-out between 0x0001 and 0x3FFF in seconds, 0x0000 disables time-out.

Referenced by battery_service_advertise(), and battery_start_advertisement().

#define APP_BAS_FAST_ADV   (1600)

APP_BAS_FAST_ADV between 0x0020 and 0x4000 in 0.625 ms units (20ms to 10.24s).

Referenced by battery_service_advertise(), and battery_start_advertisement().