SENA ProBee-ZE20S-SEME User Manual

Page 66

Advertising
background image

ProBee-ZE20S-SExx User Guide Rev 1.8

66

Example) Write attribute to local node.

#Screen of ProBeeSESI(coordinator)

AT+SWRITE=0000,0012,00<CR>

# Write device attribute

# Basic cluster(0x0000),

# Device Enabled attribute(0x0012)

# Set to 0x00 (Disabled)

OK

# Response

Example) Write attribute to remote node.

#Screen of ProBeeSEME(coordinator)

AT+DEST=0001950000000003,01<CR>

# Set destination node address

OK

# Response

AT+CWRITE=0702,0001,010203040506<CR># Write to attribute of destination node

# Metering cluster(0x0702),

# Current Max Demand Delivered

# attribute(0x0002)

# Set to 0x010203040506

5.4.11 Binding Metering Cluster

ProBeeSEME node has server-side Metering Cluster and ProBeeSEID has client-side Metering Cluster.

They can communicate with each other by Metering Cluster commands.

Example) Set ‘Metering Profile’ and ‘Metering End Time’ at ProBeeSEME node.

#Screen of ProBeeSEME(end-device)

AT+SMSETPR=12,AABBCC,010203<CR>

# Set Metering Profile

OK

AT+SMSETPR<CR>

ProfileIntervalPeriod: 12, NumberOfPeriodsDelivered: 2

Intervals:

AA BB CC

01 02 03

OK

# Response

AT+SMENDTIME=08-04-2013/12:34:56<CR>

# Set Metering End Time

OK

Advertising