GATTS_SendReadRespParams_T

C

typedef struct GATTS_SendReadRespParams_T
{
    uint16_t    attrLength;
    uint8_t     responseType;
    uint8_t     attrValue[BLE_ATT_MAX_MTU_LEN - ATT_READ_RESP_HEADER_SIZE];
}   GATTS_SendReadRespParams_T;

Description

Structure for sending a GATT Read Response.

Field Documentation

FieldDescription
attrLengthLength of the attribute data to be sent in the read response.
responseTypeType of read response as defined in ATT opcodes (ATT_READ_RSP or ATT_READ_BLOB_RSP).
attrValueData buffer containing the attribute value for the read response.