|
deCONZ C++ API v2.6.1
|
Represents a ZigBee simple descriptor. More...
#include <zdp_descriptors.h>
Public Member Functions | |
| SimpleDescriptor () | |
| Constructor. | |
| SimpleDescriptor (const SimpleDescriptor &other) | |
| Copy constructor. | |
| SimpleDescriptor & | operator= (const SimpleDescriptor &other) |
| Copy assignment constructor. | |
| ~SimpleDescriptor () | |
| Deconstructor. | |
| void | readFromStream (QDataStream &stream, quint16 mfcode) |
| Reads a ZigBee standard conform simple descriptor from stream. | |
| void | writeToStream (QDataStream &stream) const |
| Writes a ZigBee standard conform simple descriptor from stream. | |
| uint8_t | endpoint () const |
| Returns the endpoint number. | |
| void | setEndpoint (uint8_t endpoint) |
| Sets the endpoint number. | |
| uint16_t | profileId () const |
| Returns the profile identifier. | |
| void | setProfileId (uint16_t profileId) |
| Sets the profile identifier. | |
| uint16_t | deviceId () const |
| Returns the device identifier. | |
| void | setDeviceId (uint16_t deviceId) |
| Sets the device identifier. | |
| uint8_t | deviceVersion () const |
| Returns the device version. | |
| void | setDeviceVersion (uint8_t version) |
| Sets the device version. | |
| bool | isValid () const |
| Returns true if this simple descriptor contains valid data. | |
| std::vector< ZclCluster > & | inClusters () |
| Returns the modifiable list of in (server) clusters. | |
| const std::vector< ZclCluster > & | inClusters () const |
| Returns the const list of in (server) clusters. | |
| std::vector< ZclCluster > & | outClusters () |
| Returns the modifiable list of out (client) clusters. | |
| const std::vector< ZclCluster > & | outClusters () const |
| Returns the const list of out (client) clusters. | |
Represents a ZigBee simple descriptor.
Each active application endpoint on a node has its own simple descriptor which provides all informations about the endpoints profile and clusters.