tsZCL_AttributeDiscoveryResponse
This structure contains details of an attribute reported in a ‘discover attributes’ response. It is contained in a ZCL event of type E_ZCL_CBET_DISCOVER_INDIVIDUAL_ATTRIBUTE_RESPONSE.
typedef struct
{
bool_t bDiscoveryComplete;
uint16 u16AttributeEnum;
teZCL_ZCLAttributeType eAttributeDataType;
} tsZCL_AttributeDiscoveryResponse;
where:
bDiscoveryCompleteindicates whether this is the final attribute from a ‘discover attributes’ to be reported:TRUE - final attribute
FALSE - not final attribute
u16AttributeEnumis the identifier of the attribute being reportedeAttributeDataTypeindicates the data type of the attribute being reported (see Section 7.1.3)
The above structure is contained in the tsZCL_CallBackEvent event structure, detailed in Section 6.2, when the field eEventType is set to E_ZCL_CBET_DISCOVER_INDIVIDUAL_ATTRIBUTE_RESPONSE.
Parent topic:General Structures