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 GATTC_EVT_DISC_DESC_RESP event.
Field Documentation
Field | Description |
---|---|
connHandle | Connection handle associated with this connection. |
infoDataFormat | Format of the received descriptor data: 1 for 16-bit UUIDs, 2 for 128-bit UUIDs, other values are invalid. |
infoDataLength | Total length of the received descriptor information data in bytes. |
infoData | Descriptor 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. |