
D120SeriesDTUUserManual
E‐LinsTechnologyCo.,Limited
Chapter4
4 ConfigureDTUbyPC
4.1 UDPMode
4.1.1 UDPclientTransparenttransferModealwaysonline
AT+GPRSCONFIG=1,”cmnet”,”wap”,”wap”
AT+CLIENTCONFIG=1,”210.105.96.117”,7777 //settheServerIPandport
AT+IDLETIME=0//alwaysonline
AT+REGINFO=0//closetheRegistrationinformationpacket
AT+KEEPALIVE=40,”alivepacket”//setthekeepalivepack et,(insecond)
AT+DTUID=12345678901 //settheDTUID,in11figures
AT+DATAMODE=1
AT+SOCKETOPEN=1,”UDP”//switchtoSocketmode
AT+DATAOPEN
……
……
……//communication
……
……
+++//Switchto
theconfigurationmodel,thiscommandcan’tbedisplayed
AT+SOCKETCLOSE
4.1.2 UDPclientTransparenttransferModetransitorylink.
AT+GPRSCONFIG=1,”cmnet”,”wap”,”wap”
AT+CLIENTCONFIG=1,”210.105.96.117”,7777 //settheServerIPandport
AT+IDLETIME=5//thetimeoflastdata(inminute)
AT+REGINFO=2,1,”reginfo”
//starttheRegistrationinformationpacket
AT+KEEPALIVE=40,”alivepacket”//setthekeepalivepacket,(insecond)
AT+DTUID=12345678901 //settheDTUID,in11figures
AT+TELE=1,”13812151578”//setthenumbertowak eupDTU
AT+SMS=”waveup” //setthe
SMStowakeupDTU,mustusethe
TELEnumber.
Komentáře k této Příručce