Functions
MoRoS GPRS 2.1 PRO
12.11.2
Enable SMS Receipt
The MoRoS GPRS 2.1 PRO can receive SMS and evaluate the content. Different
commands can be transmitted to the MoRoS GPRS 2.1 PRO with this, also pass-
word-protected. Received SMS can optionally be acknowledged. A new SMS with
the received text will be sent back to the sender in this case.
The commands must be sent in the format
[<password>, ]<command>
.
We strongly recommend to use password protection.
If a password is configured, the SMS must contain first the password and then,
separated by a comma, the command; otherwise, the SMS will not be processed.
Conversely, the SMS must not contain a password, if this is not configured. The
password is case-sensitive. Blanks outside the password will be ignored. Several
commands in one SMS will not be supported; only the first command would be
executed. The commands are not case-sensitive. The following commands are proc-
essed:
Command
Effect
dial
A dial-out connection will be started or an existing dial-out connec-
tion will be closed.
openvpn
The OpenVPN connection will be restarted. An existing tunnel will
be terminated with this.
ipsec
The IPsec connection will be restarted. All existing tunnels will be
terminated with this.
pptp
The PPTP connection will be restarted. All existing tunnels will be
terminated with this.
reset
The device will be restarted.
sandbox
The sandbox will be restarted.
serial
The Serial Ethernet Gateway initiates an outgoing connection.
out <n>
<x>
Output <n> (1, 2) will be set to <x>, where <x> = 0 or "idle" (idle
position) or "nc" (connected to NC) and accordingly 1 or "oper-
ated" (operated position) or "no" (connected to NO).
Example: out 1 nc (output 1 in idle position)
update
An automatic update will be performed.
Table 13: List of SMS commands
SMS messages that do not comply with this syntax, can optionally be forwarded to
the sandbox. The subdirectory "/var/spool/sms_in" must exist in the sandbox image
for this. The SMS will be filed with a random file name in it. The first line of the file
contains the phone number of the sender, the further lines contain the SMS text. If a
password has been configured, the following applies for SMS forwarded to the
sandbox: If an SMS text with valid password has been received, the password and
the separating comma will be removed from the text. In case of a text with invalid or
missing password, the original text will be forwarded to the sandbox.
98
Содержание MoRoS GPRS 2.1 PRO
Страница 1: ...Manual MoRoS GPRS 2 1 PRO...
Страница 2: ......
Страница 82: ...Functions MoRoS GPRS 2 1 PRO 82...
Страница 144: ......