ZCL library
4.3
ZCL library to manage a Zigbee network
|
This Class defines the Read Reporting Configuration response payload. More...
#include <ReadReportingConfigurationResponsePayload.h>
Public Member Functions | |
ReadReportingConfigurationResponsePayload (ZCLFrame *frame) | |
Constructor. | |
const ReadReportingConfigAttributeResponse * | getReadReportingConfigAttributeResponses (int &size) const |
Get the array of Read Reporting Configuration attribute responses. | |
void | addReadReportingConfigAttributeResponse (const ReadReportingConfigAttributeResponse &attribute) |
Add a Read Reporting Configuration attribute response in the payload. | |
virtual const byte * | toBytes (int &size) |
Return the ReadReportingConfigurationResponse payload as array of bytes. | |
virtual bool | fromBytes (const byte payload[], int length) |
Build a ReadReportingConfigurationResponse payload from an array of bytes. |
This Class defines the Read Reporting Configuration response payload.
ReadReportingConfigurationResponsePayload::ReadReportingConfigurationResponsePayload | ( | ZCLFrame * | frame | ) |
Constructor.
frame | the frame containing this payload. |
void ReadReportingConfigurationResponsePayload::addReadReportingConfigAttributeResponse | ( | const ReadReportingConfigAttributeResponse & | attribute | ) |
Add a Read Reporting Configuration attribute response in the payload.
attribute | the Read Reporting Configuration attribute response. |
virtual bool ReadReportingConfigurationResponsePayload::fromBytes | ( | const byte | payload[], |
int | length | ||
) | [virtual] |
Build a ReadReportingConfigurationResponse payload from an array of bytes.
payload | the payload as bytes. |
length | the array length. |
Implements ZCLPayload.
const ReadReportingConfigAttributeResponse* ReadReportingConfigurationResponsePayload::getReadReportingConfigAttributeResponses | ( | int & | size | ) | const |
Get the array of Read Reporting Configuration attribute responses.
[out] | size | : the returned array size. |
virtual const byte* ReadReportingConfigurationResponsePayload::toBytes | ( | int & | size | ) | [virtual] |
Return the ReadReportingConfigurationResponse payload as array of bytes.
[out] | size | : the returned array size. |
Implements ZCLPayload.