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
Structure for GATTC_EVT_WRITE_RESP event.
Field Documentation
| Field | Description |
|---|---|
| connHandle | Connection handle associated with this connection. |
| responseType | Type of write response. See ATT opcodes. Valid values are ATT_WRITE_RSP, ATT_PREPARE_WRITE_RSP, and ATT_EXECUTE_WRITE_RSP. |
| charHandle | Characteristic handle related to the write operation. |
| valueOffset | Offset at which the write operation occurred. Valid only if responseType is ATT_PREPARE_WRITE_RSP. |
| writeLength | Length of the data written. Valid only if responseType is ATT_PREPARE_WRITE_RSP. |
| writeValue | Buffer containing the value written. Valid only if responseType is ATT_PREPARE_WRITE_RSP. |
