Create Other Switch Ports And Add Properties - Ebyte E180-Z5812 Series User Manual

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

Advertisement

Chengdu Ebyte Electronic Technology Co., Ltd.
55 04 00 42 [00] 42
The contents in "[ ]" are as follows
Saved successfully
After successfully saving a port and its attributes, you can continue to create a new port and add the same attributes. Since this
routine needs to simulate a 3-way switch, you need to add two more identical ports. In order to ensure the compatibility of the gateway,
It is recommended to use 0x02 and 0x03 as the next two ports.

6.1.2 Create other switch ports and add properties

Enter the "Create ZCL Port" command to create port 2:
55 15 00 40 [15] [02] [04 01] [00 01] [05] { [00 00] [03 00] [04 00] [05 00] [06 00] } [00] 52
The contents in "[ ]" are as follows
The switch has a total of 0x15=21 attributes
Create port number = 0x02
Contour ID = 0x0104
Device ID = 0x0100
Input number of clusters = 0x05
Input cluster {0x0000, 0x0003, 0x0004, 0x0005, 0x0006}
Number of output clusters = 0x00
Return command:
55 16 00 40 [00] [01] [02] [04 01] [00 01] [05] {[00 00] [03 00] [04 00] [05 00] [06 00]} [00] 44
The contents in "[ ]" are as follows
execution succeed
Module assigned port index = 1
Create port number = 0x02
Contour ID = 0x0104
Device ID = 0x0100
Input number of clusters = 0x05
Input cluster {0x0000, 0x0003, 0x0004, 0x0005, 0x0006}
Number of output clusters = 0x00
Then continue to add all the attributes in the table, and save the attributes after adding them. Then continue to add the port
number 0x03, add attributes for the port and save it.
After all attributes are added, use the reset command to reset the module, and the module will guide the newly created attributes
to start.
Send reset command:
55 07 00 04 00 FF FF 00
return:
55 07 00 04 00 FF FF 00 04
Receiving an asynchronous command indicates a successful reset:
55 0D 80 00 00 [10] [E5 C7 F9 3E 7D 38 C1 A4] 55
The contents in "[]" are as follows
Copyright © 2012–2024 , Chengdu Ebyte Electronic Technology Co., Ltd.
E180-Z5812 Series User Manual
28

Advertisement

Table of Contents
loading

Table of Contents