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;

Field Documentation

FieldDescription
connHandleConnection handle associated with this connection.
responseTypeWrite response type. See ATT opcodes. Only ATT_WRITE_RSP/ATT_PREPARE_WRITE_RSP/ATT_EXECUTE_WRITE_RSP are allowed.
charHandleHandle (Same as in prepare write request). Used only when responseType is ATT_PREPARE_WRITE_RSP.
valueOffsetWrite offset (Same as in prepare write request). Used only when responseType is ATT_PREPARE_WRITE_RSP.
writeLengthLength of written value. Used only when responseType is ATT_PREPARE_WRITE_RSP.
writeValueValue written (Same as in prepare write request). Used only when responseType is ATT_PREPARE_WRITE_RSP.