SENA ProBee-ZE20S-HAOL User Manual
Page 82
![background image](/manuals/292726/82/background.png)
ProBee-ZE20S-HAxx User Guide Rev 1.9
82
Example) Write attribute to local node.
AT+SWRITE=0101,0003,01
# Write device attribute
# Door Lock cluster(0x0101),
# Door state attribute(0x0003)
# Set to 0x0001 (Closed)
OK
# Response
Example) Write attribute to remote node.
AT+DEST=3A51,01
# Set destination node address
OK
# Response
AT+CWRITE=0101,0003,01
# Write destination’s attribute
# Door Lock cluster(0x0101),
# Door state attribute(0x0003)
# Set to 0x0001 (Closed)
OK
# Response
9.6
Sending HA Command
HA Clusters have attributes and commands, and cluster command can be committed by AT command.
Example)
There are two end nodes which makes up HA network. Coordinator is ProBeeHADL device which
implements Door Lock Server Cluster. Router is ProBeeHACI device which implements Door Lock Cluster.
ProBeeHACI device sends AT+LOCK command to ProBeeHADL device as below:
AT+DEST=0000,01
# Set destination node address
OK
# Response
AT+SREAD=0101,0000
# Read destination’s attribute
# Door Lock cluster(0x0101),
# Lock state attribute(0x0000)
2
# Unlocked
OK
# Response
AT+LOCK
# Door Lock command
OK
# Response
AT+SREAD=0101,0000
Read destination’s attribute
# Door Lock cluster(0x0101),
# Lock state attribute(0x0000)
1
# Locked