GATT_EventId_T
C
typedef enum GATT_EventId_T
{
GATTC_EVT_ERROR_RESP = 0x00,
GATTC_EVT_DISC_PRIM_SERV_RESP,
GATTC_EVT_DISC_PRIM_SERV_BY_UUID_RESP,
GATTC_EVT_DISC_CHAR_RESP,
GATTC_EVT_DISC_DESC_RESP,
GATTC_EVT_READ_USING_UUID_RESP,
GATTC_EVT_READ_RESP,
GATTC_EVT_WRITE_RESP,
GATTC_EVT_HV_NOTIFY,
GATTC_EVT_HV_INDICATE,
GATTS_EVT_READ,
GATTS_EVT_WRITE,
GATTS_EVT_HV_CONFIRM,
ATT_EVT_TIMEOUT,
ATT_EVT_UPDATE_MTU,
GATTC_EVT_DISC_CHAR_BY_UUID_RESP,
GATTS_EVT_SERVICE_CHANGE,
GATTS_EVT_CLIENT_FEATURE_CHANGE,
GATTS_EVT_CLIENT_CCCDLIST_CHANGE,
GATTC_EVT_PROTOCOL_AVAILABLE,
GATTS_EVT_PROTOCOL_AVAILABLE
}GATT_EventId_T;
Description
Enumeration type of GATT callback events.
Note
Events with "GATTC" in EventID are generated on GATT Client.
Events with "GATTS" are generated on GATT Server.
Remaining events may be generated either on the GATT client or server.
Enumerator | Description |
---|---|
GATTC_EVT_ERROR_RESP | Error Response Event. See GATT_EvtError_T for event details. |
GATTC_EVT_DISC_PRIM_SERV_RESP | Discover Primary Services Response Event. See GATT_EvtDiscPrimServResp_T for event details. |
GATTC_EVT_DISC_PRIM_SERV_BY_UUID_RESP | Discover Primary Services By UUID Response Event. See GATT_EvtDiscPrimServByUuidResp_T for event details. |
GATTC_EVT_DISC_CHAR_RESP | Discover All Characteristics Response Event. See GATT_EvtDiscCharResp_T for event details. |
GATTC_EVT_DISC_DESC_RESP | Discover All Descriptors Response Event. See GATT_EvtDiscDescResp_T for event details. |
GATTC_EVT_READ_USING_UUID_RESP | Read Using UUID Response Event. See GATT_EvtReadUsingUuidResp_T for event details. |
GATTC_EVT_READ_RESP | Read Response Event. See GATT_EvtReadResp_T for event details. |
GATTC_EVT_WRITE_RESP | Write Response Event. See GATT_EvtWriteResp_T for event details. |
GATTC_EVT_HV_NOTIFY | Handle Value Notification Event. See GATT_EvtReceiveHandleValue_T for event details. |
GATTC_EVT_HV_INDICATE | Handle Value Indication Event. See GATT_EvtReceiveHandleValue_T for event details. |
GATTS_EVT_READ | Read Requests Event. See GATT_EvtRead_T for event details. |
GATTS_EVT_WRITE | Write Request/Command Event. See GATT_EvtWrite_T for event details. Please note that App. will receive prepare/execute write requests if the additional condition matched: There's no queue writes queued in the GATT. GATT cannot handle queue writes both in stack and application at the same time. |
GATTS_EVT_HV_CONFIRM | Handle Value Confirmation Event. See GATT_EvtReceiveCfm_T for event details. |
ATT_EVT_TIMEOUT | ATT Stack Timeout Event. |
ATT_EVT_UPDATE_MTU | Update MTU Event. See GATT_EvtUpdateMtu_T for event details. |
GATTC_EVT_DISC_CHAR_BY_UUID_RESP | Discover Characteristics By UUID Response Event. See GATT_EvtDiscCharResp_T for event details. |
GATTS_EVT_SERVICE_CHANGE | Service change for the specific bonded client. The information must be kept between connection. See GATT_EvtServiceChange_T for event details. |
GATTS_EVT_CLIENT_FEATURE_CHANGE | Support feature change for a specific bonded client. The information must be kept between connection. See GATT_EvtClientFeatureChange_T for event details. |
GATTS_EVT_CLIENT_CCCDLIST_CHANGE | CCCD list change for a specific bonded client. The information must be kept between connection. See GATT_EvtClientCccdListChange_T for event details. |
GATTC_EVT_PROTOCOL_AVAILABLE | Sequential protocol available in client role. See GATT_EvtProtocolAvailable_T for event details. |
GATTS_EVT_PROTOCOL_AVAILABLE | Sequential protocol available in server role. See GATT_EvtProtocolAvailable_T for event details. |