Firmware management – 2N M2M Solution 2N SmartCom - User Manual 1.9.0 User Manual

Page 114

Advertising
background image

114

2N TELEKOMUNIKACE a.s., www.2n.cz

®

Note

Therefore, to read data from terminal No. 50–0295–0562, enter one
of the following commands into API:

ATD5002950562#100.

When you receive the CONNECT reply, the following commands will
become available.

at^scwmbus="get_oldest"

Enter the command to write out the oldest record from the Wireless M–Bus meter
data space. Example of reply:

^SCWMBUS: /<timestamp>,<id>,<rssi>,<len>,"<binary data in hexadecimal format>"

Meaning of parameters:

timestamp – record receiving time (UNIX timestamp)
id – record code in circular buffer
rssi – signal intensity in dBm during message receiving
len – received message length in bytes

at^scwmbus="del_oldest"

Enter the command to delete the oldest record from the Wireless M–Bus meter
data space. Delete the oldest record and enter the 'get_oldest' command to read
the oldest but one record.

at^scwmbus="del_all"

Enter the command to delete all records from the Wireless M–Bus meter data
space

.

Firmware Management

Enter the command to control and set terminal upgrades.

at^scupg<ser_no>?

The current upgrade state reply is received.

at^scupg<ser_no>="<version>"[,<timestamp>]

The FW version and timestamp are set for the terminal upgrade.

Note

Enter time as UNIX TIME. Enter 1357055424 for 1.1.2013 15:50:24.

at^scupg<ser_no>="CANCEL"

Advertising