Specifications

HE863 family AT commands reference guide
80377ST10083a Rev.4 – 2012-02-01
Reproduction forbidden without written authorization from Telit Communications S.p.A.- All Rights Reserved. Page 207 of
228
#SD - Socket Dial
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
AT#SD=?
Test command reports the range of values for all the parameters.
Example Open socket 1 in online mode
AT#SD=1,0,80,”www.google.com”,0,0,0
CONNECT
Open socket 1 in command mode
AT#SD=1,0,80,”www.google.com”,0,0,1
OK
3.5.5.2.8. Socket Accept - #SA
#SA - Socket Accept
AT#SA=<connId>
[,<connMode>]
Execution command accepts an incoming socket connection after an URC SRING:
<connId>
Parameter:
<connId> - socket connection identifier
1..6
<connMode> - Connection mode, as for command #SD.
0 - online mode connection (default)
1 - command mode connection