GATTS_SendReadByTypeRespParams_T

C

typedef struct GATTS_SendReadByTypeRespParams_T
{
    uint16_t            allPairsLength;
    uint8_t             eachPairLength;
    uint8_t             attrDataList[BLE_ATT_MAX_MTU_LEN - ATT_READ_BY_TYPE_RESP_HEADER_SIZE];
} GATTS_SendReadByTypeRespParams_T;

Description

Structure for sending a GATT Read By Type Response.

Field Documentation

FieldDescription
allPairsLengthTotal length of all handle-value pairs included in the response.
eachPairLengthLength of a single handle-value pair. The response may include multiple pairs of the same length.
attrDataListBuffer containing the list of handle-value pairs in little-endian format to be sent to the client.