AT Commands Reference Guide
80529ST10815A Rev.2– 2017-09-14
ReproductionforbiddenwithoutTelitCommunicationsS.p.A.writtenauthorization‐AllRightsReserved page169of233
#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 1500;
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 OK message.
Example
Send data through socket number 2
AT#SSEND=2
>Test<CTRL-Z>
OK
Send data in Command Mode extended - #SSENDEXT
#SSENDEXT - Send Data In Command Mode extended
AT#SSENDEXT=
<connId>,
<bytestosend>
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 BS,
i.e. previous character is not deleted)
AT#SSENDEXT=?
Test command returns the range of supported values for parameters < connId > and