PSoC 4 BLE Stack Events – KBA227595

Version: **

 

There are two types of events supported by PSoC® 4 BLE stack.

 

1) Host Stack Events: These events are declared in BLE_Stack.h inside the enum CYBLE_EVENT_T and are classified

as follows:

 

      • Generic events: 0x01 to 0x1F
      • GAP events: 0x20 to 0x3F
      • GATT events: 0x40 to 0x6F
      • L2CAP events: 0x70 to 0x7F 
      • Future use: 0x80 to 0xFF

 

2)   Service-specific Events:  These events are declared in BLE_eventHandler.h. All events correspond to the standard and custom services are declared inside the enum CYBLE_EVT_T ranges from 0x00100 to 0x0E000