GATT_EvtDiscCharResp_T

C

typedef struct GATT_EvtDiscCharResp_T
{
    uint16_t    connHandle;
    uint8_t     attrPairLength;
    uint16_t    attrDataLength;
    uint8_t     attrData[BLE_ATT_MAX_MTU_LEN-ATT_READ_BY_TYPE_RESP_HEADER_SIZE];
    uint8_t     procedureStatus;
}   GATT_EvtDiscCharResp_T;

Field Documentation

procedureStatusIndicates if more events are expected in the "Discover All Characteristics" procedure. See Procedure status definition for possible values.
FieldDescription
connHandleConnection handle associated with this connection.
attrPairLengthLength of each handle-value pair in the attribute data list.
attrDataLengthTotal length of the attribute data list in bytes.
attrDataAttribute data list containing handle-value pairs in the format: <2-byte Characteristic declaration handle> <1-byte Characteristic property> <2-byte Value Handle> . Characteristic properties are defined in Characteristic properties. The Characteristic UUID may be 16 or 128 bits. The number of handle-value pairs is determined by (attrDataLength / attrPairLength). Data is in little-endian format.