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

  • 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 233
CUSTOMATCOMMANDS
HSPA+ATCommandsReferenceGuide 234
Syntax
Command Commandtype
AT#SSENDUDPEXT=<connId>,<bytestosend>,,<remoteIP>,<remotePort>
AT#SSENDUDPEXT=? Test
ParametersandValues
<connId>
16 Socketconnectionidentifier.
<bytestosend> Numberofbytestobesent.
11500
<remoteIP>
Stringtype,IPaddressoftheremotehostindotteddecimalnotation:
“xxx.xxx.xxx.xxx”.
<remotePort> Remotehostport.
165535
SendDatainCommandModeExtended#SSENDEXT
Whilethemoduleisincommandmode,thisExecutecommandsendsdatathroughaconnectedsocketincluding
allpossibleoctets(from0x00to0xFF).
Testcommandreturnstherangeofsupportedvaluesfor<connId>and<bytestosend>.
Syntax
Command Commandtype
AT#SSENDEXT=<connId>,<bytestosend> Execute
AT#SSENDEXT=? Test
ParametersandValues
<connId> Socketconnectionidentifier.
16
<bytestosend> Numberofbytestobesent.
Toobtaintherangeusetestcommand.
Thedevicerespondstothecommandwiththeprompt‘>’
<greater_than><space>andwaitsforthedatatosend.
When<bytestosend>bytesissent,operationisautomaticallycompleted.
Ifdataaresuccessfullysent,th
entheresponseisOK.
Ifdatasendingfailsforsomereason,anerrorcodeisreported.
Notes
Youcanonlyuse#SSENDEXTif#SDopenedtheconnection.Otherwise,theMEraisesanerror.
Allspecialcharactersaresentlikeagenericbyte.Forexample,0x08issentthroughthesocketanddoesnot
behavelikeaBS,thatis,previouscharacterisnotdeleted.
Examples
Openthesocketincommandmode:
at#sd=1,0,<port>,"IP address",0,0,1
Vue de la page 233
1 2 ... 229 230 231 232 233 234 235 236 237 238 239 ... 329 330

Commentaires sur ces manuels

Pas de commentaire