Sms Acknowledgment Replies; Sms Command Format - NetComm NTC-220 User Manual

Hide thumbs Also See for NTC-220:
Table of Contents

Advertisement

SMS acknowledgment replies

The router automatically replies to get commands with a value and execute commands with either a success or
error response. Set commands will only be responded to if the Send Set command acknowledgement replies
toggle key is set to ON. If the Send command error replies toggle key is set to ON, the router will send a reply if
the command is correct but a variable or value is incorrect, for example, due to misspelling.

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:
T Y P E
get command
set command
execute
command
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`"
NTC-220 – User Guide
UG01028 v1.2 March 2019
S M S C O N T E N T S
"VARIABLE=VALUE"
"Successfully set VARIABLE to
VALUE"
"Successfully executed command
COMMAND"
Table 37 – SMS Diagnostic Command Syntax
N O T E S
Only sent if the acknowledgment
message function is enabled
© NetComm Wireless 2019
130 of 193

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents