Sms Command Format - NetComm NTC-6908 User Manual

Industrial hspa cellular network router calldirect ntc-6000 series
Hide thumbs Also See for NTC-6908:
Table of Contents

Advertisement

SMS Command format

Generic Format for reading variables:
get VARIABLENAME
PASSWORD get VARIABLENAME
Generic Format for writing to variables:
set VARIABLENAME=VALUE
PASSWORD set VARIABLENAME=VALUE
 
Generic Format for executing a command:
execute COMMAND
PASSWORD execute COMMAND
Replies
Upon receipt of successfully formatted, authenticated (if required) command, the router will reply to the SMS in the following format:
TYPE
Get Command
Set Command
 
Execute Command
Where "VARIABLENAME" is the name of the value to be read
Where "VARIABLENAME(x)" is the name of another value to be read
Where "VALUE" is the content to be written to the "VARIABLENAME"
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:
i.
get VARIABLENAME1; get VARIABLENAME2; get VARIABLENAME3
ii.
PASSWORD get VARIABLENAME1; get VARIABLENAME2
iii.
set VARIABLENAME=VALUE1 ; set VARIABLENAME2=VALUE2
iv.
PASSWORD set VARIABLENAME1=VALUE1; set VARIABLENAME2=VALUE2; set VARIABLENAME3=VALUE3
If required, values can also be bound by an apostrophe, double apostrophe or back tick.
For Example:
v.
"set VARIABLE='VALUE'"
vi.
"set VARIABLE="VALUE""
vii.
"set VARIABLE=`VALUE`"
viii.
"get VARIABLE"
A password (if required), only needs to be specified once per SMS, but can be prefixed to each command if desired.
ix.
"PASSWORD get Variable1"; "get VARABLE2"
x.
"PASSWORD set VARIABLE1=VALUE1"; "set VARIABLE2=VALUE2"
YML6908
www.netcommwireless.com
53
 
SMS CONTENTS
"VARIABLENAME=VALUE"
"Successfully set VARIABLENAME to VALUE".
"Successfully executed command"
Table 11: SMS Command Replies 
NOTES
Only sent if the acknowledgment message function is enabled
NTC-6000 Series User Guide

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ntc-6900Ntc-6909

Table of Contents