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

APSDE-DATA.confirm primitive. More...

#include <aps.h>

Public Member Functions

 ApsDataConfirm ()=default
 Constructor.
 
 ApsDataConfirm (uint8_t reqId, uint8_t status)
 Constructor for error reporting.
 
 ApsDataConfirm (const ApsDataRequest &req, uint8_t status)
 Constructor for error reporting.
 
 ApsDataConfirm (const ApsDataConfirm &other)=default
 Copy constructor.
 
ApsDataConfirmoperator= (const ApsDataConfirm &other)=default
 Copy assignment constructor.
 
 ~ApsDataConfirm ()=default
 Deconstructor.
 
uint8_t id () const
 Returns a id to match this confirm to the related ApsDataRequest.
 
void setId (uint8_t id)
 Sets a id to match this confirm to the related ApsDataRequest.
 
AddressdstAddress ()
 Returns the modifiable destination address.
 
const AddressdstAddress () const
 Returns the const destination address.
 
ApsAddressMode dstAddressMode () const
 Returns the destination address mode.
 
void setDstAddressMode (ApsAddressMode mode)
 Sets the destination address mode.
 
uint8_t dstEndpoint () const
 Returns the destination endpoint.
 
uint8_t srcEndpoint () const
 Returns the source endpoint.
 
uint8_t status () const
 Returns the sending status.
 
uint32_t txTime () const
 Returns the transmission time.
 
void readFromStream (QDataStream &stream)
 Reads a confirm from the stream which must be in a ZigBee standard conform format.
 

Detailed Description

APSDE-DATA.confirm primitive.

Member Function Documentation

◆ status()

uint8_t deCONZ::ApsDataConfirm::status ( ) const

Returns the sending status.

See also
deCONZ::ApsStatus, deCONZ::NwkStatus, deCONZ::MacStatus

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