1.1.2.1.2.3.34 GATTS_SendWriteRespParams_T

C

typedef struct GATTS_SendWriteRespParams_T
{
    uint8_t     responseType;
    uint16_t    attrHandle;
    uint16_t    valueOffset;
    uint16_t    writeLength;
    uint8_t     writeValue[BLE_ATT_MAX_MTU_LEN - ATT_WRITE_RESP_HEADER_SIZE];
}   GATTS_SendWriteRespParams_T;

Description

GATT Send Write Response parameters.

Field Documentation

FieldDescription
responseTypeWrite response type, ATT opcodes. Only ATT_WRITE_RSP/ATT_PREPARE_WRITE_RSP/ATT_EXECUTE_WRITE_RSP are allowed.
attrHandleHandle of the attribute written. Use for Prepare Write Response only.
valueOffsetOffset of the first octet written. Use for Prepare Write Response only.
writeLengthLength of the written value. Used for Prepare Write Response only and should be same as corresponding field in Prepare Write request received.
writeValueValue of the attribute written. Used for Prepare Write Response only and should be same as as corresponding field in Prepare Write request received.