GATT_EvtDiscDescResp_T

C

typedef struct GATT_EvtDiscDescResp_T
{
    uint16_t    connHandle;
    uint8_t     infoDataFormat;
    uint16_t    infoDataLength;
    uint8_t     infoData[BLE_ATT_MAX_MTU_LEN-ATT_FIND_INFO_RESP_HEADER_SIZE];
    uint8_t     procedureStatus;
}   GATT_EvtDiscDescResp_T;

Field Documentation

FieldDescription
connHandleConnection handle associated with this connection.
infoDataFormatFormat of the received descriptor Data. If 1 then p_infoData has 16-bit UUIDs. If 2 then p_infoData has 128-bit UUIDs. Other values are invalid.
infoDataLengthTotal length of the all received Descriptor information Data.
infoDataDescriptor Data. Data consists of handle-value pairs in following format: <2-byte Characteristic descriptor handle> <Characteristic Descriptor UUID> Number of handle-value pairs = (infoDataLength/4) if p_infoData is 1 Number of handle-value pairs = (infoDataLength/18) if p_infoData is 2 Note that the format of the data is little endian.
procedureStatus"Discover All Descriptors" procedure may not finish in one ATT request. Status indicates if further events are expected. See Procedure status definition.