This Class defines the Write attributes response payload.
More...
#include <WriteAttributesResponsePayload.h>
List of all members.
Detailed Description
This Class defines the Write attributes response payload.
Constructor & Destructor Documentation
WriteAttributesResponsePayload::WriteAttributesResponsePayload |
( |
ZCLFrame * |
frame | ) |
|
Constructor.
- Parameters:
-
frame | the frame containing this payload. |
Member Function Documentation
Add a Write attributes response in this payload.
- Parameters:
-
attr | the Write attributes response. |
virtual bool WriteAttributesResponsePayload::fromBytes |
( |
const byte |
payload[], |
|
|
int |
length |
|
) |
| [virtual] |
Build a WriteAttributesResponse payload from an array of bytes.
- Parameters:
-
payload | the payload as bytes. |
length | the array length. |
- Returns:
- true if success, otherwise false.
Implements ZCLPayload.
Get the array of Write attributes responses.
- Parameters:
-
[out] | size | the returned array size. |
- Returns:
- the array of Write attributes responses.
bool WriteAttributesResponsePayload::isSuccessfulWriting |
( |
| ) |
const |
Return true if that is a successful writing of all attributes.
- Returns:
- true if that is a successful writing of all attributes.
void WriteAttributesResponsePayload::setSuccessfulWriting |
( |
bool |
success | ) |
|
Set to true if that is a successful writing of all attributes.
- Parameters:
-
success | true if that is a successful writing of all attributes. |
virtual const byte* WriteAttributesResponsePayload::toBytes |
( |
int & |
size | ) |
[virtual] |
Return the WriteAttributesResponse 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:
- WriteAttributesResponsePayload.h