NetComm NTC-40W User Manual page 92

Hide thumbs Also See for NTC-40W:
Table of Contents

Advertisement

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
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`"
"get VARIABLE"
NetComm Wireless NTC-40WV Industrial Indoor 3G Router with Voice
92
SMS CONTENTS
"VARIABLE=VALUE"
"Successfully set VARIABLE to VALUE"
"Successfully executed command COMMAND"
Table 24 - SMS Diagnostic Command Syntax
NOTES
Only sent if the acknowledgment message
function is enabled
www.netcommwireless.com
Ver 1.4

Advertisement

Table of Contents
loading

Table of Contents