Specifications

UC864-E/G AT Commands Reference Guide
80304ST10041a Rev. 3 - 18/07/08
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved page 201 of 259
#SD - Socket Dial
<txProt> - transmission protocol
0 - TCP
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
<lingerT> - linger time
0 - immediate closure after remote closure
255 - local host closes only after an escape sequence (+++)
<lPort> - UDP connections local port
0..65535
<connMode> - UDP connections local port
0,1 – connection modes (unused)
Note: <lingerT> parameter is valid for TCP connections only; for UDP shall
be left unused.
Note: <lPort> parameter is valid for UDP connections only; for TCP shall be
left unused.
Note: if 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 socket using the escape sequence (+++): the module moves
back to command mode and we receive the final result code OK after the
suspension and, if there are data pending on the socket, an unsolicited
result code:
+SRING: <connId>
Afterwards we can continue the normal AT session. The suspended
connection can be resumed in every moment (unless we wait until a
timeout disconnection) by using the #SO command with the corresponding
<connId>.
AT#SD=? Test command reports the range of values for all the parameters.
3.5.7.2.6 Socket Accept - #SA
#SA - Socket Accept
AT#SA=<connId> Execution command accepts an incoming socket connection after an URC
+SRING: <connId>.
Parameter:
<connId> - socket connection identifier