Initialize Attribute Values; Access Gateway - 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.
Module software version=0x10
Module MAC address = E5 C7 F9 3E 7D 38 C1 A4

6.1.3 Initialize attribute values

Initializing attribute values allows the module to be correctly identified after accessing the gateway. Each attribute created in the
E180-Z5812 module can support reading and writing. Among them, E180-Z5812 sets a power-off saving value for the 8 basic
attributes under cluster ID = 0x0000, and any attribute under the remaining 8 arbitrary clusters. Note that if you set the attribute value
to be saved after power-off, if multiple ports support this attribute, then these attributes under all ports will become the value to be
saved after power-off, which is the default value of this attribute.
Set the default value of the attribute "Vendor Name":
55 1C 00 43 [02] [00] [00] [00 00] [00 00] [04 00] [45 42 59 54 45 20 5A 69 67 42 65 65 20 33 2E 30] 31
The contents in "[ ]" are as follows
Operation mode = 0x02, write attributes and save FLASH
Port index = 0x00, the property being written is located on the first port created
Attribute direction = 0x00, the attribute being written is the server side
Cluster ID=0x0000, the attribute being written is located in cluster 0x0000
Manufacturer code = 0x0000, the attribute manufacturer code being written is 0x0000
Attribute ID=0x0004, the ID of the attribute being written is 0x0004
The written attribute data is 16 bytes, which is the hexadecimal format of the string "EBYTE ZigBee 3.0"
Return command:
55 04 00 43 00 43
Write successfully
Continue to set the attributes "Product Model" and "Production Date". Most gateways will verify whether the access device has this
field. You can usually enter any string.
Set the attribute "Product Model", the product model is "EBYTEOnOffSwitch"
55 1C 00 43 02 00 00 00 00 00 00 05 00 45 42 59 54 45 4F 6E 4F 66 66 53 77 69 74 63 68 57
Set the attribute "production date", the production date is "20231204"
55 14 00 43 02 00 00 00 00 00 00 06 00 32 30 32 33 31 32 30 34 43
Then reset the module so that the same attribute values are applied to all three ports.

6.1.4 Access gateway

Use the APP provided by the gateway to add devices. Usually the APP has the function of scanning to add any device and adding
a specified device. Both methods can be added.
After the APP turns on the device addition mode, send the "Start Network Configuration" command to the module. Before
configuring the network, you must first confirm that the module is a router, terminal node or dormant terminal. The terminal node and
dormant terminal can be switched through "Set Node Type" .
Send "Start Network Configuration Command"
55 03 00 02 02
Return command:
Copyright © 2012–2024 , Chengdu Ebyte Electronic Technology Co., Ltd.
E180-Z5812 Series User Manual
29

Advertisement

Table of Contents
loading

Table of Contents