EasyManuals Logo

Telit Wireless Solutions ML865G1 At Commands Reference Guide

Telit Wireless Solutions ML865G1
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
Page #387 background imageLoading...
Page #387 background image
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 ML865G1

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Telit Wireless Solutions ML865G1 and is the answer not in the manual?

Telit Wireless Solutions ML865G1 Specifications

General IconGeneral
BrandTelit Wireless Solutions
ModelML865G1
CategoryWireless modules
LanguageEnglish

Related product manuals