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

  • 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 229
CUSTOMATCOMMANDS
HSPA+ATCommandsReferenceGuide 230
Readinhexadecimalformatthebuffereddata
AT#SRECV=2,15
#SRECV: 2,15
737472696e67612064692074657374
OK
SRINGURC(<srMode>be2,<dataMode>be0)displaying(intextformat)15bytesdatathathavejustcome
throughconnectedsocketidentifiedby<connId>=3.Itisnotnecessarytoissue#SRECVtoreadthedata;nodata
remaininthebufferafterthisURC.
SRING: 3,15, stringa di test
SendDatainCommandMode#SSEND
Executecommandpermits,whilethemoduleisincommandmode,tosenddatathroughaconnectedsocket.
Testcommandreturnstherangeofsupportedvaluesforparameter<connId>.
Syntax
Command Commandtype
AT#SSEND=<connId> Execute
AT#SSEND=? Test
ParametersandValues
<connId> Socketconnectionidentifier.
16
Thedevicerespondstothecommandwiththeprompt<greater_than><space>
andwaitsforthedatatosend.
TocompletetheoperationsendCtrlZchar(0x1Ahex);toexitwithoutwritingthe
messagesendESCchar(0x1Bhex).
Ifdataissuccessfullysent,thentheresponseisOK.
Ifdatasendingfailsforsomereason,anerr
orcodeisreported.
Notes
Themaximumnumberofbytestosendis1500bytes.Tryingtosendmoredatacausesthesurplustobe
discardedandlost.
Itispossibletouse#SSENDonlyiftheconnectionwasopenedby#SD,elsetheMEisraisinganerror.
AbytecorrespondingtoBSchar(0x08)istreatedwithitscorrespondingmeaning;thereforepreviousbyteis
cancelled(andBScharitselfisnotsent)
Examples
Senddatathroughsocketnumber2
AT#SSEND=2
Vue de la page 229
1 2 ... 225 226 227 228 229 230 231 232 233 234 235 ... 329 330

Commentaires sur ces manuels

Pas de commentaire