
D120SeriesDTUUserManual
E‐LinsTechnologyCo.,Limited
6.10 TransparenttransferModeCommunication
6.10.1 Description
D120‐DTU has two operating modes, one is Command Mode, and the other is Transparent
transferMode.SocketcommunicationisimplementedinCommandMode,whenoperatingneed
commandstobesent.WhileinTransparenttransferMode,aslongasyouinitializeitsparameter,
youcantransferdataviatheparameterdirectly.
That’sbecauseTransparenttransferModehelps
theequipmentconnecttoD120setTCP /UDPSocketconnectionviaseriallink.
6.10.2 Environmentrequests
Youshouldbesureaboutthefollowingtestenvironmentbeforestartingthetest:
z A computer online as Transparent transfer Mode server, which should have public
networkIPaddress.
z Assure that the application service center has no gateway programming
implementation,andnorestrictionto1024port
z CopyServer.exe
(Downloadfromwww.szelins.com)andimplement inthecomputer.
z Setuplisteningmode(Defaultoneis1024).
z GettheIPaddressofthecomputer.
z AnothermachineforcommunicationbetweenSocketClientserverandserver.
z Openthehyperterminaloftheclient
6.10.3 Initializationsetting
TransparenttransferModeisestablishedbyfirstdefiningallrelatedparametersusingAT
commands.OnceinTransparenttransferMode,noadditionalATcommandsmaybesent,asthe
hostseriallinkwillbededicatedtodata,anycharacterswillbesentasdata.Inthismode,no
responseforanycommands,
it’snormal.
AT+CLIENTCONFIG=1,"XXX.XX.XXX.XXX",80
//SetSocketcommunicationserverIP,xxx.xxx.xxx.xxxmeansIPaddress,ornameoftheserver,
butitshouldbetheonewhichDNScanread.<PortNumber>meansserverlistenport.If
successfullysets,returnswithI/OK.
AT+GPRSCONFIG=<method>,”apn”,”login”,”password”
//<method>
Kommentare zu diesen Handbüchern