EasyManua.ls Logo

EBS LX2NB - 9 Receiving of Sms Message; Lx Protocol

EBS LX2NB
60 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
LX2NB Manual v.1.9 Page 55 / 60
9. RECEIVING OF SMS MESSAGE
GPRS module receives specially prepared SMS. If received SMS is not correct it will
be automatically cancelled and device will not operate any action.
9.1. LX PROTOCOL
The following format of message is acceptable allowing to send some commends
with one SMS (every command shall be separated with SPACE ):
SERVICE CODECOMMANDCOMMAND..........
Where:
SERVICE CODE - device service code
- SPACE
COMMAND - order (see the table below)
List of commands
DISC
Disconnects active TCP connection.
KILL
Reset modem; after execution of command a
confirmation is sent.
RESET
Resets device. Note: all unsent events will be lost.
OUT=outNr,state
Turn on or turn off outputs. outNr specifies output
number (0 for OUT1), state specifies requested
output state (0 switched off, 1 switched on).
Below are allowed combinations:
OUT=0,0 switches off TMP output
OUT=0,1 switches on TMP output
CMD=[timeout],command
Issues AT command to GSM modem and sends
response back. Optional timeout parameter defines
time for modem response. Time determined in
seconds and ranges from 1-30 seconds. If timeout
isn’t specified, 3 seconds is assumed.
DESC
Returns device description, serial number
(hexadecimal number) and firmware version.
GETSTATUS
Returns device status. Command sends text back
according to definition from chapter 7.6.4
GETPARAM=parameter_name
Gets inquired parameter :SERVER, PORT, APN, UN,
PW, DNS1, DNS2, SMS, SMSPERIOD
GETCFG
Gets primary communication parameters of device in
form: SERVER:PORT,APN UN PW,DNS1
APN=apn
Access point to GPRS network. Parameter should be
obtained from mobile network operator. If APN
address contain space sign put it with “” e.g. “my
apn”.
UN=un
APN user name. Parameter should be obtained from
mobile network operator. If APN user name contain
space sign put it with “” e.g. “my user name”.
PW=pw
APN password. Parameter should be obtained from
mobile network operator. If APN password contain
space sign put it with “” e.g. “my password”.

Table of Contents

Related product manuals