E-Lins D120 Series DTU Manual de usuario Pagina 26

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 31
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 25
D120SeriesDTUUserManual
ELinsTechnologyCo.,Limited
6.10 TransparenttransferModeCommunication
6.10.1 Description
D120DTU 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,
itsnormal.
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>
Vista de pagina 25
1 2 ... 21 22 23 24 25 26 27 28 29 30 31

Comentarios a estos manuales

Sin comentarios