D120
Series
DTU
User
Manual
E
‐
Lins
Technology
Co.,
Limited
Chapter
5
6
Command
function
6.1
Setting
registration
package
AT+REGINFO=<method>,<delay>,<RegInfoString>
<method>
‐
0
if
this
function
is
disabled
‐
1
if
the
registration
information
packet
is
sent
after
each
time
the
connection
is
made
on
a
different
IP.
‐
2
if
the
registration
information
packet
is
sent
after
each
time
the
connection
is
made.
<delay>
‐
The
delay
(in
seconds)
between
<method>
is
triggered
and
the
string
is
being
sent.
0
means
that
the
string
will
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
“AT+VERSION”
AT+VERSION?
(Read
Only)
+VERSION:
<version>
<version>
‐
A
string
that
indicate
the
version
of
the
program.
AT+DTUID=<DTUID>
-
The
command
is
used
to
set
the
DTU
identifier
for
unit
‐
<DTUID>
is
the
DTU
identifier
set
for
the
unit
AT+DATAMODE=<mode>
Set
the
format
of
the
data
packets
that
will
sent
thought
‐
out
the
network
<mode>:
‐
0
(default)
for
the
data
the
encapsulated
with
headers
(format
from
the
customer
docment).
note:
In
this
mode
must
set
AT+REGINFO=0
‐
1
for
the
direct
data
mode,
no
packet
header
encapsulated.