Synaccess-networks NP-0801DTM Instrukcja Użytkownika Strona 229

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 330
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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
Przeglądanie stron 228
1 2 ... 224 225 226 227 228 229 230 231 232 233 234 ... 329 330

Komentarze do niniejszej Instrukcji

Brak uwag