Network commissioning and diagnostics
Preamble = "11 01 "+LocalDevice64Addr+"FFFE E6 E7 0006 C105 00 00"
The packet is addressed to the local node, using a source endpoint of 0xE6, clusterID of 0x0006, and
profileID of 0xC105. The destination endpoint E7 holds the endpoint parameter for the "Get Group
Membership" command.
ZCL_header = "01 ee 02"
The first field (byte) is a frame control field which specifies a Cluster Specific command (0x02) using a
Client->Server direction(0x00). The second field is a transaction sequence number which is used to
associate the response with the command request. The third field is the command identifier for "Get
Group Membership" (0x02) .
ZCL_payload = "00"
The first byte is the group count. If it is zero, then all groupIDs with an endpoint value which matches
the given endpoint parameter will be returned in the response.
The example packet in raw hex byte form:
7e001811010013a2004047b55cfffee6e70006c105000001ee020019
The response in raw hex byte form, consisting of two packets:
7e0019910013a2004047b55cfffee7e68006c1050009ee02ff01341235
7e00078b01fffe00000076
The response in decoded form:
Zigbee Explicit Rx Indicator
API 0x91 64DestAddr 0x0013A2004047B55C 16DestAddr 0xFFFE SrcEP 0xE7 DestEP 0xE6
ClusterID 0x8006 ProfileID 0xC105 Options 0x00
RF_Data 0x09EE02FF013412
The response in terms of Preamble, ZCL Header, and ZCL Payload:
Preamble = "910013a2004047b55cfffee7e68006c10500"
The packet has the endpoints reversed from the request, and the clusterID is 0x8006 indicating a
Group cluster response.
ZCL_header = "09 ee 02"
The first field is a frame control field which specifies a Cluster Specific command (0x01) using a Server-
>Client direction (0x08). The second field is a transaction sequence number which is used to associate
the response with the command request. The third field is the command identifier "Get Group
Membership" (0x02) .
ZCL_payload = "FF 01 3412"
The first byte is the remaining capacity of the group table. 0xFF means unknown. The XBee returns
this value because the capacity of the group table is dependent on the remaining capacity of the
binding table, thus the capacity of the group table is unknown. The second byte is the group count
(0x01). The remaining bytes are the groupIDs in little-endian representation.
The following is the decoded second message, which is a Tx Status for the original command request.
If the FrameId value in the original command request had been zero, or if no space was available in
the transmit UART buffer, then no Tx Status message would occur.
Digi XBee® 3 Zigbee® RF Module
Group Table API
143
Need help?
Do you have a question about the XBee 3 ZigBee and is the answer not in the manual?
Questions and answers