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

This Class allows to receive the response of a ZCL command. More...

#include <ResponseListener.h>

List of all members.

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.

Detailed Description

This Class allows to receive the response of a ZCL command.


Member Function Documentation

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.

Parameters:
nwkAddrthe network address of the node.
epNumberthe end point number.
clusterIdthe cluster identifier.
seqNumberthe transaction sequence number of the received or expected ZCL Frame.
framethe 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.

Parameters:
nwkAddrthe network address of the node.
epNumberthe end point number.
clusterIdthe cluster identifier.
seqNumberthe transaction sequence number of the received or expected ZCL Frame.
attributesthe response attributes.
sizethe 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.

Parameters:
nwkAddrthe network address of the node.
epNumberthe end point number.
clusterIdthe cluster identifier.
seqNumberthe transaction sequence number of the received or expected ZCL Frame.
attributesthe response attributes.
sizethe 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.

Parameters:
nwkAddrthe network address of the node.
epNumberthe end point number.
clusterIdthe cluster identifier.
seqNumberthe transaction sequence number of the received or expected ZCL Frame.
attributesthe response attributes.
sizethe 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.

Parameters:
nwkAddrthe network address of the node.
epNumberthe end point number.
clusterIdthe cluster identifier.
seqNumberthe transaction sequence number of the received or expected ZCL Frame.
attributesthe response attributes.
sizethe 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.

Parameters:
nwkAddrthe network address of the node.
epNumberthe end point number.
clusterIdthe cluster identifier.
seqNumberthe transaction sequence number of the received or expected ZCL Frame.
attributesthe response attributes.
sizethe 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.

Parameters:
nwkAddrthe network address of the node.
epNumberthe end point number.
clusterIdthe cluster identifier.
seqNumberthe transaction sequence number of the received or expected ZCL Frame.
commandthe command response.
attributesthe response attributes.
sizethe 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.

Parameters:
nwkAddrthe network address of the node.
cmdthe bind command.
statusthe status of the response.

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