Thanks Thanks:  0
Showing results 1 to 1 of 1

Thread: Sending SMS using AT Commands

  1. #1
    BannedUser Reputation: 24
    Join Date
    2008-09-24
    Location
    Orala
    Posts
    157


    Default Sending SMS using AT Commands

    <table><tbody><tr><td>The following AT commands can be used to send SMS via hyper terminal.

    AT<br>OK<br><br>AT+CMGF=1<br>OK<br><br>AT+CSCA="number of message centre"<br>OK<br><br>AT+CMGW="Mobile number"<br>&gt; A simple demo of SMS text messaging. (When finished, press Ctrl+z of the keyboard.)<br>+CMGW: 1 (note this number)<br>OK<br><br>AT+CMSS=1 (the number is from returned value of CMGW)<br>+CMSS: 20<br><br>OK<br></pre>

    If an OK is received then the SMS was sent successfully.

    The default behaviour is to always send SMS using the CS domain
    but it is possible to send SMS over PS domain. This is sometimes used
    by datacards that have not implemented the complete functionality of CS
    domain. To send SMS over PS domain, the following AT command is
    required
    AT+cgsms=0 <br><br>where<br>0 = PS Domain<br>1 = CS Domain<br>2 = PS Domain preferred (else use CS Domain if GPRS not available)<br>3 = CS Domain preferred (else use PS Domain if CS is not available)<br></pre>

    If you use AT+cgsms=0 and If the SGSN is not configured for SMS then
    the sending of SMS will fail and the UE will resend the SMS
    automatically using CS Domain.
    <!-- End Main Code -->
    </td>
    <td valign="top">
    <script type="text/javascript"><!--
    google_ad_client = "pub-4136234335250116";
    google_ad_width = 120;
    google_ad_height = 600;
    google_ad_format = "120x600_as";
    google_ad_channel ="";
    google_ad_type = "text_image";
    google_color_border = "2D5893";
    google_color_bg = "99AACC";
    google_color_link = "000000";
    google_color_url = "000099";
    google_color_text = "003366";
    //--></script>
    <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script><script> window.google_render_ad();&#160;</script>
    <br></td>

    </tr>
    </tbody></table>

  2. # ADS
    Circuit advertisement
    Join Date
    Always
    Location
    Advertising world
    Posts
    Many
     

Bookmarks

Bookmarks

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •