UC864
UC864
UC864
UC864----E/G/WD/WDU
E/G/WD/WDU
E/G/WD/WDU
E/G/WD/WDU AT Commands Reference Guide
AT Commands Reference Guide
AT Commands Reference Guide
AT Commands Reference Guide
80304ST10041a Rev. 6
80304ST10041a Rev. 6
80304ST10041a Rev. 6
80304ST10041a Rev. 6 ---- 2010
2010
2010
2010----0
00
05
55
5----20
20
20
20
Reproduction forbidden without Telit Communications S.p.A’s. written authorization - All Rights Reserved.
Page 279 of 329
#GPRS
#GPRS
#GPRS
#GPRS ---- GPRS Context Activation
GPRS Context Activation
GPRS Context Activation
GPRS Context Activation
AT#GPRS=0
OK
Now GPRS context has been deactivated, IP is lost.
3.5.7.4.15.
Socket Dial
Socket Dial
Socket Dial
Socket Dial ---- #SKTD
#SKTD
#SKTD
#SKTD
#SKTD
#SKTD
#SKTD
#SKTD ---- Socket Dial
Socket Dial
Socket Dial
Socket Dial
AT#SKTD=
AT#SKTD=
AT#SKTD=
AT#SKTD=
[<socket type>,
[<socket type>,
[<socket type>,
[<socket type>,
<remote port>,
<remote port>,
<remote port>,
<remote port>,
<remote addr>,
<remote addr>,
<remote addr>,
<remote addr>,
[<closure type
[<closure type
[<closure type
[<closure type>],
>],
>],
>],
[<local port>]]
[<local port>]]
[<local port>]]
[<local port>]]
Set command opens the socket towards the peer specified in the
parameters.
Parameters:
<socket type>
<socket type>
<socket type>
<socket type> - socket protocol type
0 - TCP (factory default)
1 - UDP
<remote port>
<remote port>
<remote port>
<remote port> - remote host port to be opened
0..65535 - port number (factory default is 0)
<remote addr>
<remote addr>
<remote addr>
<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
<host
<host
<host
name>
name>
name>
name>
(factory default is the empty string “”)
<closure type>
<closure type>
<closure type>
<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 port>
<local port>
<local port> - local host port to be used on UDP socket
0..65535 - port number
Note: <closure type>
<closure type>
<closure type>
<closure type> parameter is valid only for TCP socket type, for UDP
sockets shall be left unused.
Note: <local port>
<local port>
<local port>
<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
#SKTD
#SKTD
#SKTD command, then an
error message will be issued.
Note: the command to be successful requests that:
-
the GPRS context 1 is correctly set with +CGDCONT
-
the authentication parameters are set ((((#USERID, #PASSW) the GPRS