deCONZ C++ API v2.6.1
|
Represents a ZigBee node descriptor. More...
#include <zdp_descriptors.h>
Public Member Functions | |
NodeDescriptor () | |
Constructor. | |
NodeDescriptor (const NodeDescriptor &other) | |
Copy constructor. | |
NodeDescriptor & | operator= (const NodeDescriptor &other) |
Copy assignment constructor. | |
~NodeDescriptor () | |
Deconstructor. | |
void | readFromStream (QDataStream &stream) |
Reads a ZigBee standard conform node descriptor from stream. | |
deCONZ::DeviceType | deviceType () const |
Returns the device type. | |
void | setDeviceType (deCONZ::DeviceType deviceType) |
Sets the device type. | |
uint16_t | manufacturerCode () const |
Returns the manufacturer code. | |
ManufacturerCode_t | manufacturerCode_t () const |
Returns strong typed manufacturer code. | |
void | setManufacturerCode (quint16 code) |
Sets the manufacturer code. | |
void | setManufacturerCode (ManufacturerCode_t code) |
Sets the strong typed manufacturer code. | |
MacCapabilities | macCapabilities () const |
Returns the mac capabilities bitmap. | |
void | setMacCapabilities (MacCapabilities cap) |
Sets the mac capabilities bitmap. | |
bool | hasComplexDescriptor () const |
Returns true if the node provides a complex descriptor. | |
void | setHasComplexDescriptor (bool hasComplex) |
Sets the has complex descriptor flag. | |
bool | hasUserDescriptor () const |
Returns true if the node provides a user descriptor. | |
void | setHasUserDescriptor (bool hasUser) |
Sets the has user descriptor flag. | |
deCONZ::FrequencyBand | frequencyBand () const |
Returns the nodes operating frequency band. | |
void | setFrequenzyBand (deCONZ::FrequencyBand freq) |
Sets the nodes operating frequency band. | |
const char * | frequencyBandString () const |
Returns the nodes operating frequency band as string. | |
bool | isAlternatePanCoordinator () const |
Returns true if the node is a alternate pan coordinator. | |
void | setIsAlternatePanCoordinator (bool isAlt) |
Sets the node is a alternate pan coordinator flag. | |
bool | isFullFunctionDevice () const |
Returns true if the node is a full function device. | |
void | setIsFFD (bool isFFD) |
Sets the node is a full function device flag. | |
bool | isMainsPowered () const |
Returns true if the node is mains powered. | |
void | setIsMainsPowered (bool isMains) |
Sets the node is mains powered flag. | |
bool | receiverOnWhenIdle () const |
Returns true if the node has its tranceiver on when idle. | |
void | setRxOnWhenIdle (bool on) |
Sets the node has its tranceiver on when idle flag. | |
bool | securitySupport () const |
Returns true if the node supports (high) security. | |
void | setSecuritySupport (bool supported) |
Sets the node supports (high) security flag. | |
bool | allocateAddress () const |
Returns true if the node allocates addresses. | |
bool | hasEndpointList () const |
Returns true if the node has a extended endpoint list. | |
bool | hasSimpleDescriptorList () const |
Returns true if the node has a extended simple descriptor list. | |
const zme::NodeServerFlags | serverMask () const |
Returns the nodes server mask. | |
uint8_t | maxBufferSize () const |
Returns the max buffer size. | |
uint16_t | maxIncomingTransferSize () const |
Returns the max incoming transfer size. | |
uint16_t | maxOutgoingTransferSize () const |
Returns the max outgoing transfer size. | |
bool | isNull () const |
Returns true if valid data is set. | |
void | setIsNull (bool isNull) |
Sets the valid data flag. | |
QByteArray | toByteArray () const |
Returns a array with the ZigBee standard conform node descriptor. | |
unsigned | stackRevision () const |
Returns server mask stack compliance revision (bits: 9-15). | |
Represents a ZigBee node descriptor.
ManufacturerCode_t deCONZ::NodeDescriptor::manufacturerCode_t | ( | ) | const |
Returns strong typed manufacturer code.
void deCONZ::NodeDescriptor::setManufacturerCode | ( | ManufacturerCode_t | code | ) |
Sets the strong typed manufacturer code.