Synaccess-networks NP-0801DTM Manuel d'utilisateur Page 229

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 330
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 228
CUSTOMATCOMMANDS
229 HSPA+ATCommandsReferenceGuide
Notes
TheSRINGURChastobeaconsequenceofa#SLissue.
SettingthecommandbeforetohavingreceivedaSRINGresultsinanERRORindication, givingtheinformation
thataconnectionrequesthasnotyetbeenreceived.
ReceiveDataIn CommandMode#SRECV
Executecommandpermitstheusertoreaddataarrivedthroughaconnectedsocket,butbufferedandnotyet
readbecausethemoduleenteredcommandmodebeforereadingthem;themoduleisnotifiedofthesedatabya
SRINGURC,whosepresentationformatdependsonthelast#SCFGEXTsetting.
Testcommandreturnstherangeofsu
pportedvaluesfor<connId>and<maxByte>.
Syntax
Command Commandtype
AT#SRECV=<connId>,<maxByte> Execute
AT#SRECV=? Test
ParametersandValues
<connId> Socketconnectionidentifier.
16
<maxByte> Maximumnumberofbytestoread.
11500
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
Vue de la page 228
1 2 ... 224 225 226 227 228 229 230 231 232 233 234 ... 329 330

Commentaires sur ces manuels

Pas de commentaire