E-Lins D120 Series DTU User manual

D120DTUUserManual
E‐LinsTechnologyCo.,Limited
ADDRESS:Bld.22,LongxiGarden,NonglinRoad,FutianDistrict,Shenzhen,P. R . C h i n a
Tel:86‐755‐83700465
Email:info@szelins.com
Web:http://www.szelins.com

D120SeriesDTUUserManual
E‐LinsTechnologyCo.,Limited
TableofContents
1PROLOGUE ·······································································································································4
1.1VERSION ····································································································································4
1.2REFERENCEDDOCUMENTS ············································································································· 4
1.3NOTICE ······································································································································4
2INTRODUCTION······························································································································5
2.1BRIEF ········································································································································5
2.2FEATURES···································································································································5
2.3SPECIFICATION····························································································································· 5
2.4APPLICATION·······························································································································6
3GETTING STARTED························································································································7
3.1PANELINTRODUCTION··················································································································· 7
3.2THELEDSTATE ····························································································································7
3.3CONNECTTOPRODUCTS ················································································································8
3.4INSERTSIMCARD························································································································ 8
3.5NOTE:HYPERTERMINAL ··············································································································· 8
3.6TESTCOMMAND ························································································································ 12
4CONFIGURE DTU BY PC ·············································································································13
4.1UDPMODE ····························································································································· 13
4.1.1UDPclientTransparenttransferModealwaysonline ································13
4.1.2UDPclientTransparenttransferModetransitorylink.·······························13
4.2TCPMODE ···························································································································· 14
4.2.1TCPclientTransparenttransferModealwaysonline ·································14
4.2.2TCPclientTransparenttransferModetransitorylink.································14
4.3FOR EXAMPLE ······················································································································· 15
5COMMAND FUNCTION ···············································································································21
5.1SETTINGREGISTRATIONPACKAGE ··································································································· 21
5.2SETTINGKEEPALIVEPACKAGE ········································································································ 22
5.3SETTINGCLIENTADDRESSANDPORT······························································································· 22
5.4SETINATRANSPARENTTRANSFERMODE ························································································· 22
5.5OTHERATCOMMANDS ··············································································································· 23
5.5.1AT+IPCONFIG? ······················································································23
5.5.2AT+TELE=<index>,<Tel_num> ·································································23
5.5.3AT+SMS=<sms>····················································································· 23
5.5.4AT+CSQ ································································································24
5.5.5AT+CFUN=1 ··························································································24
5.5.6To restore the value of the factory ······················································24
5.6BAUDRATE······························································································································· 24
5.7APNCONFIGURATION················································································································· 24
5.8WATCHDOG····························································································································· 25
5.9IDLETIMECONTROL ···················································································································· 25

D120SeriesDTUUserManual
E‐LinsTechnologyCo.,Limited
5.10TRANSPARENTTRANSFERMODECOMMUNICATION ····································································· 26
5.10.1Description···························································································26
5.10.2Environmentrequests············································································26
5.10.3Initializationsetting··············································································· 26
6PRODUCTION LIST·······················································································································28
6.1AT COMMAND ······················································································································· 28

D120SeriesDTUUserManual
E‐LinsTechnologyCo.,Limited
Chapter1
1Prologue
Thisdocumentisjustsuitforthefollowingmodetype;ithelpsyouquicklytousedD120DTU
functionandresolvessomecommonquestions.
TypeMarks
D120GPRSDTU
1.1 Version
VersionDateDescriptionAuthor
1.002009‐6‐28 NearlycompleteJason
1.2 ReferencedDocuments
D120_DTU_Datasheet
1.3 Notice
E‐LinsisaregisteredtrademarkofShenzhenE‐LinsTechnologyCo.,Ltd.
ThecopyrightofthedocumentbelongstoShenzhenE‐LinsTechnologyCo.,Ltd.Copyingofthis
documentandmodifyingitandtheuseorcommunicationofthecontentsthereof,isforbidden
withoutexpressauthority.Offendersareliabletothelegalsanction.

D120SeriesDTUUserManual
E‐LinsTechnologyCo.,Limited
Chapter2
2Introduction
2.1 Brief
D120SerialsisaGPRS/CDMADTUwithTCP/IPProtocolembedded.Ithastwo
comparativelyindividualparts:IPModulewithTCP/IP,softwareinterfaceisATcommands;and
GPRS/CDMAModule,supportsalltheATCommands.AllthestandardATCommandsare
transferredtoGPRS/CDMAModuleviathetransparentModeofIPModule.
D120SerialsisusuallyapplicabletotheHOST,whichhasnoTCP/IPbuthasserialinterface,such
asSCMDataCollectionTransmissionSystem.
2.2 Features
zCompactandeasytointegrateintoyoursolution;
zMulti‐flexibleandcompactdatainterface,TTL,232and485,TTLand232arereduced
toRx,Tx,GND;
zSupportsmoreIPProtocolfamilies;
zDatatransmissionviaTransparenttransferMode,enterstransmissionmodewhen
poweron;
zMulti‐operatingstatusLED;
zOptimizedmodularizationdesign,easytoupgrade.
2.3 Specification
D120RadioFrequency
UseofGSMphase2/2 +
GSM850Mhz/900MHz/1800MHz/1900Mhz
Outputpower:Class4(2W)atEGSM900Class1(1W)atDCS1800
D120Powerconsumption:
Speechmode:300mA

D120SeriesDTUUserManual
E‐LinsTechnologyCo.,Limited
Sleepmode:3.5mA
Powerdown:50µA
GPRSModemaverage:360mA
Dimension
Interface:RS‐232/485/TTLDB9
Antenna:50ohm/SMA/Female
Inputvoltage:5~25V(9V)
OperatingvoltageofSIMcard:3V/1.8V
MaxspeedrateofCSD:14.4KBPS
Modulereset:ATcommands
Voicedecodestandards(threekindsofrate):
Half‐speed(ETS06.20)
Full‐speed(ETS06.10)
Enhancedfull‐speed(ETS06.50/06.60/06.80)
volume:75*50/72*16mm
weight:200g
Environment
Ambienttemperature:–20℃to+60℃
Storagetemperature:‐30℃~85℃
Humidity:≤ 90%
ElectromagneticCompatible
ElectrostaticDischarge(ESD): 3class
Radiated,radio‐frequency,electromagneticfieldimmunitytest:3class
2.4 Application
zRemoteDataMonitorandControl
zWater,gasandoilflowmetering
zAMR(automaticmeterreading)
zPowerstationmonitoringandcontrol
zRemotePOS(pointofsale)terminals
zTrafficsignalsmonitorandcontrol
zFleetmanagement
zPowerdistributionnetworksupervision
zCentralheatingsystemsupervision
zWeatherstationdatatransmission
zHydrologicdataacquisition
zVendingmachine
zTrafficinfoguidance
zParkingmeterandTaxiMonitor
zTelecomequipmentsupervision(Mobilebasestation,microwaveoropticalrelaystation)

D120SeriesDTUUserManual
E‐LinsTechnologyCo.,Limited
Chapter3
3GettingStarted
3.1 Panel introduction
Note:AboutHardwaredescription.pleaseaccordingtothedatasheetfile
3.2 TheLEDstate
Inordertocheckthemoduleworkingstate.ourproducthavethreeLed,pwrLEDispowerstate,
RingLEDisRingstate,DataLEDisDatastate。
PWRRingData
Start‐upLightsup3s,flashing0.5s,wink
0.5s,lightsup0.5s
winkLightsup
0.5s
Logonnetworkflashingwinkflashing
Sleepstate Lightsup0.5s,wink0.5swinkwink
dateTransfer Lightsup0.5s,wink0.5swinkflashing
NodatetransferLightsup0.5s,wink0.5s,Lights
up1s
winkwink
VoicecallLightsup0.5s,wink0.5sLightsup1s,wink

D120SeriesDTUUserManual
E‐LinsTechnologyCo.,Limited
wink4s
rebootAfter5s.winkwinkwink
3.3 Connecttoproducts
Pleaseconnectantennaandcablewithourproducts,makesure
TheportisCOM1orCOM2?
3.4 InsertSIMCard
Openthebackcover.insertintoSIMcardasfollow
3.5 Note:HyperTerminal
OpentheHyperTerminalandinput***(any)asfollows

D120SeriesDTUUserManual
E‐LinsTechnologyCo.,Limited
Choosearightport
Therightconfigurationasfollowing

D120SeriesDTUUserManual
E‐LinsTechnologyCo.,Limited
(图 3‐3)
Whenyourstart‐upHyperTerm inal,itisnotconnectedreally,youcanseetheredmarkof
followpicturewithoutanynumber.Andthen,firstDisconnectexistingconnection,
second,Clicktheredarrowhead
Clickthe“configure”,andmakesureagainofyoumodifyconfigure
Nobaudrate
Second,click
“attribute”tab
One‐step,Disconnect
existingconnection

D120SeriesDTUUserManual
E‐LinsTechnologyCo.,Limited
(图3‐5)
makesureyourmodifyconfigureagain,click“OK”
Thenyoucanseeitappearedbaudrateonwhitelabel,thenclicktheblacklabeltomakecall

D120SeriesDTUUserManual
E‐LinsTechnologyCo.,Limited
providepowersupplywithourproducts,youconfiguredtheHyperTerminalsuccessfully
3.6 Testcommand
TestATcommand
AT<CF>//Test“at“command
OK//Responseokparameterifsuccessfullyconnected,youcanmake
surethemodulehavenomalfunction
AT+CSQ<CF>//tochecktheSignalquality
+CSQ:**,## //**Shouldbethenumberbetween10and31,thesignalquality
becomesbetterasthenumbergrows.##shouldbeis99,
OryoushouldcheckingtheequipmentofantennaorSIMcard.
HaveshowdetectBaud
Makecall

D120SeriesDTUUserManual
E‐LinsTechnologyCo.,Limited
Chapter4
4ConfigureDTUbyPC
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”//setthekeepalivepacket,(insecond)
AT+DTUID=12345678901 //settheDTUID,in11figures
AT+DATAMODE=1
AT+SOCKETOPEN=1,”UDP”//switchtoSocketmode
AT+DATAOPEN
……
……
……//communication
……
……
+++//Switchtotheconfigurationmodel,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”//setthenumbertowakeupDTU
AT+SMS=”waveup”//settheSMStowakeupDTU,mustusethe
TELEnumber.

D120SeriesDTUUserManual
E‐LinsTechnologyCo.,Limited
AT+DATAMODE=1
AT+SOCKETOPEN=1,”UDP”//switchtoSocketmode
AT+DATAOPEN
……
……
……//communication
……
……
+++//Switchtotheconfigurationmodel,thiscommandcan’tbedisplayed
AT+SOCKETCLOSE
4.2 TCP Mode
4.2.1 TCPclientTransparenttransferModealwaysonline
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”//setthekeepalivepacket,(insecond)
AT+DTUID=12345678901 //settheDTUID,in11figures
AT+DATAMODE=1
AT+SOCKETOPEN=1,”TCP”//switchtoSocketmode
AT+DATAOPEN
……
……
……//communication
……
……
+++//Switchtotheconfigurationmodel,thiscommandcan’tbedisplayed
AT+SOCKETCLOSE
4.2.2 TCPclientTransparenttransferModetransitorylink.
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

D120SeriesDTUUserManual
E‐LinsTechnologyCo.,Limited
AT+TELE=1,”1381111111”//setthenumbertowakeupDTU
AT+SMS=”waveup”//settheSMStowakeupDTU,mustusethe
TELEnumber.
AT+DATAMODE=1
AT+SOCKETOPEN=1,”TCP”//switchtoSocketmode
AT+DATAOPEN
……
……
……//communication
……
……
+++//Switchtotheconfigurationmodel,thiscommandcan’tbedisplayed
AT+SOCKETCLOSE
4.3 For Example
AT//switchATcommandmodetoATcommandmode
OK
at+wopen=0//Torestorethevalueofthefactory
OK
at+wopen=3//Torestorethevalueofthefactory
OK
at+wopen=1//Torestorethevalueofthefactory
OK
at
OK
at+gprsconfig?//querythemodel,APN,usernameandpassword
+GPRSCONFIG:0,"internet","",""
OK
at+clientconfig?//querytheAddressofclientandport
+CLIENTCONFIG:1,"192.168.1.5",5000
OK
at+idletime?//querythesurvivaltimeafternodata(inminutes)
+IDLETIME:1
OK
at+reginfo?//querythewaytosendtheregisteationpacket,
interval,andcontent
+REGINFO:1,0,"Thisisthe%VER@%IP"
OK
at+tele?//querytheWake‐upnumber
OK
at+sms?//querytheSMSforWake‐up
+SMS:

D120SeriesDTUUserManual
E‐LinsTechnologyCo.,Limited
OK
at+keepalive?//querythekeepalivepacket
+KEEPALIVE:10,"ThisistheKeepAlivePacket"
OK
at+socketopen?//Sockettoconnectastateinquiry
OK
at+gprsconfig=1,"cmnet","wap","wap"//settinganorderforOpenATmodel;APN:cmnet,
username:wap,password:wap;
OK
at+clientconfig=1,"www..szelins.com/",80//setuptheclientserver:”
www..szelins.com”,port:80
OK
at+idletime=0//setuptoconnectofalwaysonline
OK
at+reginfo=0//Regiftrysettingforeachpacketsentimmediatelyto
connect,closetheRegistrationinformationpacket
OK
at+keepalive=20,"ThisistheKeepAlivePacket!"//Setkeepalivepacketfor20
seconds,Says:"ThisistheKeepAlivePacket!"
OK
at+dtuid=32165498721//settheDTUID,in11figures
OK
at+datamode=0
OK
at+cfun=1//RestarttheDTU
OK
at+dataopen//DATAtransmission
OK
……
……
……(SendingDATA)
……
……//+++delay1secnod,returntothecommandmode
OK
OK
at+socketclose//closethedatatransmission

D120SeriesDTUUserManual
E‐LinsTechnologyCo.,Limited
5HowtosendSMS
OperationProcedureandinterrelatedcommands
AT+CMGF——SMSformatsetting
AT+CPMS——SMSsavingcarriersetting
AT+CNMI——hintmodesofSMSreceiving&sendingsetting
AT+CMGS——SMSsending
AT+CMGL——SMSdisplaying
Note:somecommandsmentionedabovecanbeusedonlywheninsertedSIMcardwithSMS
function
z+CPMS-----command choose of SMS carrier saving
Note:thiscommandcanbeusedtochooseorqueryaboutSMSsavingcarrierafterinsertingSMS
card
Format:AT+CPMS=<mem1>[,<mem2>][,<mem3>]
value:+CPMS:<used1>,<total1>,<used2>,<total2>,<used3>,<total3>
OK
ERROR
commandsvalue
AT+CPMS=”SM”+CPMS:8,15,8,15,1,40
OK
Note:thetotalmemoryofSIMcardis15,the
currentmemoryis8,thetotalmemoryofME
moduleis40,thecurrentmemoryis1
AT+CPMS=”SM”,”SM”+CPMS:8,15,8,15,1,40
OK
Note:thetotalmemoryofSIMcardis15,the
currentmemoryis8,thetotalmemoryofME
moduleis40,thecurrentmemoryis1
AT+CPMS=”SM”,”SM”,”SM”
+CPMS:8,15,8,15,8,15
OK
Note:thetotalmemoryofSIMcardis15,the
currentmemoryis8,thetotalmemoryofME
moduleis40,thecurrentmemoryis1
AT+CPMS=”ME”,”SM”,”SM”+CPMS:1,40,8,15,8,15

D120SeriesDTUUserManual
E‐LinsTechnologyCo.,Limited
OK
Note:thetotalmemoryofSIMcardis15,the
currentmemoryis8,thetotalmemoryofME
moduleis40,thecurrentmemoryis1
AT+CPMS=”ME”,”SM”,”ME”+CPMS:1,40,8,15,1,40
OK
Note:thetotalmemoryofSIMcardis15,the
currentmemoryis8,thetotalmemoryofME
moduleis40,thecurrentmemoryis1
AT+CPMS=”MEERROR
Note:commandsformaterror,{”}defalt
AT+CPMS?+CPMS:"SM",8,15,"SM",8,15,"ME",1,40
OK
Note:thecurrentSMSsavingcarriersettingas
bellow:mem1isSM,mem2ISME
AT+CPMS!ERROR
Note:commandsformaterror
AT+CPMS=?+CPMS:("ME","SM"),("ME","SM"),("ME","SM")
OK
+CMGF-------SMS format commands setting
Note:thiscommandforSMSsendingformatsetting
Format:0and1isoptionalwheninput“AT+CMGF=<mode>”undertheconfigmode,0isforPDU
format,1isforTAXEformat,wheninputChinese,PDUformatmustbeused.
Commandsvalue
AT+CGMF=0OK
AT+CGMF=1OK
AT+CGMF?+CMGF:0
OK
AT+CGMF=?+CMGF:(0,1)
OK

D120SeriesDTUUserManual
E‐LinsTechnologyCo.,Limited
+CMGS--------- SMS sending command
Note:afterinputtingtheSIMcards,thiscommandisforsendingSMSundertheconfigmode
format:AT+CMGS=<da>[,<toda>]<CR>
Textisentered<ctrl‐z/ESC>
Note:CTRL‐Zisforconfirm,ESCisforexit
Commandsvalue
AT+CMGS=13510090403
>TEST
+CMSERROR:500
Commanderror
AT+CMGS="13510090403"
>ITISTESTNOW
OK
AT+CMGS=”15019232232”
>TEST
OK
note:ESCisforEXIT
+CMGR-------SMS reading command
Note:thiscommandisforreadingtheSMMsavedintheSIMcard
Format:afterinsertingtheSIMcard,useAT+CMGR=<indes>undertheconfigmode
commandvalue
AT+CMGR=5OK
note:area5isdefalt
AT+CMGR=2+CMGL:
2,"RECREAD","+8613682326205","N?R","03/08/28
17:30:35+00"
998B76844F60002E518D5FCD5FCD5427+CMGS:235
OK
at+cmgr=14
+CMGR:"STOUNSENT","15019232232",
test,cmgw
OK
+CMGW------SMS saving command
说明:使用该命令写短信,并保存到存储载体
Note:thiscommandisforwritingandsavingSMStothesavingcarrier

D120SeriesDTUUserManual
E‐LinsTechnologyCo.,Limited
format:useAT+CMGW=”SIMcardnumber”undertheconfigmode
<CR>content<CTRL‐Zisforconfirm>/<ESCisforexit>
commandsvalue
AT+CMGW="13534139079"
>SHELLEY123456
+CMGW:1
OK
AT+CMGW="13534139079"
>SF
OK
注:<ESC 退出>note:<ESCisforEXIT>
删除短信指令+CMGD
说明:插入 SIM 卡后,使用此命令可以删除 SIM 卡中保存的短信
格式:AT+CMGD=<index>
命令返回值
AT+CMGD=1OK
说明:1 号短信被删除;
显示短信指令+CMGL
说明:显示短信清单
格式:AT+CMGL=<stat>
返回:+CMGL:<index1>,<stat>,<oa/da>,[<alpha>],[<scts>][,<tooa/toda>,<length>]
<CR><LF><data>[<CR><LF>
发送保存短信命令+CMSS
说明:发送存储载体中的短信
格式:AT+CMSS=<index>
命令返回值
AT+CMSS=1ERROR
AT+CMSS=1OK
This manual suits for next models
1
Table of contents
Other E-Lins Modem manuals