![CityGrow CG102RS232 Скачать руководство пользователя страница 11](http://html1.mh-extra.com/html/citygrow/cg102rs232/cg102rs232_user-manual_2611503011.webp)
9
6.
ZigBee Device Control Protocol (ZDCP)
Current section provides details description on the communication protocol for external
system to send and receive control and status from the CG ZigBee devices.
The CG102RS232 provide request-response communication approach for external system
to control the CG ZigBee devices directly. The general concept is shown in Figure 4-1.
External
System
ZigBee
Control
Adaptor
(ZBCA)
RS232
ZigBee Light
Switch
ZigBee
Dimmer
ZigBee
Socket
ZigBee Network
Figure 6-1 Request-response communication approach for ZigBee device control
According to Figure 4-1, when external system is desired to control a device within the
ZigBee network, the external system may send a request command to the CG102RS232
with specified device ID, control command and control status through the RS232 interface.
The CG102RS232 will send the control command to the target ZigBee device through the
ZigBee network. If the control is accomplished, the target ZigBee device will send back a
response to the CG102RS232. After the CG102RS232 received the response from ZigBee
device, the CG102RS232 will send the response to the external system to inform the request
is accomplished. If the target device is unreachable in the ZigBee network, the CG102RS232
will also send the response to the external system to inform the request is fail to accomplish.
Details of the format of request-response commands and operation policy are described in
current section.
6.1.
Format of Protocol Data Unit (PDU)
The general protocol data unit (PDU) format of ZDCPl is shown in Figure 3-1.
Cmd
DeviceID
1 byte
3 bytes
Device
Type
1 byte
Parameter(s)
Variable Length
Figure 6-2 General PDU format of ZDCP
Содержание CG102RS232
Страница 5: ...3 2 Understanding of the product...
Страница 6: ...4 3 Dimension...