How to Send SMS using AT Commands

Tutorials Add comments




This tutorial will explain How to send SMS messages via AT commands using a GSM modem or a mobile phone.

Open Microsoft Hyperterminal or Minicom (Linux) after connecting your phone / GSM modem to the PC.

Type this to check if your GSM modem supports the SMS text mode.

AT+CMGF=1 [ENTER]

It should return OK if it does.

Next, type

AT+CMGS=”+911234512345″ [ENTER]

Message text to sent by SMS

[CTRL]+[Z]

where “+911234512345″ is the recipient’s phone number. After typing the message, press [CTRL+Z] to send the message.

If the message was sent successfully, the GSM modem will respond with a message ID like

+CMGS:XX

Related Posts

4 Responses to “How to Send SMS using AT Commands”

  1. Subhajit Roy Says:

    How to set message centre no. in HTC G! and HTC Mytouch ? Carrier : Airtel, Location : Calcutta, INDIA

  2. peyur Says:

    How cn I change smscentre no in my google nexus s in india I can’t send msgs

  3. Nelida Nate Says:

    Youre so cool! I dont suppose Ive read anything in this way before. So nice to locate somebody by original thoughts on this topic. realy thanks for beginning this up. this fabulous web site is 1 thing that is required on the internet, a person with a bit of originality. beneficial project for bringing a new challenge towards internet!

  4. ps3 flashing red lights fix Says:

    I’ve come across that right now, more and more people will be attracted to video cameras and the subject of digital photography. However, to be a photographer, it’s important to first shell out so much time deciding the model of digital camera to buy in addition to moving store to store just so you could potentially buy the most inexpensive camera of the trademark you have decided to pick out. But it will not end generally there. You also have to contemplate whether you should purchase a digital video camera extended warranty. Thanks alot : ) for the good guidelines I gained from your weblog.

Leave a Reply

All rights reserved by Pathik Shah.
Entries RSS Comments RSS Log in