Synaccess-networks NP-0801DTM Uživatelský manuál Strana 230

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 330
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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
Zobrazit stránku 229
1 2 ... 225 226 227 228 229 230 231 232 233 234 235 ... 329 330

Komentáře k této Příručce

Žádné komentáře