
Network commissioning and diagnostics
Group Table API
XBee/XBee-PRO® S2C ZigBee® RF Module
116
Example of a End_Device_Bind_req
Bind_req
The Bind request (ZDO cluster 0x0021) is described in the ZigBee Specification. A binding may be
coded for either a unicast or a multicast/groupID message.
Unbind_req
The Unbind request (ZDO cluster 0x0022) is described in the ZigBee Specification.
Group Table API
Unlike the Binding Table that is managed with ZDO commands, a ZigBee Group Table is managed by
the ZigBee Cluster Library Groups Cluster (0x0006) with ZCL commands.
The Digi ZigBee XBee firmware is intended to work with an external processor where a Public
Application Profile with endpoints and clusters is implemented, including a Groups Cluster. Configure
the ZigBee XBee firmware to forward all ZCL commands addressed to this Group Cluster out the UART
(see ATAO3). The ZigBee XBee will not use remote Groups Cluster commands to manage its own
Group Table.
But to implement multicast (group) addressing within the XBee, the external processor must keep the
XBee's group table state in sync with its own. For this reason, a Group Table API has been defined
where the external processor can manage the state of the ZigBee XBee's group table.
The design of the Group Table API of the XBee firmware derives from the ZCL Group Cluster 0x0006.
Use the Explicit API frame 0x11 addressed to the Digi Device Object endpoint (0xE6) with the Digi XBee
ProfileID (0xC105) to send commands and requests to the local device.
The ZigBee Home Automation Public Application Profile says groups should only be used for sets of
more than five devices. This implies sets of five or fewer devices should be managed with multiple
binding table entries.
There are five commands implemented in the API:
n
n
n
n
n
There is a sixth command of the Group Cluster described in the ZCL: Add Group If Identifying. This
command is not supported in this API, because its implementation requires access to the Identify
Cluster, which is not maintained on the XBee. The external processor needs to implement that server
command while using the Group Table API to keep the XBee device's group table in sync using the five
command primitives.
Add Group command
The purpose of the Add Group command is to add a group table entry to associate an active endpoint
with a groupID and optionally a groupName. The groupID is a two byte value. The groupName consists
of zero to 16 ASCII characters.
The following example adds a group table entry which associates endpoint E7 with groupID 1234 and
groupName “ABCD”.
The example packet is given in three parts, the preamble, ZCL Header, and ZCL payload:
Содержание XBee
Страница 1: ...XBee XBee PRO S2C ZigBee RF Module User Guide ...
Страница 259: ...AT commands Execution commands XBee XBee PRO S2C ZigBee RF Module 259 Parameter range N A Default N A ...
Страница 289: ...Regulatory information ANATEL Brazil XBee XBee PRO S2C ZigBee RF Module 289 ...
Страница 290: ...Regulatory information ANATEL Brazil XBee XBee PRO S2C ZigBee RF Module 290 ...
Страница 303: ...Load ZigBee firmware on 802 15 4 devices Background 304 Load ZB firmware 305 XBee XBee PRO S2C ZigBee RF Module 303 ...