GATT_EvtRead_T

C

typedef struct GATT_EvtRead_T
{
    uint16_t            connHandle;
    uint16_t            attrHandle;
    uint8_t             readType;
    uint16_t            readOffset;
} GATT_EvtRead_T;

Description

Structure for the GATTS_EVT_READ event.

Field Documentation

FieldDescription
connHandleConnection handle associated with this connection.
attrHandleHandle of the attribute being read.
readTypeType of read operation being requested. Only ATT_READ_BY_TYPE_REQ/ATT_READ_REQ/ATT_READ_BLOB_REQ are allowed. See ATT opcodes.
readOffsetOffset for a read blob request; specifies where to start reading.