LE910-SKG AT commands reference guide
80437ST10619A Rev.1 – 2014-09-16
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 194 of 273
#SSEND – Send Data in Command Mode
AT#SSEND=
<connId>
Execution command permits, while the module is in
command mode,
to
send data through a connected socket.
Parameters:
<connId>
- socket connection identifier
1..6
The device responds to the command with the prompt ‘
>
’ and waits for the
data to send.
To complete the operation send
Ctrl-Z
char (
0x1A
hex); to exit without
writing the message send
ESC
char (
0x1B
hex).
If data are successfully sent, then the response is
OK
.
If data sending fails for some reason, an error code is reported
Note: the maximum number of bytes to send is 1024; trying to send more
data will cause the surplus to be discarded and lost.
Note: it’s possible to use
#SSEND
only if the connection was opened by
#SD
, else the ME is raising an error
Note: a byte corresponding to BS char(0x08) is treated with its corresponding
meaning; therefore previous byte will be cancelled(and BS char itself will not be sent)
AT#SSEND=?
Test command returns the
OK
result code.
Example
Send data through socket number 2
AT#SSEND=2
>Test<CTRL-Z>
OK
#SSENDEXT – Send Data in Command Mode extended
AT#SSENDEXT=
<connId>,<bytestosen
d>
Execution command permits, while the module is in
command mode,
to
send data through a connected socket including all possible octets( from 0x00 to
0xFF ).
Parameters:
<connId>
- socket connection identifier
1..6
<bytestosend>
- number of bytes to be sent
Please refer to test command for range
The device responds to the command with the prompt ‘
>
’ <greater_than><space>
and waits for the data to send.
When <bytestosend> bytes have been sent, operation is automatically completed.
If data are successfully sent, then the response is OK.
If data sending fails for some reason, an error code is reported.
Note: it’s possible to use
#SSENDEXT
only if the connection was opened by
#SD
,
else the ME is raising an error
Note: all special characters are sent like a generic byte.
(For instance: 0x08 is simply sent through the socket and don’t behave like a
Содержание LE910-SKG
Страница 1: ......