EasyManua.ls Logo

Telit Wireless Solutions ME910G1 - AT#SRECV - Socket Receive Data in Command Mode

Telit Wireless Solutions ME910G1
545 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
ME310G1/ME910G1/ML865G1 AT Commands Reference Guide
80617ST10991A Rev.4 Page 387 of 545 2020-04-15
3.13.17. AT#SRECV - Socket Receive Data in Command Mode
The command permits the user to read data arrived through a connected socket when the module is in
command mode.
SIM Presence
Setting saved
Can be aborted
MAX timeout
SELINT
Required
No
No
-
2
AT#SRECV=<connId>,<maxByte>[,<UDPInfo>]
Execution command permits the user to read data arrived through a connected socket but buffered
and not yet read because the module entered command mode before reading them; the module is
notified of these data by a SRING: URC, whose presentation format depends on the last
#SCFGEXT setting.
Parameters:
Name
Type
Default
Description
<connId>
integer
NA
socket connection identifier
Value:
1÷conMax
:
socket connection identifier. conMax value is returned by test
command
<maxByte>
integer
NA
max number of bytes to read
Value:
1÷1500
:
max number of bytes to read
<UDPInfo>
integer
0
enables/disables the visualization of UDP datagram
information.
Values:
0
:
UDP information disabled
1
:
UDP information enabled, see Additional info section.
Additional info:
If <UDPInfo> is set to 1 (AT#SRECV=<connId>,<maxBytes>,1), the command returns a
message having the following format:
#SRECV: <remoteIP>,<remotePort><connId>,<recData>,<dataLeft>
Name
Type
Default
Description
<remoteIP>
string
-
remote ip address
<remotePort>
string
-
remote port address
<recData>
integer
-
received data
<dataLeft>
integer
-
remaining bytes in the datagram.
Issuing #SRECV when there is no buffered data raises an error.

Table of Contents

Other manuals for Telit Wireless Solutions ME910G1

Related product manuals