Specifications
CUSTOMATCOMMANDS
229 ATCommandsforHSPA‐H5Modems
Notes
TheSRINGURChastobeaconsequenceofa#SLissue.
SettingthecommandbeforetohavingreceivedaSRINGresultsinanERRORindication,givingtheinformation
thataconnectionrequesthasnotyetbeenreceived.
ReceiveDataIn CommandMode#SRECV
Executecommandpermitstheusertoreaddataarrivedthroughaconnectedsocket,butbufferedandnotyet
readbecausethemoduleenteredcommandmodebeforereadingthem;themoduleisnotifiedofthesedatabya
SRINGURC,whosepresentationformatdependsonthelast#SCFGEXTsettin g.
Testcommandreturns
therangeofsupportedvaluesfor<connId>and<maxByte>.
Syntax
Command Commandtype
AT#SRECV=<connId>,<maxByte> Execute
AT#SRECV=? Test
ParametersandValues
<connId> Socketconnectionidentifier.
1‐6
<maxByte> Maximumnumberofbytestoread.
1‐1500
Notes
Issuing#SRECVwhenthere’snobuffereddataraisesanerror.
Examples
SRINGURC(<srMode>be0,<dataMode>be0)tellingdatahavejustcomethroughconnectedsocketidentifiedby
<connId>=1andarenowbuffered
SRING: 1
Readintextformatthebuffereddata
AT#SRECV=1,15
#SRECV: 1,15
stringa di test
OK
SRINGURC(<srMode>be1,<dataMode>be1)telling15bytesdatahavejustcomethroughconnectedsocket
identifiedby<connId>=2andarenowbuffered
SRING: 2,15