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;

Description

Structure for the GATTC_EVT_DISC_DESC_RESP event.

Field Documentation

procedureStatusIndicates if more events are expected in the "Discover All Descriptors" procedure.See Procedure status for possible values.
FieldDescription
connHandleConnection handle associated with this connection.
infoDataFormatFormat of the received descriptor data:1 for 16-bit UUIDs,2 for 128-bit UUIDs,other values are invalid.
infoDataLengthTotal length of the received descriptor information data in bytes.
infoDataDescriptor data list containing handle-UUID pairs in the format:<2-byte Characteristic descriptor handle> .The number of handle-UUID pairs is determined by (infoDataLength / 4) for 16-bit UUIDs or (infoDataLength / 18) for 128-bit UUIDs. Data is in little-endian format.