11.2.2 LIST OF COMMANDS
The SMS function has different commands, shown on the foll
owing table:
Command
g
prsapn
gprslogin
gprspass
pass
output
alm1sp
alm2sp
alm3sp
alm4sp
alm5sp
alm6sp
alm7sp
alm8sp
alm9sp
alm10sp
log
stsdev
stsconn
stsgps
stsachs
stsdchs
stsalms
Parameter
GPRS - APN
GPRS - Login
GPRS - Pass
Password
Digital Output
Alarm 1 -
"Setpoint"
Alarm 2 -
"Setpoint"
Alarm 3 -
"Setpoint"
Alarm 4 -
"Setpoint"
Alarm 5 -
"Setpoint"
Alarm 6 -
"Setpoint"
Alarm 7 -
"Setpoint"
Alarm 8 -
"Setpoint"
Alarm 9 -
"Setpoint"
Alarm 10 -
"Setpoint"
Record Log
Device Status
Cellular Connection Status
GPS Status
Status of Analog Channels
Status of Digital Channels
Status of Alarms
Table 09
– List of Commands
Function
Editing or reading the cellular operat
or’s
GPRS APN parameter (see the
Cellular
Interface
section).
Editing or reading the cellular operat
or’s
GPRS Login parameter (see the
Cellular
Interface
section).
Editing or reading the cellular operat
or’s
GPRS Pass parameter (see the
Cell
ular
Interface
section).
Allows for changing the password for S
MS
commands.
Change or obtain information about t
he
status of the digital output.
Change or read setpoint for alarm 1.
Change or read setpoint for alarm 2.
Change or read setpoint for alarm 3.
Change or read setpoint for alarm 4.
Change or read setpoint for alarm 5.
Change or read setpoint for alarm 6.
Change or read setpoint for alarm 7.
Change or read setpoint for alarm 8.
Change or read setpoint for alarm 9.
Change or read setpoint for alarm 10.
Enable or obtain information about the
record log.
Obtain information about the device
status.
Obtain information about the status of the
cellular connection.
Obtain information about the GPS status.
Obtain information about the status of
analog channels.
Obtain information about the status of
digital channels.
Obtain information about the status of
alarms.
The commands should be used along with the message start and end symbols and the respective operators (for password validation, execution
and reading), as shown in the examples below.
If a device is configured to run commands via SMS, has its password set as
"1234", its "gprspass" as "vivo" and the user wants to change the
"gprslogin" to "vivo" and check the value of the "gprspass" parameter, the following message must be sent to the number of the SIM Card
registered in the device:
<pass
#1234 gprslogin=vivo gprspass?>
In this case, as shown in the table below, an SMS was sent with three commands: authentication, write and read.
Symbol
<
pass#1234
gprslogin=vivo
gprspass?
>
Meaning
Message initializer
1st Co
mmand: Password Validation
Command
2nd C
ommand: Write Command
3rd Command: Read Command
Message finalizer
Function
Mark the beginning of a message.
Conduct a password test and, if approved,
connect to the device.
Request that the device change the gprsl
ogin to
"vivo".
Request a reply regarding the gprspass
configured for the device.
Mark the end of a message.
* Blank spaces between commands are considered command separators.
Table 10
– Example of Command Sent to the Device
A
s a result, its reply, as shown in the following SMS, will provide relevant device information:
<20:35:14 29/01/17
"LogBox 3G" gprslogin=vivo gprspass?vivo>
28/66