12 send data in command mode - #ssend – Rainbow Electronics GM862-QUAD-PY User Manual
Page 325

AT Commands Reference Guide
80000ST10025a Rev. 5 - 09/07/08
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 325 of 434
#SRECV - Receive Data In Command Mode
SELINT 2
Read in hexadecimal format the buffered data
AT#SRECV=2,15
#SRECV: 2,15
737472696e67612064692074657374
OK
SRING URC (
(in text format) 15 bytes data that have just come
through connected socket identified by
no necessary to issue #SRECV to read the data; no data
remain in the buffer after this URC
SRING: 3,15, stringa di test
3.5.7.3.12 Send Data In Command Mode - #SSEND
#SSEND - Send Data In Command Mode
SELINT 2
AT#SSEND=
Execution command permits, while the module is in command mode, to
send data through a connected socket.
Parameters:
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.
Example
Send data through socket number 2
AT#SSEND=2
>Test
OK