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

This Class defines the Read Reporting Configuration payload. More...

#include <ReadReportingConfigurationPayload.h>

Inheritance diagram for ReadReportingConfigurationPayload:
ZCLPayload

List of all members.

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.

Detailed Description

This Class defines the Read Reporting Configuration payload.


Constructor & Destructor Documentation

ReadReportingConfigurationPayload::ReadReportingConfigurationPayload ( ZCLFrame frame)

Constructor.

Parameters:
framethe frame containing this payload.

Member Function Documentation

void ReadReportingConfigurationPayload::addReadReportingConfigAttribute ( const ReadReportingConfigAttribute attribute)

Add a read reporting configuration attribute specified by its direction and its identifier.

Parameters:
attributea Read Reporting Configuration attribute.
virtual bool ReadReportingConfigurationPayload::fromBytes ( const byte  payload[],
int  length 
) [virtual]

Build a ReadReportingConfiguration payload from an array of bytes.

Parameters:
payloadthe payload as bytes.
lengththe array length.
Returns:
true if success, otherwise false.

Implements ZCLPayload.

const ReadReportingConfigAttribute* ReadReportingConfigurationPayload::getReadReportingConfigAttributes ( int &  size) const

Get the array of Read Reporting Configuration attributes.

Parameters:
[out]sizethe returned array size.
Returns:
the array of Read Reporting Configuration attributes.
virtual const byte* ReadReportingConfigurationPayload::toBytes ( int &  size) [virtual]

Return the ReadReportingConfiguration payload as array of bytes.

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

Implements ZCLPayload.


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