tsZCL_IndividualAttributesResponse
This structure is contained in a ZCL event of type E_ZCL_CBET_READ_INDIVIDUAL_ATTRIBUTE_RESPONSE (see Section):
typedef struct PACK {
uint16 u16AttributeEnum;
teZCL_ZCLAttributeType eAttributeDataType;
teZCL_CommandStatus eAttributeStatus;
void *pvAttributeData;
} tsZCL_IndividualAttributesResponse;
Where:
u16AttributeEnum
identifies the attribute that has been read (the relevant enumerations are listed in the ‘Enumerations’ section of each cluster-specific chapter).eAttributeDataType
is the ZCL data type of the read attribute (see Section 7.1.3).eAttributeStatus
is the status of the read operation (0x00 for success or an error code - see Section 7.1.4 for enumerations).pvAttributeData
is a pointer to the read attribute data which (if the read was successful) has been inserted by the ZCL into the shared device structure.
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_READ_INDIVIDUAL_ATTRIBUTE_RESPONSE.
Parent topic:General Structures