Send SMS using Hyperterminal


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: Send SMS using Hyperterminal

  1. #1
    Join Date
    Dec 2006
    Posts
    4

    Send SMS using Hyperterminal

    Still struggling with sending SMS through hyperterminal. I intend to later
    work on a PowerBASIC application. I can communicate thorugh
    RS-232 that connects my Fargo Maestro 100 GSM Modem.
    I can send and receive SMS'es using AT commands perfectly in text
    format (AT+CMGF=1) but am experiencing problems with PDU format.

    I tried all sorts of ways to issue a send (AT+CMGS) with PDU
    format (AT+CMGF=0). Please help me to realize this. Here is my syntax:

    AT+CMGF = 0

    My CSCA (Message center number) is,
    AT+CSCA?
    +CSCA: "+2666000002",145

    The desitnation number is:
    +26663104703 (+266 is the country code for Lesotho)

    Can you discover anything wrong with:
    I've tried using PDU length AT+CMGS=16<CR>
    > 002100088136017430000004D4F29C0E

    OR

    AT+CMGS=19<CR>
    > 0022000000000B916266134007F304D4F29C0E<ctrl-Z> and it still
    doesn't work?

    The sent message is "Test"?. Remember test works fine in Text mode (AT+CMGF=1)

    The result is always, +CMS ERROR: 304. I looked up this error code and it is
    "Invalid PDU Mode Parameter"

    I tried everything I know, please help?

  2. #2
    Join Date
    Jun 2007
    Posts
    3

    Smile

    Hi,

    Your PDU string is not encoded properly. When i use a decoder it displays as a SMS-COMMAND PDU, but should be a SMS-SUBMIT.

    You can find a good document on this here:

    http://www.activexperts.com/activsms/sms/pdu/

    If you only want to send text messages you can also consider using text mode instead of PDU mode:

    http://www.smssolutions.net/tutorials/gsm/sendsmsat/

    Leon

  3. #3
    Join Date
    Apr 2006
    Posts
    56
    i try ur msg, the result give me
    Length: 18
    0691626600002011000B916266134007F30000FF04D4F29C0E
    not same as urs one... i get it from a functionable software
    i think ur pdu convertor got problem

  4. #4
    Join Date
    Sep 2007
    Posts
    5
    You can use PDUSpy, a freeware, to encode/decode your PDU.

Similar Threads

  1. send long sms via gsm modem
    By swy456 in forum Mobile
    Replies: 14
    Last Post: 12-11-2012, 08:41 AM
  2. Replies: 2
    Last Post: 05-04-2006, 11:23 AM
  3. Replies: 0
    Last Post: 08-22-2002, 12:31 PM
  4. How to send a SMS to a movile phone??
    By Miquel in forum Mobile
    Replies: 2
    Last Post: 02-16-2002, 06:51 AM
  5. Send SMS using LAN connection?
    By Bragi Fannar in forum VB Classic
    Replies: 0
    Last Post: 04-15-2000, 06:04 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center