CUSTOMATCOMMANDS
HSPA+ATCommandsReferenceGuide 234
Syntax
Command Commandtype
AT#SSENDUDPEXT=<connId>,<bytestosend>,,<remoteIP>,<remotePort>
AT#SSENDUDPEXT=? Test
ParametersandValues
<connId>
1‐6 Socketconnectionidentifier.
<bytestosend> Numberofbytestobesent.
1‐1500
<remoteIP>
Stringtype,IPaddressoftheremotehostindotteddecimalnotation:
“xxx.xxx.xxx.xxx”.
<remotePort> Remotehostport.
1‐65535
SendDatainCommandModeExtended#SSENDEXT
Whilethemoduleisincommandmode,thisExecutecommandsendsdatathroughaconnectedsocketincluding
allpossibleoctets(from0x00to0xFF).
Testcommandreturnstherangeofsupportedvaluesfor<connId>and<bytestosend>.
Syntax
Command Commandtype
AT#SSENDEXT=<connId>,<bytestosend> Execute
AT#SSENDEXT=? Test
ParametersandValues
<connId> Socketconnectionidentifier.
1‐6
<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
Commentaires sur ces manuels