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>