HE863 family AT commands reference guide
80377ST10083a Rev.6 – 2012-11-12
Reproduction forbidden without written authorization from Telit Communications S.p.A.- All Rights Reserved.
Page 212 of
229
#SSEND EXT– 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
<bytestosend>
Example
Open the socket in command mode:
AT#SD=1,0,<port>,”IP address”,0,0,1
OK
Give the command specifying total number of bytes as second parameter:
AT#SSENDEXT=1,256
>…………………………; // Terminal echo of bytes sent is displayed here
OK
All possible bytes(from 0x00 to 0xFF) are sent on the socket as generic bytes.
3.5.5.2.14.
Socket Listen UDP - #SLUDP
#SLUDP - Socket Listen UDP
AT#SLUDP=<connId>,
<listenState>,
<listenPort>
This command opens/closes a socket listening for an incoming UDP connection
on a specified port.
Parameters:
<connId>
- socket connection identifier
1..6
<listenState>
-
0 - closes socket listening