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
Field | Description |
---|---|
onError | Handle GATTC_EVT_ERROR_RESP. |
onRead | Handle GATTS_EVT_READ. |
onWrite | Handle GATTS_EVT_WRITE. |
onDiscPrimServResp | Handle GATTC_EVT_DISC_PRIM_SERV_RESP. |
onDiscPrimServByUuidResp | Handle GATTC_EVT_DISC_PRIM_SERV_BY_UUID_RESP. |
onDiscCharResp | Handle GATTC_EVT_DISC_CHAR_RESP. |
onDiscDescResp | Handle GATTC_EVT_DISC_DESC_RESP. |
onReadUsingUuidResp | Handle GATTC_EVT_READ_USING_UUID_RESP. |
onReadResp | Handle GATTC_EVT_READ_RESP. |
onWriteResp | Handle GATTC_EVT_WRITE_RESP. |
onUpdateMTU | Handle ATT_EVT_UPDATE_MTU. |
onNotification | Handle GATTC_EVT_HV_NOTIFY. |
onIndication | Handle GATTC_EVT_HV_INDICATE. |
onConfirmation | Handle GATTS_EVT_HV_CONFIRM. |
onDiscCharByUuid | Handle GATTC_EVT_DISC_CHAR_BY_UUID_RESP. |
onServiceChange | Handle GATTS_EVT_SERVICE_CHANGE. |
onClientFeatureChange | Handle GATTS_EVT_CLIENT_FEATURE_CHANGE. |
onClientCccdListChange | Handle GATTS_EVT_CLIENT_CCCDLIST_CHANGE. |
onClientProtocolAvailable | Handle GATTC_EVT_PROTOCOL_AVAILABLE. |
onServerProtocolAvailable | Handle GATTS_EVT_PROTOCOL_AVAILABLE. |