Ebyte E180-Z5812 Series User Manual page 35

Tlsr8258 2.4ghz zigbee3.0 multi-function soc wireless module
Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co., Ltd.
The module receives the ZCL control command:
55 0F 82 0F [A1] [00 00] [01] [66] [00] [06 00] [00 00] [DE] [01] 92
The contents in "[ ]" are as follows
Receive mode = 0xA1, the received signal strength is valid, and there is no need to reply to the control command of the
default return command. The local port index 1 receives the command. According to the record when the port was created,
port index 1 corresponds to port 0x02.
Source short address = 0x0000, this control command is sent by the coordinator.
Source port = 0x01, this command is sent by the coordinator using port 0x01.
Frame number=0x66
Command direction = 0x00, which is a Client->Sever command, that is, the command sent by the control end to the
controlled end.
Cluster ID=0x0006, which is a switch control command.
Manufacturer code=0x0000
Signal strength RSSI=0xDE, converted to -33dbm
Command ID=0x01, the command ID=0x01 located under cluster ID=0x0006, the corresponding command is "turn on the
switch", this command has no command parameters.
After receiving this command, change the attribute "switch status" under port index 1 to "1". This attribute is located at attribute
ID=0x0000 of cluster ID=0x0006, so use the command "read-write attribute" to modify the value of this attribute. Note that the switch
status must not be saved to FLASH as the default value.
Send read and write attribute commands:
55 0D 00 43 [01] [01] [00] [06 00] [00 00] [00 00] [01] 44
Operation mode = 0x01, write attribute operation does not save FLASH
Port index = 0x01, the property being written is on the second port created (index 1)
Attribute direction = 0x00, the attribute being written is the server side
Copyright © 2012–2024 , Chengdu Ebyte Electronic Technology Co., Ltd.
E180-Z5812 Series User Manual
31

Advertisement

Table of Contents
loading

Table of Contents