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

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

#include <ReadReportingConfigurationResponsePayload.h>

Inheritance diagram for ReadReportingConfigurationResponsePayload:
ZCLPayload

List of all members.

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.

Detailed Description

This Class defines the Read Reporting Configuration response payload.


Constructor & Destructor Documentation

ReadReportingConfigurationResponsePayload::ReadReportingConfigurationResponsePayload ( ZCLFrame frame)

Constructor.

Parameters:
framethe frame containing this payload.

Member Function Documentation

void ReadReportingConfigurationResponsePayload::addReadReportingConfigAttributeResponse ( const ReadReportingConfigAttributeResponse attribute)

Add a Read Reporting Configuration attribute response in the payload.

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

Build a ReadReportingConfigurationResponse payload from an array of bytes.

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

Implements ZCLPayload.

const ReadReportingConfigAttributeResponse* ReadReportingConfigurationResponsePayload::getReadReportingConfigAttributeResponses ( int &  size) const

Get the array of Read Reporting Configuration attribute responses.

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

Return the ReadReportingConfigurationResponse payload as array of bytes.

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

Implements ZCLPayload.


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