NetComm NTC-30WV User Manual page 64

Outdoor hspa+ wifi router with voice
Hide thumbs Also See for NTC-30WV:
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:
executeCOMMAND
PASSWORD executeCOMMAND
Replies
Upon receipt of 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"
A password (if required), only needs to be specified once per SMS, but can be prefixed to each command if desired.
"PASSWORD get Variable1"; "get VARIABLE2"
"PASSWORD set VARIABLE1=VALUE1"; "set VARIABLE2=VALUE2"
If the command sent includes the "reboot" command and has already passed the White List password check, the device keeps this
password and executes the remaining command line after the reboot with this same password.
For Example:
"PASSWORD execute reboot; getVariable1"; "get VARABLE2"
"PASSWORD execute reboot; PASSWORD get Variable1"; "get VARABLE2"
Commands are case insensitive, however variable names and values are case sensitive.
NTC-30WV – Outdoor HSPA+ WiFi Router with Voice
64
SMS CONTENTS
"VARIABLE=VALUE"
"Successfully set VARIABLE to VALUE"
"Successfully executed command COMMAND"
Table 30 - SMS Diagnostic Command Syntax
NOTES
Only sent if the acknowledgment message
function is enabled
www.netcommwireless.com

Advertisement

Table of Contents
loading

Table of Contents