NetComm Wireless 4G M2M Router
99
SMS command format
Generic Format for reading variables:
get VARIABLE
PASSWORD get VARIABLE
Generic Format for writing to variables:
set VARIABLE=VALUE
PASSWORD set VARIABLE=VALUE
Generic Format for executing a command:
Execute COMMAND
PASSWORD execute COMMAND
Replies
Upon receipt of a successfully formatted, authenticated (if required) command, the gateway will reply to the SMS in the following
format:
TYPE
SMS CONTENTS
NOTES
get command
“VARIABLE=VALUE”
set command
“Successfully set VARIABLE to VALUE”
Only sent if the acknowledgment message
function is enabled
execute command
“Successfully executed command COMMAND”
Table 31 - SMS Diagnostic Command Syntax
Where “VARIABLE” is the name of the value to be read
Where “
VARIABLE (x)
” is the name of
another value to be read
Where “VALUE” is the content to be written to the “
VARIABLE
”
Where “COMMAND” is a supported command to be executed by the device (e.g. reboot)
Where “PASSWORD” is the password (if configured) for the corresponding sender
number specified in the White List
Multiple commands can be sent in the same message, if separated by a semicolon.
For Example:
get VARIABLE1; get VARIABLE2; get VARIABLE3
PASSWORD get VARIABLE1; get VARIABLE2
set VARIABLE=VALUE1 ; set VARIABLE2=VALUE2
PASSWORD set VARIABLE1=VALUE1; set VARIABLE2=VALUE2; set VARIABLE3=VALUE3
If required, values can also be bound by an apostrophe, double apostrophe or back tick.
For Example:
“set
VARIABLE=’VALUE’”
“set
VARIABLE=”VALUE””
“set
VARIABLE=`VALUE`”
“get
VARIABLE”