1.2.2.1.2.3.3 GATT_EventField_T

C

typedef union
{
    GATT_EvtError_T                       onError;
    GATT_EvtRead_T                        onRead;
    GATT_EvtWrite_T                       onWrite;
    GATT_EvtDiscPrimServResp_T            onDiscPrimServResp;
    GATT_EvtDiscPrimServByUuidResp_T      onDiscPrimServByUuidResp;
    GATT_EvtDiscCharResp_T                onDiscCharResp;
    GATT_EvtDiscDescResp_T                onDiscDescResp;
    GATT_EvtReadUsingUuidResp_T           onReadUsingUuidResp;
    GATT_EvtReadResp_T                    onReadResp;
    GATT_EvtWriteResp_T                   onWriteResp;
    GATT_EvtUpdateMtu_T                   onUpdateMTU;
    GATT_EvtReceiveHandleValue_T          onNotification;
    GATT_EvtReceiveHandleValue_T          onIndication;
    GATT_EvtReceiveCfm_T                  onConfirmation;
    GATT_EvtDiscCharResp_T                onDiscCharByUuid;
    GATT_EvtServiceChange_T               onServiceChange;
    GATT_EvtClientFeatureChange_T         onClientFeatureChange;
    GATT_EvtClientCccdListChange_T        onClientCccdListChange;
    GATT_EvtProtocolAvailable_T           onClientProtocolAvailable;
    GATT_EvtProtocolAvailable_T           onServerProtocolAvailable;
} GATT_EventField_T;

Description

Union of GATT callback event data types.

Field Documentation

FieldDescription
onErrorHandle GATTC_EVT_ERROR_RESP.
onReadHandle GATTS_EVT_READ.
onWriteHandle GATTS_EVT_WRITE.
onDiscPrimServRespHandle GATTC_EVT_DISC_PRIM_SERV_RESP.
onDiscPrimServByUuidRespHandle GATTC_EVT_DISC_PRIM_SERV_BY_UUID_RESP.
onDiscCharRespHandle GATTC_EVT_DISC_CHAR_RESP.
onDiscDescRespHandle GATTC_EVT_DISC_DESC_RESP.
onReadUsingUuidRespHandle GATTC_EVT_READ_USING_UUID_RESP.
onReadRespHandle GATTC_EVT_READ_RESP.
onWriteRespHandle GATTC_EVT_WRITE_RESP.
onUpdateMTUHandle ATT_EVT_UPDATE_MTU.
onNotificationHandle GATTC_EVT_HV_NOTIFY.
onIndicationHandle GATTC_EVT_HV_INDICATE.
onConfirmationHandle GATTS_EVT_HV_CONFIRM.
onDiscCharByUuidHandle GATTC_EVT_DISC_CHAR_BY_UUID_RESP.
onServiceChangeHandle GATTS_EVT_SERVICE_CHANGE.
onClientFeatureChangeHandle GATTS_EVT_CLIENT_FEATURE_CHANGE.
onClientCccdListChangeHandle GATTS_EVT_CLIENT_CCCDLIST_CHANGE.
onClientProtocolAvailableHandle GATTC_EVT_PROTOCOL_AVAILABLE.
onServerProtocolAvailableHandle GATTS_EVT_PROTOCOL_AVAILABLE.