NetComm NTC-220 User Manual page 131

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

Advertisement

"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"
Important – Commands, variables and values are case sensitive.
List of basic commands
A list of basic commands which can be used in conjunction with the execute command are listed below:
"pdpcycle", "pdpdown" and "pdpup" commands can have a profile number suffix 'x' added. Without the suffix
specified, the command operates against the default profile configured on the profile list page of the Web-UI.
I T E M
C O M M A N D
1
reboot
2
pdpcycle
3
pdpdown
4
pdpup
5
factorydefau
lts
6
download
NTC-220 – User Guide
UG01028 v1.2 March 2019
Immediately performs a soft reboot.
Disconnects (if connected) and reconnects the data connection. If a profile number is
selected in the command, try to disconnect/reconnect the specified profile in case the
profile is active. If no profile number is selected, try to disconnect/reconnect the current
active profile. Reports an error if no profile number is selected and there is no currently
activated profile.
Disconnects the PDP. If a profile number is selected in the command, the router tries to
disconnect the specified profile in case the profile is active. If no profile number is
selected, try to disconnect the current active profile. Reports an error if no profile number
is selected and there is no currently activated profile.
Reconnects the PDP. If a profile number is selected in the command, the router tries to
connect with the specified profile. If no profile number is selected, the router tries to
connect to the last active profile. The gateway will check the currently activated profile
and disconnect this profile before executing the command. The router reports an error if
no profile number is selected and there is no stored last active profile number.
Performs a factory reset on the router. Be aware that this command also clears the SMS
white list on the router.
Performs a download and install of a Firmware Upgrade (.cdi), Config File (.tar.gz) or a
help document (.pdf) file.
If the file is a firmware image as in the case of a .cdi file, the router will apply the recovery
image first and then the main firmware image. The download location is specified
immediately after the command and may be from an HTTP or FTP source URL.
If the file is a .cdi file, the router will apply the file as a configuration file update for the
device and reboot afterwards.
If the file is a .pdf, the router will assume this is a user guide document and save it to the
router and make the file available for viewing via the help menu on the Web-UI.
Note: If your download URL includes any space characters, please encode these prior to
transmission according to RFC1738, for example:
ftp://username:password@serveraddress/directory%20with%20spaces/filename.cdi
Note: Authenticated FTP addresses may be used following the format as defined in
RFC1738, for example:
D E F I N I T I O N
131 of 193
© NetComm Wireless 2019

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents