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 217 of 273
#GPRS - GPRS Context Activation
1 - EPS context activated
2 - EPS context activation pending.
AT#GPRS=?
Test command returns the allowed values for parameter
<mode>
.
Example
AT#GPRS=1
+IP: 129.137.1.1
OK
Now EPS Context has been activated and our IP is 129.137.1.1
AT#GPRS=0
OK
Now EPS context has been deactivated, IP is lost.
#SKTD - Socket Dial
AT#SKTD=
[<socket type>,
<remote port>,
<remote addr>,
[<closure type>],
[<local port>]]
Set command opens the socket towards the peer specified in the parameters.
Parameters:
<socket type>
- socket protocol type
0 - TCP (factory default)
1 - UDP
<remote port>
- remote host port to be opened
1..65535 - port number (factory default is 0)
<remote addr>
- 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 in the format:
<host name>
(factory default is the empty string “”)
<closure type>
- socket closure behaviour for TCP
0 - local host closes immediately when remote host has closed (default)
255 - local host closes after an escape sequence (
+++
)
<local port>
- local host port to be used on UDP socket
1..65535 - port number (factory default is 0)
Note:
<closure type>
parameter is valid only for TCP socket type, for UDP sockets
shall be left unused.
Note:
<local port>
parameter is valid only for UDP socket type, for TCP sockets
shall be left unused.
Note: the resolution of the host name is done when opening the socket, therefore if
an invalid host name is given to the
#SKTD
command, then an error message will
be issued.
Note: the command to be successful requests that:
-
the EPS context 1 is correctly set with +CGDCONT
-
the authentication parameters are set
(
#USERID, #PASSW) the EPS coverage
is enough to permit a connection
Summary of Contents for LE910-SKG
Page 1: ......