deCONZ C++ API v2.6.1
|
Represents a ZigBee power descriptor. More...
#include <zdp_descriptors.h>
Public Member Functions | |
PowerDescriptor () | |
Constructor. | |
PowerDescriptor (const PowerDescriptor &other) | |
Copy constructor. | |
PowerDescriptor & | operator= (const PowerDescriptor &other) |
Copy assignment constructor. | |
PowerDescriptor (const QByteArray &data) | |
Constructor from raw power descriptor in ZigBee standard conform format (2 bytes). | |
~PowerDescriptor () | |
Deconstructor. | |
PowerMode | currentPowerMode () const |
Returns the current power mode. | |
PowerSources | availablePowerSources () const |
Returns the available power sources. | |
PowerSource | currentPowerSource () const |
Returns the current power source. | |
PowerSourceLevel | currentPowerLevel () const |
Returns the current power level. | |
bool | isValid () const |
Returns true if this power descriptor has valid data. | |
QByteArray | toByteArray () const |
Returns the raw power descriptor in ZigBee standard conform format. | |
Represents a ZigBee power descriptor.