×

Discussion Board

Results 1 to 12 of 12
  1. #1
    Registered User
    Join Date
    Jan 2006
    Posts
    1

    Trouble sending SMS using AT commands on a 6015

    I'm trying to send text messages using the AT commands described in the 'AT Command Set for Nokia CDMA Products v1.1' document, but I'm not having a lot of luck:

    Code:
    AT+CGMS=0A0272209195020454455354
    ERROR
    The other commands described in the section of the PDF regarding text messaging also return the same.

    Is there anything obvious I'm doing wrong here?

  2. #2
    Registered User
    Join Date
    Jan 2006
    Posts
    3

    Re: Trouble sending SMS using AT commands on a 6015

    You can use Nokia 6235. I 've tried it and work well.
    You can get me on creasna@yahoo.com

  3. #3
    Registered User
    Join Date
    Mar 2006
    Posts
    1

    Re: Trouble sending SMS using AT commands on a 6015

    I am also facing the same trouble.. I can't seem to send a message.. Hope someone here could post up some example of AT commands to send short messages.. Mine just can't seem to work.. thx..

  4. #4
    Super Contributor
    Join Date
    Mar 2006
    Location
    Phoenix, AZ. USA
    Posts
    556

    Re: Trouble sending SMS using AT commands on a 6015

    Lengthy example, note skip to bottom to actually see commands, and Note, not all devices will let you send/receive, mine lets me send, but not receive...

    Code:
    To send an SMS text message to a Nokia phone with Visual Basic:
    
    ' Set up the communications port
    MSComm1.CommPort = 1 ' Com Port 1
    
    ' Set for 9600 baud, no parity, 8 data, and 1 stop bit.
    MSComm1.Settings = "9600,N,8,1"
    
    ' Tell the control to read entire buffer when Input is used
    MSComm1.InputLen = 0
    
    ' Open the port
    MSComm1.PortOpen = True
    
    ' Send an 'AT' command to the phone
    MSComm1.Output = "AT" & Chr$(13) & Chr(10)
    ' The phone will respond with an 'OK'
    
    ' Set up the phone for a text message
    MSComm1.Output = "AT+CMGF=1" & Chr$(13) & Chr(10)
    ' The phone will respond with an 'OK'
    
    ' Prep for SMS, give destination type and destination address.
    ' Enter the destination type and destination address to prep for SMS
    ' e.g. AT+CMGS="+2145551212",129
    MSComm1.Output = "AT+CMGS= " & Chr(34) & _
    "+2145551212" & Chr(34) & ",129" & Chr$(13) & Chr(10)
    ' The phone will return a'>' prompt, and await entry of the SMS message text.
    
    ' Now send the text to the phone and terminate with (Ctrl-Z)
    MSComm1.Output = "This is a test. WOW! "
    ' The phone will respond with a conformation containing
    ' the 'message reference number' eg. +CMGS:
    
    ' Close the port
    MSComm1.PortOpen = False
    From a terminal, it would look like this:
    
    AT
    OK
    AT+CMGF=1
    OK
    AT+CMGS="+15127752607",129
    >This is a test. WOW!
    +CMGS: 49
    Jason Glass
    http://IChiBanComputers.Com

  5. #5
    Registered User
    Join Date
    Apr 2004
    Location
    Mumbai, India
    Posts
    17

    Re: Trouble sending SMS using AT commands on a 6015

    Testing this on a Nokia 6021 connected to a laptop via bluetooth, what would be the value of MSComm1.CommPort ?
    Anjanesh Lekshminarayanan

  6. #6
    Super Contributor
    Join Date
    Mar 2006
    Location
    Phoenix, AZ. USA
    Posts
    556

    Re: Trouble sending SMS using AT commands on a 6015

    that is if you want to use an vb prog to do it, but nice to see its implementation, and then just the basic commands in the end...
    Jason Glass
    http://IChiBanComputers.Com

  7. #7
    Super Contributor
    Join Date
    Mar 2006
    Location
    Phoenix, AZ. USA
    Posts
    556

    Re: Trouble sending SMS using AT commands on a 6015

    and bluetooth should/may show as modem, just try to find com port of the bluetooth device

    i beleieve i did it both over wire, infrared, and bluetooth, with various devices
    Jason Glass
    http://IChiBanComputers.Com

  8. #8
    Registered User
    Join Date
    Aug 2006
    Location
    Caracas - Venezuela
    Posts
    8

    Re: Trouble sending SMS using AT commands on a 6015

    Friend Jasno Glass, uses you code but he does not work to me! , me you could send to jhonattan@hotmail.com

  9. #9
    Registered User
    Join Date
    Apr 2006
    Posts
    22

    Re: Trouble sending SMS using AT commands on a 6015

    according to my knowledge, Nokia 6235 is working well both for sending and receiving SMS. But you can send Only 130 character SMS.Also Nokia 3155 works fine.
    for more info contact me on venkamraju@yahoo.co.in

    Thanks
    V V RAJU

  10. #10
    Registered User
    Join Date
    Aug 2006
    Posts
    4

    Re: Trouble sending SMS using AT commands on a 6015

    Quote Originally Posted by Jason Glass
    Lengthy example, note skip to bottom to actually see commands, and Note, not all devices will let you send/receive, mine lets me send, but not receive...

    Code:
    To send an SMS text message to a Nokia phone with Visual Basic:
    ... deleted ...
    AT
    OK
    AT+CMGF=1
    OK
    AT+CMGS="+15127752607",129
    >This is a test. WOW!
    +CMGS: 49

    It look like for GMS handphone not cdma.

  11. #11
    Super Contributor
    Join Date
    Mar 2006
    Location
    Phoenix, AZ. USA
    Posts
    556

    Re: Trouble sending SMS using AT commands on a 6015

    might/is probably gsm/gprs specific, dont know, you might just try and see if it works...

    has anyone had lusk with AT commands and Iden/CDMA devices?
    Jason Glass
    http://IChiBanComputers.Com

  12. #12
    Registered User
    Join Date
    Jul 2007
    Posts
    16

    Re: Trouble sending SMS using AT commands on a 6015

    On the following page there is a tutorial on how to send simple SMS messages using AT commands:

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

    Leon

Similar Threads

  1. Sending SMS from a PC using AT commands
    By TelTrak in forum General Messaging
    Replies: 3
    Last Post: 2009-01-27, 14:40
  2. Problems sending SMS with AT commands
    By bow24el in forum General Messaging
    Replies: 4
    Last Post: 2007-02-15, 04:46
  3. Error sending SMS
    By jorge_c in forum Multimodecards
    Replies: 0
    Last Post: 2003-10-07, 11:53
  4. sending SMS via AT Commands from 8250
    By ljchiu in forum General Messaging
    Replies: 0
    Last Post: 2003-07-20, 13:15
  5. AT commands sending single SMS with 6210 or 6150 on an uP
    By stijnos in forum General Messaging
    Replies: 3
    Last Post: 2002-11-14, 13:53

Posting Permissions

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