Modules

 Characteristics Mask
 Bit masks for the initialization of bas_init_t::char_mask.
 

Macros

#define BAS_INSTANCE_MAX   1
 Maximum number of Battery Service instances. More...
 
#define BAS_CONNECTION_MAX
 Maximum number of BAS connections. More...
 
#define BAS_LVL_MAX_LEN   1
 Maximun length of battery level value. More...
 

Detailed Description

Macro Definition Documentation

◆ BAS_CONNECTION_MAX

#define BAS_CONNECTION_MAX
Value:
(10 < CFG_MAX_CONNECTIONS ?\
10 : CFG_MAX_CONNECTIONS)

Maximum number of BAS connections.

The value is configurable.

Definition at line 84 of file bas.h.

◆ BAS_INSTANCE_MAX

#define BAS_INSTANCE_MAX   1

Maximum number of Battery Service instances.

The value is configurable.

Definition at line 81 of file bas.h.

◆ BAS_LVL_MAX_LEN

#define BAS_LVL_MAX_LEN   1

Maximun length of battery level value.

Definition at line 85 of file bas.h.