![CityGrow CG102RS232 User Manual Download Page 19](http://html1.mh-extra.com/html/citygrow/cg102rs232/cg102rs232_user-manual_2611503019.webp)
17
6.3
Device Status Request
The general PDU format of the status response is shown in Figure 4-19.
Device
Status
1 byte
Cmd
DeviceID
1 byte
3 bytes
0x04
Result
1 byte
No Of
Device
1 byte
Device
Status
1 byte
DeviceID
3 bytes
……
Status Info of device 1
Status Info of device 2
Figure 6-22 General PDU format of status response
The PDU of the status response comprises of different fields, which are summarized in the
following table (Table 4-6):
Table 6-6 Summary of fields in the PDU of status response
Field
Description
Size
Cmd
Status Response Command
1 byte
Result
SUCCESS/FAILURE
1 byte
No of Device
Indicate number of device status
1 byte
DeviceID
The device ID of response device
3 byte
Device Status
The status of response device
1 byte
In the device status response PDU, multiple sets of device status information
(DDeviceStatus) may present in one PDU when the responding device has more
than one control end-point (e.g. the two-gang switch). The number of set of device status
information is indicated by the field “No Of Device”. Within a set of device status information,
1 byte of Device Status (DeviceStatus) is expected follow the DeviceID to indicate status of
the target device. The status of device are shown in Table 4-7
Table 6-7 Device status
DeviceStatus
Description
Name
Code
STATUS_OFF
0x00
Device status is OFF
STATUS_ON
0xFF
Device status is ON
STATUS_DIMMING_LEVEL
0x00 –
0x64
Indicate the dimming level from 0% to
100% (Dimmer only)
Summary of Contents for CG102RS232
Page 5: ...3 2 Understanding of the product...
Page 6: ...4 3 Dimension...