GATT_EvtReadResp_T

C

typedef struct GATT_EvtReadResp_T
{
    uint16_t            connHandle;
    uint8_t             responseType;
    uint16_t            attrDataLength;
    uint8_t             readValue[BLE_ATT_MAX_MTU_LEN-ATT_READ_RESP_HEADER_SIZE];
    uint16_t            charHandle;
} GATT_EvtReadResp_T;

Description

Structure for the GATTC_EVT_READ_RESP event.

Field Documentation

FieldDescription
connHandleConnection handle associated with this connection.
responseTypeType of read response. See ATT opcodes. Valid values are ATT_READ_RSP and ATT_READ_BLOB_RSP.
attrDataLengthLength of the attribute data read.
readValueBuffer containing the data read from the specified attribute.
charHandleHandle of the characteristic from which data was read.