ZCL library
4.3
ZCL library to manage a Zigbee network
|
This Class defines the Discover attribute. More...
#include <DiscoveredAttribute.h>
Public Member Functions | |
const DataType & | getDataType () const |
Get the data type of this attribute. | |
void | setDataType (const DataType &dataType) |
Set the data type of this attribute. | |
void | setDataType (DataTypeValue dataType) |
Set the data type of this attribute. | |
virtual const byte * | toBytes (int &size) |
Return this attribute as array of bytes. |
This Class defines the Discover attribute.
const DataType& DiscoveredAttribute::getDataType | ( | ) | const |
Get the data type of this attribute.
void DiscoveredAttribute::setDataType | ( | const DataType & | dataType | ) |
Set the data type of this attribute.
dataType | the data type. |
void DiscoveredAttribute::setDataType | ( | DataTypeValue | dataType | ) |
Set the data type of this attribute.
dataType | the data type. |
virtual const byte* DiscoveredAttribute::toBytes | ( | int & | size | ) | [virtual] |
Return this attribute as array of bytes.
[out] | size | the returned array size. |
Reimplemented from Attribute.
Reimplemented in ClusterSpecCmdAttribute, ReadAttribute, WriteAttribute, ReadAttributeResponse, and ReportAttribute.