15 socket dial - #sktd – Rainbow Electronics GM862-QUAD-PY User Manual
Page 349

AT Commands Reference Guide
80000ST10025a Rev. 5 - 09/07/08
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 349 of 434
#GPRS - GPRS Context Activation
SELINT 2
AT#SGACT=0,1).
AT#GPRS?
Read command reports the current status of the PDP context #1, in the
format:
#GPRS:
where:
1 - PDP context #1 activated
2 - PDP context #1 activation pending.
AT#GPRS=?
Test command returns the allowed values for parameter
Example
AT#GPRS=1
+IP: 129.137.1.1
OK
Now PDP Context #1 has been activated and our IP is
129.137.1.1
AT#GPRS=0
OK
Now PDP Context #1 has been deactivated, IP is lost.
Note
It is strongly recommended to use the same command (e.g. #GPRS) to
activate the context, deactivate it and interrogate about its status.
3.5.7.5.15 Socket Dial - #SKTD
#SKTD - Socket Dial
SELINT 0 / 1
AT#SKTD
[=
[
[
Set command opens the socket towards the peer specified in the
parameters.
Parameters:
0 - TCP (factory default)
1 - UDP
0..65535 - port number (factory default is 0)
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:
name>
(factory default is the empty string “”)
0 - local host closes immediately when remote host has closed (default)
255 - local host closes after an escape sequence (+++) or after an abortive
disconnect from remote.