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.

EnumeratorDescription
GATTC_EVT_ERROR_RESPError Response Event. See GATT_EvtError_T for event details.
GATTC_EVT_DISC_PRIM_SERV_RESPDiscover Primary Services Response Event. See GATT_EvtDiscPrimServResp_T for event details.
GATTC_EVT_DISC_PRIM_SERV_BY_UUID_RESPDiscover Primary Services By UUID Response Event. See GATT_EvtDiscPrimServByUuidResp_T for event details.
GATTC_EVT_DISC_CHAR_RESPDiscover All Characteristics Response Event. See GATT_EvtDiscCharResp_T for event details.
GATTC_EVT_DISC_DESC_RESPDiscover All Descriptors Response Event. See GATT_EvtDiscDescResp_T for event details.
GATTC_EVT_READ_USING_UUID_RESPRead Using UUID Response Event. See GATT_EvtReadUsingUuidResp_T for event details.
GATTC_EVT_READ_RESPRead Response Event. See GATT_EvtReadResp_T for event details.
GATTC_EVT_WRITE_RESPWrite Response Event. See GATT_EvtWriteResp_T for event details.
GATTC_EVT_HV_NOTIFYHandle Value Notification Event. See GATT_EvtReceiveHandleValue_T for event details.
GATTC_EVT_HV_INDICATEHandle Value Indication Event. See GATT_EvtReceiveHandleValue_T for event details.
GATTS_EVT_READRead Requests Event. See GATT_EvtRead_T for event details.
GATTS_EVT_WRITEWrite 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_CONFIRMHandle Value Confirmation Event. See GATT_EvtReceiveCfm_T for event details.
ATT_EVT_TIMEOUTATT Stack Timeout Event.
ATT_EVT_UPDATE_MTUUpdate MTU Event. See GATT_EvtUpdateMtu_T for event details.
GATTC_EVT_DISC_CHAR_BY_UUID_RESPDiscover Characteristics By UUID Response Event. See GATT_EvtDiscCharResp_T for event details.
GATTS_EVT_SERVICE_CHANGEService change for the specific bonded client. The information must be kept between connection. See GATT_EvtServiceChange_T for event details.
GATTS_EVT_CLIENT_FEATURE_CHANGESupport 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_CHANGECCCD list change for a specific bonded client. The information must be kept between connection. See GATT_EvtClientCccdListChange_T for event details.
GATTC_EVT_PROTOCOL_AVAILABLESequential protocol available in client role. See GATT_EvtProtocolAvailable_T for event details.
GATTS_EVT_PROTOCOL_AVAILABLESequential protocol available in server role. See GATT_EvtProtocolAvailable_T for event details.