ZCL library  4.3
ZCL library to manage a Zigbee network
ReportAttribute Class Reference

This Class defines a Report attribute. More...

#include <ReportAttribute.h>

Inheritance diagram for ReportAttribute:
ReadAttribute DiscoveredAttribute Attribute ClusterSpecCmdAttribute WriteAttribute ReadAttributeResponse

List of all members.

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.

Detailed Description

This Class defines a Report attribute.


Member Function Documentation

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.

Parameters:
datathe data as array of bytes.
lengththe data array length.

Reimplemented in WriteAttribute.

virtual const byte* ReportAttribute::toBytes ( int &  size) [virtual]

Return this attribute as array of bytes.

Parameters:
[out]size: the returned array size.
Returns:
the array of bytes.

Reimplemented from ReadAttribute.

Reimplemented in ClusterSpecCmdAttribute, WriteAttribute, and ReadAttributeResponse.


The documentation for this class was generated from the following file: