D120
Series
DTU
User
Manual
E
‐
Lins
Technology
Co.,
Limited
5
How
to
send
SMS
Operation
Procedure
and
interrelated
commands
AT+CMGF
——
SMS
format
setting
AT+CPMS
——
SMS
saving
carrier
setting
AT+CNMI
——
hint
modes
of
SMS
receiving
&sending
setting
AT+CMGS
——
SMS
sending
AT+CMGL
——
SMS
displaying
Note:
some
commands
mentioned
above
can
be
used
only
when
inserted
SIM
card
with
SMS
function
z
+CPMS-----command choose of SMS carrier saving
Note:
this
command
can
be
used
to
choose
or
query
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
total
memory
of
SIM
card
is15,
the
current
memory
is8,
the
total
memory
of
ME
module
is
40,
the
current
memory
is1
AT+CPMS=”SM”,”SM”
+CPMS:
8,15,8,15,1,40
OK
Note:
the
total
memory
of
SIM
card
is15,
the
current
memory
is8,
the
total
memory
of
ME
module
is
40,
the
current
memory
is1
AT+CPMS=”SM”,”SM”,”SM”
+CPMS:
8,15,8,15,8,15
OK
Note:
the
total
memory
of
SIM
card
is15,
the
current
memory
is8,
the
total
memory
of
ME
module
is
40,
the
current
memory
is1
AT+CPMS=”ME”,”SM”,”SM”
+CPMS:
1,40,8,15,8,15