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

This Class defines the EndPoint of a Zigbee node. More...

#include <ZEndPoint.h>

List of all members.

Public Member Functions

 ZEndPoint (byte number=0)
 Constructor.
 ZEndPoint (const ZEndPoint &rhs)
 Redefinition of the copy-Constructor.
virtual ~ZEndPoint ()
 Destructor.
ZEndPointoperator= (const ZEndPoint &rhs)
 Redefinition of the affectation Operator.
byte getNumber () const
 Get the number of this End Point.
dbyte getAppProfile () const
 Get the Application Profile identifier of this End Point.
void setAppProfile (dbyte profileId)
 Set the Application Profile identifier of this End Point.
dbyte getAppDevice () const
 Get the Application Device identifier of this End Point.
void setAppDevice (dbyte deviceId)
 Set the Application Device identifier of this End Point.
void addInCluster (dbyte inCluster)
 Add a In cluster (Server cluster) in this node.
void addInClusters (dbyte inClusters[], int size)
 Add an array of In clusters (Server clusters) in this node.
void addOutCluster (dbyte outCluster)
 Add an Out cluster (Client cluster) in this node.
void addOutClusters (dbyte outClusters[], int size)
 Add an array of Out clusters (Client clusters) in this node.
bool containsInClusters (dbyte clusterId) const
 Return true if the specified In cluster identifier (Server cluster) is contained in this node.
bool containsOutClusters (dbyte clusterId) const
 Return true if the specified Out cluster identifier (Client cluster) is contained in this node.
const dbyte * getInClusters (int &size) const
 Get the In cluster identifiers (Server clusters) of this node, or NULL if none.
const dbyte * getOutClusters (int &size) const
 Get the Out clusters identifiers (Client clusters) of this node, or NULL if none.

Detailed Description

This Class defines the EndPoint of a Zigbee node.


Member Function Documentation

void ZEndPoint::addInCluster ( dbyte  inCluster)

Add a In cluster (Server cluster) in this node.

Parameters:
inClusterthe In cluster to be added.
void ZEndPoint::addInClusters ( dbyte  inClusters[],
int  size 
)

Add an array of In clusters (Server clusters) in this node.

Parameters:
inClustersthe In clusters to be added.
sizethe clusters array size.
void ZEndPoint::addOutCluster ( dbyte  outCluster)

Add an Out cluster (Client cluster) in this node.

Parameters:
outClusterthe Out cluster to be added.
void ZEndPoint::addOutClusters ( dbyte  outClusters[],
int  size 
)

Add an array of Out clusters (Client clusters) in this node.

Parameters:
outClustersthe Out clusters to be added.
sizethe clusters array size.
bool ZEndPoint::containsInClusters ( dbyte  clusterId) const

Return true if the specified In cluster identifier (Server cluster) is contained in this node.

Parameters:
clusterIdthe In clusters identifier.
Returns:
true if cluster is contained , otherwise false.
bool ZEndPoint::containsOutClusters ( dbyte  clusterId) const

Return true if the specified Out cluster identifier (Client cluster) is contained in this node.

Parameters:
clusterIdthe Out clusters identifier.
Returns:
true if cluster is contained , otherwise false.
dbyte ZEndPoint::getAppDevice ( ) const

Get the Application Device identifier of this End Point.

Returns:
the Application Device identifier.
dbyte ZEndPoint::getAppProfile ( ) const

Get the Application Profile identifier of this End Point.

Returns:
the Application Profile identifier.
const dbyte* ZEndPoint::getInClusters ( int &  size) const

Get the In cluster identifiers (Server clusters) of this node, or NULL if none.

Parameters:
[out]sizethe returned array size.
Returns:
the In clusters identifiers as an array of dbytes, or NULL if none.
byte ZEndPoint::getNumber ( ) const

Get the number of this End Point.

Returns:
the End Point number.
const dbyte* ZEndPoint::getOutClusters ( int &  size) const

Get the Out clusters identifiers (Client clusters) of this node, or NULL if none.

Parameters:
[out]sizethe returned array size.
Returns:
the Out clusters identifiers as an array of dbytes, or NULL if none.
void ZEndPoint::setAppDevice ( dbyte  deviceId)

Set the Application Device identifier of this End Point.

Parameters:
deviceIdthe Application Device identifier.
void ZEndPoint::setAppProfile ( dbyte  profileId)

Set the Application Profile identifier of this End Point.

Parameters:
profileIdthe Application Profile identifier.

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