ZCL library
4.3
ZCL library to manage a Zigbee network
|
This Class defines the Read Reporting Configuration payload. More...
#include <ReadReportingConfigurationPayload.h>
Public Member Functions | |
ReadReportingConfigurationPayload (ZCLFrame *frame) | |
Constructor. | |
void | addReadReportingConfigAttribute (const ReadReportingConfigAttribute &attribute) |
Add a read reporting configuration attribute specified by its direction and its identifier. | |
const ReadReportingConfigAttribute * | getReadReportingConfigAttributes (int &size) const |
Get the array of Read Reporting Configuration attributes. | |
virtual const byte * | toBytes (int &size) |
Return the ReadReportingConfiguration payload as array of bytes. | |
virtual bool | fromBytes (const byte payload[], int length) |
Build a ReadReportingConfiguration payload from an array of bytes. |
This Class defines the Read Reporting Configuration payload.
ReadReportingConfigurationPayload::ReadReportingConfigurationPayload | ( | ZCLFrame * | frame | ) |
Constructor.
frame | the frame containing this payload. |
void ReadReportingConfigurationPayload::addReadReportingConfigAttribute | ( | const ReadReportingConfigAttribute & | attribute | ) |
Add a read reporting configuration attribute specified by its direction and its identifier.
attribute | a Read Reporting Configuration attribute. |
virtual bool ReadReportingConfigurationPayload::fromBytes | ( | const byte | payload[], |
int | length | ||
) | [virtual] |
Build a ReadReportingConfiguration payload from an array of bytes.
payload | the payload as bytes. |
length | the array length. |
Implements ZCLPayload.
const ReadReportingConfigAttribute* ReadReportingConfigurationPayload::getReadReportingConfigAttributes | ( | int & | size | ) | const |
Get the array of Read Reporting Configuration attributes.
[out] | size | the returned array size. |
virtual const byte* ReadReportingConfigurationPayload::toBytes | ( | int & | size | ) | [virtual] |
Return the ReadReportingConfiguration payload as array of bytes.
[out] | size | the returned array size. |
Implements ZCLPayload.