Synaccess-networks NP-0801DTM Manual do Utilizador Página 229

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 330
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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
Vista de página 228
1 2 ... 224 225 226 227 228 229 230 231 232 233 234 ... 329 330

Comentários a estes Manuais

Sem comentários