1.1.2.1.2.3.20 GATT_EvtWriteResp_T
C
typedef struct GATT_EvtWriteResp_T { uint16_t connHandle; uint8_t responseType; uint16_t charHandle; uint16_t valueOffset; uint16_t writeLength; uint8_t writeValue[BLE_ATT_MAX_MTU_LEN-ATT_PREP_WRITE_RESP_HEADER_SIZE]; } GATT_EvtWriteResp_T;
Description
Data structure for GATTC_EVT_WRITE_RESP event.
Field Documentation
Field | Description |
---|---|
connHandle | Connection handle associated with this connection. |
responseType | Write response type. See ATT opcodes. Only ATT_WRITE_RSP/ATT_PREPARE_WRITE_RSP/ATT_EXECUTE_WRITE_RSP are allowed. |
charHandle | Handle (Same as in prepare write request). Used only when responseType is ATT_PREPARE_WRITE_RSP. |
valueOffset | Write offset (Same as in prepare write request). Used only when responseType is ATT_PREPARE_WRITE_RSP. |
writeLength | Length of written value. Used only when responseType is ATT_PREPARE_WRITE_RSP. |
writeValue | Value written (Same as in prepare write request). Used only when responseType is ATT_PREPARE_WRITE_RSP. |