ZCL library
4.3
ZCL library to manage a Zigbee network
|
This Class defines a Report attribute. More...
#include <ReportAttribute.h>
Public Member Functions | |
void | setData (const byte data[], int length) |
Set the data as an array of bytes of this attribute. | |
virtual const byte * | toBytes (int &size) |
Return this attribute as array of bytes. |
This Class defines a Report attribute.
void ReportAttribute::setData | ( | const byte | data[], |
int | length | ||
) |
Set the data as an array of bytes of this attribute.
Warning: the DataType must be set before.
data | the data as array of bytes. |
length | the data array length. |
Reimplemented in WriteAttribute.
virtual const byte* ReportAttribute::toBytes | ( | int & | size | ) | [virtual] |
Return this attribute as array of bytes.
[out] | size | : the returned array size. |
Reimplemented from ReadAttribute.
Reimplemented in ClusterSpecCmdAttribute, WriteAttribute, and ReadAttributeResponse.