to learn about text mode, you can skip ahead to Using PDU Mode to send SMS
Messages .
Using Text Mode to Send SMS Messages
To send an SMS message in text mode, enter the command.
AT+CMGF=1
This sets the modem to text mode. The modem will respond OK.
Now, to send the text message enter the command
AT+CMGS=“15551234567”.
Where 15551234567 is an example of a phone number where you wish to send the
SMS message. The modem will respond with > (the greater than symbol). Now enter
the text message:
>This is an example test message
After you have typed or otherwise entered your text message, type or otherwise enter
Ctrl Z to send the text message. The modem will return OK. If you do not want to send
the text message, enter Esc to cancel the message.
Your modem will send the text message using the default SMS Center and encoding.
You can use the AT+CSCA command to change the default SMS Center, or use the
AT+CSCS command to change the default encoding. For more information about these
commands as well as the AT+CMGF and AT+CMGS commands. please refer to the
Huawei AT Command manual available at www.zoomtel.com/4575support
.
Using PDU Mode to Send SMS Messages
Sending SMS messages in PDU mode requires you to encode your message in the
correct format. Although the formatting is more difficult with a PDU SMS message, PDU
is universally supported and is also more flexible than text mode. To send an SMS
message in PDU mode, we must first set the modem to PDU mode by entering the
following command:
24