background image

 

D120

 

Series

 

DTU

 

User

 

Manual

 

E

Lins

 

Technology

 

Co.,

 

Limited

 

6.10

 

 

Transparent

 

transfer

 

Mode

 

Communication

 

6.10.1

 

Description

 

D120

DTU

 

has

 

two

 

operating

 

modes,

 

one

 

is

 

Command

 

Mode,

 

and

 

the

 

other

 

is

 

Transparent

 

transfer

 

Mode.

 

Socket

 

communication

 

is

 

implemented

 

in

 

Command

 

Mode,

 

when

 

operating

 

need

 

commands

 

to

 

be

 

sent.

 

While

 

in

 

Transparent

 

transfer

 

Mode,

 

as

 

long

 

as

 

you

 

initialize

 

its

 

parameter,

 

you

 

can

 

transfer

 

data

 

via

 

the

 

parameter

 

directly.

 

That’s

 

because

 

Transparent

 

transfer

 

Mode

 

helps

 

the

 

equipment

 

connect

 

to

 

D120

 

set

 

TCP/UDP

 

Socket

 

connection

 

via

 

serial

 

link.

   

6.10.2

 

Environment

 

requests

 

You

 

should

 

be

 

sure

 

about

 

the

 

following

 

test

 

environment

 

before

 

starting

 

the

 

test:

 

z

 

A

 

computer

 

online

 

as

 

Transparent

 

transfer

 

Mode

 

server,

 

which

 

should

 

have

 

public

 

network

 

IP

 

address.

   

z

 

Assure

 

that

 

the

 

application

 

service

 

center

 

has

 

no

 

gateway

 

programming

 

implementation,

 

and

 

no

 

restriction

 

to

 

1024

 

port

   

z

 

Copy

 

Server.exe

 

(Download

 

from

 

www.szelins.com)

 

and

 

implement

 

in

 

the

 

computer.

   

z

 

Setup

 

listening

 

mode

 

(Default

 

one

 

is

 

1024).

   

z

 

Get

 

the

 

IP

 

address

 

of

 

the

 

computer.

   

z

 

Another

 

machine

 

for

 

communication

 

between

 

Socket

 

Client

 

server

 

and

 

server.

 

z

 

 

Open

 

the

 

hyper

 

terminal

 

of

 

the

 

client

   

6.10.3

 

Initialization

 

setting

 

Transparent

 

transfer

 

Mode

 

is

 

established

 

by

 

first

 

defining

 

all

 

related

 

parameters

 

using

 

AT

 

commands.

 

Once

 

in

 

Transparent

 

transfer

 

Mode,

 

no

 

additional

 

AT

 

commands

 

may

 

be

 

sent,

 

as

 

the

 

host

 

serial

 

link

 

will

 

be

 

dedicated

 

to

 

data,

 

any

 

characters

 

will

 

be

 

sent

 

as

 

data.

 

In

 

this

 

mode,

 

no

 

response

 

for

 

any

 

commands,

 

it’s

 

normal.

 

 

AT+CLIENTCONFIG=1,"XXX.XX.XXX.XXX",80

 

 

//

 

Set

 

Socket

 

communication

 

server

 

IP,

 

xxx.xxx.xxx.xxx

 

means

 

IP

 

address,

 

or

 

name

 

of

 

the

 

server,

 

but

 

it

 

should

 

be

 

the

 

one

 

which

 

DNS

 

can

 

read.

 

<Port

 

Number>

 

means

 

server

 

listen

 

port.

 

If

 

successfully

 

sets,

 

returns

 

with

 

I/OK.

 

 

AT+GPRSCONFIG=<method>,”apn”,”login”,”password”

 

//<method>

 

Summary of Contents for D120 Series DTU

Page 1: ...D120 DTU User Manual E Lins Technology Co Limited ADDRESS Bld 22 Longxi Garden Nonglin Road Futian District Shenzhen P R China Tel 86 755 83700465 Email info szelins com Web http www szelins com...

Page 2: ...lways online 13 4 1 2 UDP client Transparent transfer Mode transitory link 13 4 2 TCP MODE 14 4 2 1 TCP client Transparent transfer Mode always online 14 4 2 2 TCP client Transparent transfer Mode tra...

Page 3: ...User Manual E Lins Technology Co Limited 5 10 TRANSPARENT TRANSFER MODE COMMUNICATION 26 5 10 1 Description 26 5 10 2 Environment requests 26 5 10 3 Initialization setting 26 6 PRODUCTION LIST 28 6 1...

Page 4: ...on Version Date Description Author 1 00 2009 6 28 Nearly complete Jason 1 2 Referenced Documents D120_DTU_Datasheet 1 3 Notice E Lins is a registered trademark of Shenzhen E Lins Technology Co Ltd The...

Page 5: ...which has no TCP IP but has serial interface such as SCM Data Collection Transmission System 2 2 Features z Compact and easy to integrate into your solution z Multi flexible and compact data interface...

Page 6: ...rature 30 85 Humidity 90 Electromagnetic Compatible Electrostatic Discharge ESD 3 class Radiated radio frequency electromagnetic field immunity test 3 class 2 4 Application z Remote Data Monitor and C...

Page 7: ...product have three Led pwr LED is power state Ring LED is Ring state Data LED is Data state PWR Ring Data Start up Lights up 3s flashing 0 5s wink 0 5s lights up0 5s wink Lights up 0 5s Logon network...

Page 8: ...ter 5s wink wink wink 3 3 Connect to products Please connect antenna and cable with our products make sure The port is COM1 or COM2 3 4 Insert SIM Card Open the back cover insert into SIM card as foll...

Page 9: ...D120 Series DTU User Manual E Lins Technology Co Limited Choose a right port The right configuration as following...

Page 10: ...ot connected really you can see the red mark of follow picture without any number And then first Disconnect existing connection second Click the red arrowhead Click the configure and make sure again o...

Page 11: ...120 Series DTU User Manual E Lins Technology Co Limited 3 5 make sure your modify configure again click OK Then you can see it appeared baud rate on white label then click the black label to make call...

Page 12: ...mmand AT CF Test at command OK Response ok parameter if successfully connected you can make sure the module have no malfunction AT CSQ CF to check the Signal quality CSQ Should be the number between 1...

Page 13: ...TAMODE 1 AT SOCKETOPEN 1 UDP switch to Socket mode AT DATAOPEN communication Switch to the configuration model this command can t be displayed AT SOCKETCLOSE 4 1 2 UDP client Transparent transfer Mode...

Page 14: ...cket AT KEEPALIVE 40 alive packet set the keep alive packet in second AT DTUID 12345678901 set the DTU ID in 11 figures AT DATAMODE 1 AT SOCKETOPEN 1 TCP switch to Socket mode AT DATAOPEN communicatio...

Page 15: ...mode OK at wopen 0 To restore the value of the factory OK at wopen 3 To restore the value of the factory OK at wopen 1 To restore the value of the factory OK at OK at gprsconfig query the model APN u...

Page 16: ...rver www szelins com port 80 OK at idletime 0 set up to connect of always online OK at reginfo 0 Regiftry setting for each packet sent immediatelyto connect close the Registration information packet O...

Page 17: ...about SMS saving carrier after inserting SMS card Format AT CPMS mem1 mem2 mem3 value CPMS used1 total1 used2 total2 used3 total3 OK ERROR commands value AT CPMS SM CPMS 8 15 8 15 1 40 OK Note the tot...

Page 18: ...E ERROR Note commands format error defalt AT CPMS CPMS SM 8 15 SM 8 15 ME 1 40 OK Note the current SMS saving carrier setting as bellow mem1 is SM mem2 IS ME AT CPMS ERROR Note commands format error A...

Page 19: ...510090403 IT IS TEST NOW OK AT CMGS 15019232232 TEST OK note ESC is for EXIT CMGR SMS reading command Note this command is for reading the SMM saved in the SIM card Format after inserting the SIM card...

Page 20: ...CTRL Z is for confirm ESC is for exit commands value AT CMGW 13534139079 SHELLEY123456 CMGW 1 OK AT CMGW 13534139079 SF OK ESC note ESC is for EXIT CMGD SIM SIM AT CMGD index AT CMGD 1 OK 1 CMGL AT C...

Page 21: ...not sent immediately RegInfoString The actually registration information packet being sent Two variables could not used in string IP The IP address of the module VERSION The version string defined in...

Page 22: ...ation set IpAddress The IP address in string which the socket is going to connect port The TCP IP port in number which the socket is going to connect Note This command can be set a number of centers f...

Page 23: ...ment IpAddress The IP address in string which the socket is going to connect port The TCP IP port in number which the socket is going to connect Note The terminal is still in AT mode after issue this...

Page 24: ...400 4800 9600 19200 38400 57600 115200 230400 460800 921600 Note Possible values according to V25 ter recommendation the first set of values indicates the range of auto detectable baud rates The secon...

Page 25: ...itor Reserved Monitor Send Disable the Function 6 9 Idle time control AT IDLETIME n n in minutes requires to be idle on both sides in order to let the DTU to disconnect itself from connection Keep ali...

Page 26: ...ervice center has no gateway programming implementation and no restriction to 1024 port z Copy Server exe Download from www szelins com and implement in the computer z Setup listening mode Default one...

Page 27: ...chnology Co Limited 0 change to AT I mothod 1 use AT command APN APN that required for TCP IP connection over GPRS login Login that required for TCP IP connection over GPRS password Password that requ...

Page 28: ...N login password method 0 change to AT I mothod 1 use AT command APN APN that required for TCP IP connection over GPRS login Login that required for TCP IP connection over GPRS password Password that...

Page 29: ...minutes requires to be idle on both sides in order to let the DTU to disconnect itself from connection Keep alive and registration information packet is not counted 0 means the feature is disabled 5 A...

Page 30: ...ocket is going to connect port The TCP IP port in number which the socket is going to connect Note The terminal is still in AT mode after issue this command 9 AT DATAOPEN This command is to turn the t...

Page 31: ...5200 230400 460800 921600 0 3 00 600 1200 2400 4800 9600 19200 38400 57600 115200 230400 460800 921600 Note Possible values according to V25 ter recommendation the first set of values indicates the ra...

Reviews: