Specifications
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 249 of 318
#SD - Socket Dial
1 - UDP
<rPort> - remote host port to contact
0..65535
<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
<closureType> - socket closure behaviour for TCP
0 - local host closes immediately when remote host has closed (default)
255 - local host closes after an escape sequence (+++)
<lPort> - UDP connections local port
0..65535
<connMode> - Connection mode
0 - online mode connection (default)
1 - command mode connection
Note: <closureType> parameter is valid for TCP connections only and has
no effect (if used) for UDP connections.
Note: <lPort> parameter is valid for UDP connections only and has no
effect (if used) for TCP connections.
Note: if we set <connMode> to online mode connection and the command
is successful we enter in online data mode and we see the intermediate
result code CONNECT. After the CONNECT we can suspend the direct
interface to the socket connection (nb the socket stays open) using the
escape sequence (+++): the module moves back to command mode and we
receive the final result code OK after the suspension. After such a
suspension, it’s possible to resume it in every moment (unless the socket
inactivity timer timeouts, see #SCFG) by using the #SO command with the
corresponding <connId>.
Note: if we set <connMode> to command mode connection and the
command is successful, the socket is opened and we remain in command
mode and we see the result code OK.
Note: if there are input data arrived through a connected socket and not yet
read because the module entered command mode before reading them
(after an escape sequence or after #SD has been issued with <connMode>
set to command mode connection), 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
#SRECV. Under the same hypotheses it’s possible to send data while in
command mode issuing #SSEND










