![ETT ET-BASE GSM SIM900 Manual Download Page 21](http://html.mh-extra.com/html/ett/et-base-gsm-sim900/et-base-gsm-sim900_manual_2434543021.webp)
Manual of Board ET-BASE GSM SIM900
15. How to send English SMS
Before sending SMS, user has to setup format of message to be
Text Mode first by the Command
AT+CMGF=1
; set Parameter of SMS by
the Command
AT+CSMP=17,167,0,0
; and choose the set of character for
sending by the Command
AT+CSCS=“GSM”
as shown in the example (in
this case, user can check if all 3 values are correct by the Command
AT+CMGF?, AT+CSMP?
and
AT+CSCS?
; if yes, user does not set any new
value).
AT+CMGF=1<Ent>
OK
AT+CSMP=17,167,0,0<Ent>
OK
AT+CSCS=
"
GSM
"
<Ent>
OK
It uses the Command
AT+CMGS
to send SMS. If it is Text Mode,
the format of command is
AT+CMGS=“+ telephone number of receiver”
and the telephone number of receiver always replaces the zero by
Country Code. In case of Thailand, the Country Code of Thailand is
“66”. If user requires sending SMS to the telephone number in
Thailand such as 089-4469xxx, it has to set the telephone number of
the receiver as 6689-4469xxx instead; so, the code of person who
receives the message is “+66894469xxx”. When the Module SIM900
receives the Command
AT+CMGS
completely, it acknowledges and responds
the sign “
>
” to user; next, user can type any preferable message to
send to the Module instantly. Finally, it has to end the message by
pressing Key
Ctrl+Z
(0x1A)
. For example, if sending SMS
“Hello Test
SMS”
to the telephone number 0894469xxx, it will be
AT+CMGS="+66894469xxx"<Ent>
>
Hello Test SMS<Ctrl+Z>
+CMGS: 6
OK
If typing the Command
AT+CMGS="+66894469xxx"
and it responds
ERROR
to user, it means that the message that user has typed is
error or user does not set the format of message as Text Mode yet.
In this case, it has to check the operation by Command
AT+CMGF?
; if
it responds by
+CMGF: 0
, it means that user does not set the format
of message as Text Mode yet; so, it has to use the Command
AT+CMGF=1
and follows by
Enter
to setup the format of message as Text Mode.
ETT CO., LTD.
-
20
-
www.etteam.com