ZCL library
4.3
ZCL library to manage a Zigbee network
|
This class defines a binding between two Zigbee nodes or between an Zigbee node and a group of Zigbee nodes. More...
#include <ZBinding.h>
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 ZIEEEAddress & | getSrcIEEEAddress () 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 ZIEEEAddress & | getDstIEEEAddress () 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. |
This class defines a binding between two Zigbee nodes or between an Zigbee node and a group of Zigbee nodes.
dbyte ZBinding::getClusterId | ( | ) | const |
Get the Cluster identifier of this binding.
byte ZBinding::getDstEpNumber | ( | ) | const |
Get the destination EndPoint number of this binding.
dbyte ZBinding::getDstGroupAddr | ( | ) | const |
Get the destination group address of this binding.
const byte* ZBinding::getDstIeeeAddr | ( | ) | const |
Get the destination IEEE address of this binding.
const ZIEEEAddress& ZBinding::getDstIEEEAddress | ( | ) | const |
Get the destination IEEE address of this binding.
byte ZBinding::getSrcEpNumber | ( | ) | const |
Get the source EndPoint number of this binding.
const byte* ZBinding::getSrcIeeeAddr | ( | ) | const |
Get the source IEEE address of this binding.
const ZIEEEAddress& ZBinding::getSrcIEEEAddress | ( | ) | const |
Get the source IEEE address of this binding.
bool ZBinding::isDstGroupAddr | ( | ) | const |
Return true if the destination address is a group address.
void ZBinding::setClusterId | ( | dbyte | clusterId | ) |
Set the Cluster identifier of this binding.
clusterId | the cluster identifier. |
void ZBinding::setDstEpNumber | ( | byte | dstEpNumber | ) |
Set the destination EndPoint number of this binding.
dstEpNumber | the destination EndPoint number. |
void ZBinding::setDstGroupAddr | ( | dbyte | dstGroupAddr | ) |
Set the destination network address of this binding.
dstGroupAddr | the source network address. |
void ZBinding::setDstIeeeAddr | ( | byte | dstIeeeAddr[8] | ) |
Set the destination IEEE address of this binding.
dstIeeeAddr | the destination IEEE address. |
void ZBinding::setDstIEEEAddress | ( | const ZIEEEAddress & | dstIeeeAddr | ) |
Set the destination IEEE address of this binding.
dstIeeeAddr | the destination IEEE address. |
void ZBinding::setSrcEpNumber | ( | byte | srcEpNumber | ) |
Set the source EndPoint number of this binding.
srcEpNumber | the source EndPoint number. |
void ZBinding::setSrcIeeeAddr | ( | byte | srcIeeeAddr[8] | ) |
Set the source IEEE address of this binding.
srcIeeeAddr | : the source IEEE address. |
void ZBinding::setSrcIEEEAddress | ( | const ZIEEEAddress & | srcIeeeAddr | ) |
Set the source IEEE address of this binding.
srcIeeeAddr | : the source IEEE address. |