SENA ProBee-ZE20S-SEME User Manual

Page 65

Advertising
background image

ProBee-ZE20S-SExx User Guide Rev 1.8

65

5.4.9

Reading Attribute

User can read attribute of local node or remote node by running the AT command as below:

AT+SREAD can be used for reading attribute of local node.

AT+CREAD can be used for reading attribute of remote node.

User should set destination address by AT+DEST before running AT+CREAD.

Destination node must implement corresponding attribute and cluster.

Example) Read attribute of local node.

#Screen of ProBeeSESI(coordinator)

AT+SREAD=0000,0007<CR>

# Read device attribute

# Basic cluster(0x0000),

# Power source attribute(0x0007)

2

# Unlocked

OK

# Response

Example) Read attribute of remote node.

#Screen of ProBeeSEID(end-device)

AT+DEST=0000,01<CR>

# Set destination node address

OK

# Response

AT+CREAD=0702,0000<CR>

# Read attribute of destination node

# Metering cluster(0x0702),

# Current Summation delivered attribute(0x0000)

00 00 00 00 00 00

# 5-byte value

OK

# Response

5.4.10 Writing Attribute

User can write attribute to local node or remote node by running the AT command as below:

AT+SWRITE can be used for writing attribute to local node.

AT+CWRITE can be used for writing attribute to remote node.

User should set destination address by AT+DEST before running AT+CWRITE.

Destination node must implement corresponding attribute and cluster.

Advertising