Enumerations

enum  bas_c_evt_type_t {
  BAS_C_EVT_INVALID,
  BAS_C_EVT_DISCOVERY_COMPLETE,
  BAS_C_EVT_DISCOVERY_FAIL,
  BAS_C_EVT_BAT_LEVEL_NTF_SET_SUCCESS,
  BAS_C_EVT_BAT_LEVEL_NTF_SET_ERR,
  BAS_C_EVT_BAT_LEVE_RECEIVE
}
 Battery Service Client event type. More...
 

Detailed Description

Enumeration Type Documentation

◆ bas_c_evt_type_t

Battery Service Client event type.

Enumerator
BAS_C_EVT_INVALID 

BAS Client invalid event.

BAS_C_EVT_DISCOVERY_COMPLETE 

BAS Client has found BAS service and its characteristics.

BAS_C_EVT_DISCOVERY_FAIL 

BAS Client found BAS service failed because of invalid operation or no found at the peer.

BAS_C_EVT_BAT_LEVEL_NTF_SET_SUCCESS 

BAS Client has enabled Notification of Battery Level characteristics.

BAS_C_EVT_BAT_LEVEL_NTF_SET_ERR 

Error occured when BAS Client set Notification of Battery Level characteristics.

BAS_C_EVT_BAT_LEVE_RECEIVE 

BAS Client has received Battery Level value (Read or Notification from peer).

Definition at line 78 of file bas_c.h.