beautypg.com

2 sms control steps, 3 sms commands list, Sms control steps – Robustel M1000 User Guide User Manual

Page 71: Sms commands list

background image

Robustel GoRugged M1000 User Guide


RT_UG_M1000 _v.2.0.0

20.12.2013

70 / 83

Confidential

When there is a password, SMS command has following structure: Password:cmd1;cmd2;cmd3;…;cmdn

 Cmd1, cmd2, cmd3 to Cmdn, which are command identification number 0000 – 9999
 A, b, c to n, which are command parameters
 The semicolon character (‘;’) is used to separate more than one commands packed in a single SMS.

5.3.2 SMS Control Steps

1. Use command Password:cmd1;cmd2;cmd3;…;cmdn or cmd1;cmd2;cmd3;…;cmdn to set new parameters.
2. After setting new parameters for M1000, remember to use 0004 command to save parameters and reset the

modem, then the new parameters will take effect.

3. In one SMS, if there is more than two cmd, remember to use punctuation “;” to divide each cmd.
Note: E.g., 1234:1001,M1000;0004
In this command, password is 1234, 1001 is the cmd to set device’s name, “M1000” is M1000’s name that we want to
set, then save parameters and reset the modem to take effect with command 0004.

5.3.3 SMS Commands List

Cmd Description

Syntax

Comments

Control Commands

0000 Set Factory Defaults

password:cmd or cmd

if no password, please use command
"cmd", or use command "password:cmd" if
there is a password.
Following commands are the same.

0001 Reset Device

cmd

0002 Save Parameters

cmd

0003 Get Device Status

cmd

0004

Save Parameters and
Reset Device

cmd

0005 Clear SMS Count

cmd

0006 Clear Event Count

cmd

0007 Start Event Counter

cmd

Set Commands

1000 Set Comm Parameters

cmd,baud rate,parity,data bits,stop
bits,flag

baud rate: 1200 - 115200
parity: n,o,e,m,s
data bits: 7,8
stop bits: 1,2
*flag:
0 - RS232
1 - RS485

1001 Set Device Name

cmd,name

name(max 20 bytes)

1002 Set SIM Card Pin

cmd,flag1,pin,flag2,newPin

flag1: