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

GPDE-DATA.indication primitive. More...

#include <green_power.h>

Public Member Functions

 GpDataIndication ()
 Constructor.
 
 GpDataIndication (const GpDataIndication &other)
 Copy constructor.
 
GpDataIndicationoperator= (const GpDataIndication &other)
 Copy constructor.
 
 ~GpDataIndication ()
 Deconstructor.
 
bool readFromStream (QDataStream &stream)
 Stream starts at msdu payload after MAC header.
 
bool readFromStreamGpNotification (QDataStream &stream)
 Stream starts at msdu payload after MAC header.
 
quint32 gpdSrcId () const
 Returns the GPD SrcID.
 
quint8 gpdCommandId () const
 Returns the GPD CommandID.
 
quint32 frameCounter () const
 Returns the security frame counter.
 
const QByteArray & payload () const
 Returns the GPD payload.
 
quint16 gppShortAddress () const
 Proxy (GPP) short address.
 
quint8 gppGpdLink () const
 GPP-GPD link info as seen by the GPP.
 
qint8 gppRssi () const
 GPP-GPD RSSI value.
 
GppGpdLqi gppLqi () const
 GPP-GPD Link Quality Indicator (LQI).
 

Detailed Description

GPDE-DATA.indication primitive.

Member Function Documentation

◆ gppGpdLink()

quint8 deCONZ::GpDataIndication::gppGpdLink ( ) const

GPP-GPD link info as seen by the GPP.

Returns
The link info, or 0x00 if this isn't a proxy relayed command.
Since
v2.8.0

◆ gppLqi()

GppGpdLqi deCONZ::GpDataIndication::gppLqi ( ) const

GPP-GPD Link Quality Indicator (LQI).

Returns
The coarse LQI value 0-3.
Since
v2.8.0

◆ gppRssi()

qint8 deCONZ::GpDataIndication::gppRssi ( ) const

GPP-GPD RSSI value.

Returns
The capped RSSI value [+8, -109] dBM.
Since
v2.8.0

◆ gppShortAddress()

quint16 deCONZ::GpDataIndication::gppShortAddress ( ) const

Proxy (GPP) short address.

Returns
The GPP short address, or 0x0000 if this isn't a proxy relayed command.
Since
v2.8.0

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