deCONZ C++ API v2.6.1
Loading...
Searching...
No Matches
deCONZ::PowerDescriptor Class Reference

Represents a ZigBee power descriptor. More...

#include <zdp_descriptors.h>

Public Member Functions

 PowerDescriptor ()
 Constructor.
 
 PowerDescriptor (const PowerDescriptor &other)
 Copy constructor.
 
PowerDescriptoroperator= (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.
 

Detailed Description

Represents a ZigBee power descriptor.

See also
Node::powerDescriptor()

The documentation for this class was generated from the following files: