DCS WDU models Spécifications Page 262

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 318
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 261
UC864-E/G/WD/WDU AT Commands Reference Guide
80304ST10041a Rev. 7 - 2010-10-14
Reproduction forbidden without Telit Communications S.p.A’s. written authorization - All Rights Reserved. Page 262 of 318
#SKTSET - Socket Definition
<remote addr>,
[<closure type>],
[<local port>]]
<socket type> - socket protocol type
0 - TCP (factory default)
1 - UDP
<remote port> - remote host port to be opened
0..65535 - port number (factory default is 3333)
<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
0..65535 - port number
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 #SKTSET command, then
an error message will be issued.
Note: the DNS Query to be successful requests that:
- the GPRS context 1 is correctly set with
+CGDCONT
- the authentication parameters are set (#USERID, #PASSW)
- the GPRS coverage is en
ough to permit a connection.
AT#SKTSET? Read command reports the socket parameters values, in the format:
AT#SKTSET: <socket type>,<remote port>,<remote addr>,
<closure type>,<local port>
AT#SKTSET=? Test command returns the allowed values for the parameters.
Example AT#SKTSET=0,1024,"123.255.020.001"
OK
AT#SKTSET=0,1024,"www.telit.net"
OK
Note Issuing command #QDNS will overwrite <remote addr> setting.
Vue de la page 261
1 2 ... 257 258 259 260 261 262 263 264 265 266 267 ... 317 318

Commentaires sur ces manuels

Pas de commentaire