ZCL library
4.3
ZCL library to manage a Zigbee network
|
This Class allows to receive the response of a ZCL command. More...
#include <ResponseListener.h>
Public Types | |
enum | BindCmd { BIND_REQUEST, UNBIND_REQUEST, BINDINGS_LIST } |
Enumeration constants to specify the Bind commmand. | |
Public Member Functions | |
virtual void | responseReceived (dbyte nwkAddr, byte epNumber, dbyte clusterId, byte seqNumber, const ZCLFrame *frame)=0 |
Invoked when a ZCL frame response is received. | |
virtual void | responseReceived (dbyte nwkAddr, byte epNumber, dbyte clusterId, byte seqNumber, const ReadAttributeResponse attributes[], int size)=0 |
Invoked when a Read Attributes response is received. | |
virtual void | responseReceived (dbyte nwkAddr, byte epNumber, dbyte clusterId, byte seqNumber, const WriteAttributeResponse attributes[], int size)=0 |
Invoked when a Write Attributes response is received. | |
virtual void | responseReceived (dbyte nwkAddr, byte epNumber, dbyte clusterId, byte seqNumber, const DiscoveredAttribute attributes[], int size)=0 |
Invoked when a Discover Attributes response is received. | |
virtual void | responseReceived (dbyte nwkAddr, byte epNumber, dbyte clusterId, byte seqNumber, const ReadReportingConfigAttributeResponse attributes[], int size)=0 |
Invoked when a Read Reporting Configuration Attributes response is received. | |
virtual void | responseReceived (dbyte nwkAddr, byte epNumber, dbyte clusterId, byte seqNumber, const ReportingConfigurationAttributeResponse attributes[], int size)=0 |
Invoked when a Reporting Configuration Attributes response is received. | |
virtual void | responseReceived (dbyte nwkAddr, byte epNumber, dbyte clusterId, byte seqNumber, byte command, const ClusterSpecCmdAttribute attributes[], int size)=0 |
Invoked when a Specific Configuration Attributes response is received. | |
virtual void | responseReceived (dbyte nwkAddr, ResponseListener::BindCmd cmd, Status::Value status)=0 |
Invoked when a Bind/Unbind response is received. |
This Class allows to receive the response of a ZCL command.
virtual void ResponseListener::responseReceived | ( | dbyte | nwkAddr, |
byte | epNumber, | ||
dbyte | clusterId, | ||
byte | seqNumber, | ||
const ZCLFrame * | frame | ||
) | [pure virtual] |
Invoked when a ZCL frame response is received.
nwkAddr | the network address of the node. |
epNumber | the end point number. |
clusterId | the cluster identifier. |
seqNumber | the transaction sequence number of the received or expected ZCL Frame. |
frame | the response frame. |
virtual void ResponseListener::responseReceived | ( | dbyte | nwkAddr, |
byte | epNumber, | ||
dbyte | clusterId, | ||
byte | seqNumber, | ||
const ReadAttributeResponse | attributes[], | ||
int | size | ||
) | [pure virtual] |
Invoked when a Read Attributes response is received.
nwkAddr | the network address of the node. |
epNumber | the end point number. |
clusterId | the cluster identifier. |
seqNumber | the transaction sequence number of the received or expected ZCL Frame. |
attributes | the response attributes. |
size | the attributes array size. |
virtual void ResponseListener::responseReceived | ( | dbyte | nwkAddr, |
byte | epNumber, | ||
dbyte | clusterId, | ||
byte | seqNumber, | ||
const WriteAttributeResponse | attributes[], | ||
int | size | ||
) | [pure virtual] |
Invoked when a Write Attributes response is received.
nwkAddr | the network address of the node. |
epNumber | the end point number. |
clusterId | the cluster identifier. |
seqNumber | the transaction sequence number of the received or expected ZCL Frame. |
attributes | the response attributes. |
size | the attributes array size. |
virtual void ResponseListener::responseReceived | ( | dbyte | nwkAddr, |
byte | epNumber, | ||
dbyte | clusterId, | ||
byte | seqNumber, | ||
const DiscoveredAttribute | attributes[], | ||
int | size | ||
) | [pure virtual] |
Invoked when a Discover Attributes response is received.
nwkAddr | the network address of the node. |
epNumber | the end point number. |
clusterId | the cluster identifier. |
seqNumber | the transaction sequence number of the received or expected ZCL Frame. |
attributes | the response attributes. |
size | the attributes array size. |
virtual void ResponseListener::responseReceived | ( | dbyte | nwkAddr, |
byte | epNumber, | ||
dbyte | clusterId, | ||
byte | seqNumber, | ||
const ReadReportingConfigAttributeResponse | attributes[], | ||
int | size | ||
) | [pure virtual] |
Invoked when a Read Reporting Configuration Attributes response is received.
nwkAddr | the network address of the node. |
epNumber | the end point number. |
clusterId | the cluster identifier. |
seqNumber | the transaction sequence number of the received or expected ZCL Frame. |
attributes | the response attributes. |
size | the attributes array size. |
virtual void ResponseListener::responseReceived | ( | dbyte | nwkAddr, |
byte | epNumber, | ||
dbyte | clusterId, | ||
byte | seqNumber, | ||
const ReportingConfigurationAttributeResponse | attributes[], | ||
int | size | ||
) | [pure virtual] |
Invoked when a Reporting Configuration Attributes response is received.
nwkAddr | the network address of the node. |
epNumber | the end point number. |
clusterId | the cluster identifier. |
seqNumber | the transaction sequence number of the received or expected ZCL Frame. |
attributes | the response attributes. |
size | the attributes array size. |
virtual void ResponseListener::responseReceived | ( | dbyte | nwkAddr, |
byte | epNumber, | ||
dbyte | clusterId, | ||
byte | seqNumber, | ||
byte | command, | ||
const ClusterSpecCmdAttribute | attributes[], | ||
int | size | ||
) | [pure virtual] |
Invoked when a Specific Configuration Attributes response is received.
nwkAddr | the network address of the node. |
epNumber | the end point number. |
clusterId | the cluster identifier. |
seqNumber | the transaction sequence number of the received or expected ZCL Frame. |
command | the command response. |
attributes | the response attributes. |
size | the attributes array size. |
virtual void ResponseListener::responseReceived | ( | dbyte | nwkAddr, |
ResponseListener::BindCmd | cmd, | ||
Status::Value | status | ||
) | [pure virtual] |
Invoked when a Bind/Unbind response is received.
nwkAddr | the network address of the node. |
cmd | the bind command. |
status | the status of the response. |