ZCL library  4.3
ZCL library to manage a Zigbee network
ZBinding Class Reference

This class defines a binding between two Zigbee nodes or between an Zigbee node and a group of Zigbee nodes. More...

#include <ZBinding.h>

List of all members.

Public Member Functions

 ZBinding ()
 Constructor.
virtual ~ZBinding ()
 Destructor.
bool operator== (const ZBinding &other) const
 Redefintion of the operator ==.
bool operator!= (const ZBinding &other) const
 Redefintion of the operator !=.
const ZIEEEAddressgetSrcIEEEAddress () const
 Get the source IEEE address of this binding.
void setSrcIEEEAddress (const ZIEEEAddress &srcIeeeAddr)
 Set the source IEEE address of this binding.
const byte * getSrcIeeeAddr () const
 Get the source IEEE address of this binding.
void setSrcIeeeAddr (byte srcIeeeAddr[8])
 Set the source IEEE address of this binding.
const ZIEEEAddressgetDstIEEEAddress () const
 Get the destination IEEE address of this binding.
void setDstIEEEAddress (const ZIEEEAddress &dstIeeeAddr)
 Set the destination IEEE address of this binding.
const byte * getDstIeeeAddr () const
 Get the destination IEEE address of this binding.
void setDstIeeeAddr (byte dstIeeeAddr[8])
 Set the destination IEEE address of this binding.
bool isDstGroupAddr () const
 Return true if the destination address is a group address.
dbyte getDstGroupAddr () const
 Get the destination group address of this binding.
void setDstGroupAddr (dbyte dstGroupAddr)
 Set the destination network address of this binding.
dbyte getClusterId () const
 Get the Cluster identifier of this binding.
void setClusterId (dbyte clusterId)
 Set the Cluster identifier of this binding.
byte getSrcEpNumber () const
 Get the source EndPoint number of this binding.
void setSrcEpNumber (byte srcEpNumber)
 Set the source EndPoint number of this binding.
byte getDstEpNumber () const
 Get the destination EndPoint number of this binding.
void setDstEpNumber (byte dstEpNumber)
 Set the destination EndPoint number of this binding.

Detailed Description

This class defines a binding between two Zigbee nodes or between an Zigbee node and a group of Zigbee nodes.


Member Function Documentation

dbyte ZBinding::getClusterId ( ) const

Get the Cluster identifier of this binding.

Returns:
the network address.
byte ZBinding::getDstEpNumber ( ) const

Get the destination EndPoint number of this binding.

Returns:
the destination EndPoint number.
dbyte ZBinding::getDstGroupAddr ( ) const

Get the destination group address of this binding.

Returns:
the destination group address.
const byte* ZBinding::getDstIeeeAddr ( ) const

Get the destination IEEE address of this binding.

Deprecated:
use getDstIEEEAddress().toBytes()
Returns:
the destination IEEE address.
const ZIEEEAddress& ZBinding::getDstIEEEAddress ( ) const

Get the destination IEEE address of this binding.

Returns:
the destination IEEE address.
byte ZBinding::getSrcEpNumber ( ) const

Get the source EndPoint number of this binding.

Returns:
the source EndPoint number.
const byte* ZBinding::getSrcIeeeAddr ( ) const

Get the source IEEE address of this binding.

Deprecated:
use getSrcIEEEAddress().toBytes()
Returns:
the source IEEE address.
const ZIEEEAddress& ZBinding::getSrcIEEEAddress ( ) const

Get the source IEEE address of this binding.

Returns:
the source IEEE address.
bool ZBinding::isDstGroupAddr ( ) const

Return true if the destination address is a group address.

Returns:
true if the destination address is a group address.
void ZBinding::setClusterId ( dbyte  clusterId)

Set the Cluster identifier of this binding.

Parameters:
clusterIdthe cluster identifier.
void ZBinding::setDstEpNumber ( byte  dstEpNumber)

Set the destination EndPoint number of this binding.

Parameters:
dstEpNumberthe destination EndPoint number.
void ZBinding::setDstGroupAddr ( dbyte  dstGroupAddr)

Set the destination network address of this binding.

Parameters:
dstGroupAddrthe source network address.
void ZBinding::setDstIeeeAddr ( byte  dstIeeeAddr[8])

Set the destination IEEE address of this binding.

Deprecated:
use setDstIEEEAddress()
Parameters:
dstIeeeAddrthe destination IEEE address.
void ZBinding::setDstIEEEAddress ( const ZIEEEAddress dstIeeeAddr)

Set the destination IEEE address of this binding.

Parameters:
dstIeeeAddrthe destination IEEE address.
void ZBinding::setSrcEpNumber ( byte  srcEpNumber)

Set the source EndPoint number of this binding.

Parameters:
srcEpNumberthe source EndPoint number.
void ZBinding::setSrcIeeeAddr ( byte  srcIeeeAddr[8])

Set the source IEEE address of this binding.

Deprecated:
use setSrcIEEEAddress()
Parameters:
srcIeeeAddr: the source IEEE address.
void ZBinding::setSrcIEEEAddress ( const ZIEEEAddress srcIeeeAddr)

Set the source IEEE address of this binding.

Parameters:
srcIeeeAddr: the source IEEE address.

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