LE910-SKG AT commands reference guide
80437ST10619A Rev.1 – 2014-09-16
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 266 of 273
#GMMPSMSEN
– GMMP SMS Enable
Example
AT#GMMPSMSEN=?
#GMMPSMSEN: (0,1)
OK
AT#GMMPSMSEN?
#GMMPSMSEN: 1
OK
// Receive GMMP Control message with 8bit data coding scheme from server
#GMMPSMSIND: 1,HmdFTwEAAAAAAAAAAAAAAAAAAAAAAA==
// Receive GMMP Control message with UCS2 data coding scheme from server
#GMMPSMSIND:
2,0048006D00650055007A007700450041004100410041004100410041004100410
0410041004100410041004100410041004100410041004100410041003D003D
AT#GMMPSMSEN=0
OK
// Receive GMMP Control message into SMS from server
+CMTI: "ME",1
#GMMPTCPOPEN – GMMP TCP Connection
AT#GMMPTCPOPE
N=<connId>,
<IPaddr>,<rPort>
Execution command opens GMMP TCP socket.
Parameters:
<connId>
- socket connection identifier
1..6
<IPaddr>
- address of the remote host, string type. This parameter can be
either:
- any valid IP address in the format: “xxx.xxx.xxx.xxx”
- any host name to be solved with a DNS query
<rPort>
- remote host port to contact
1..65535
Note: the following socket configurations should be set prior to connecting GMMP
TCP.
-
AT#SCFG=1,1,1500,90,600,20
-
AT#SCFGEXT=1,1,0,0,0,0
Note: if there are input data arrived through a connected socket and not
yet read because the module entered
command mode
before reading
them these data are buffered and we receive the
SRING
URC (
SRING
presentation
format depends on the last
#SCFGEXT
setting); it’s possible to read these data
afterwards issuing
#GMMPRECV
. Under the same hypotheses it’s possible to
Содержание LE910-SKG
Страница 1: ......