E-Lins D120 Series DTU Manuel d'utilisateur Page 26

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 31
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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>
Vue de la page 25
1 2 ... 21 22 23 24 25 26 27 28 29 30 31

Commentaires sur ces manuels

Pas de commentaire