This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How can i use AT Commands through C/C++ code for PIC

Hi, Anyone please help me out for my problem.

how can i use AT commands using C/C++ programming.
I want to access my mobile SMS. I want to make this automatic without any user interface. I want to write a program and burn it into the PIC microcontroller; such that whenever i get an SMS i should read it and send a reply to other mobie.
Please help me out if u find any solution....

Parents
  • "how can i use AT commands using C/C++ programming."

    The programming language you use is entirely irrelevant, as is the platform:

    Sending the AT commands, and receiving the responses is purely a matter of serial comms - so you'd implement that in exactly the same way that you'd implement any other serial comms on your particular platform using your chosen language(s).

    See, for example, http://www.keil.com/forum/docs/thread9113.asp - the key phrase is, "neither knows nor cares"...

    Forming the commands and deciphering the responses is then just a matter of string processing.

    You will, of course, have to study the Manual for your GSM unit to determine what AT commands & options it supports, how to format them, and how to interpret its responses...

    You might also find this helpful: www.developershome.com/.../

    "I want to write a program and burn it into the PIC microcontroller"

    So why are you asking on the Keil forum, then?
    What Keil product were you thinking of using??
    See: http://www.keil.com/forum/

Reply
  • "how can i use AT commands using C/C++ programming."

    The programming language you use is entirely irrelevant, as is the platform:

    Sending the AT commands, and receiving the responses is purely a matter of serial comms - so you'd implement that in exactly the same way that you'd implement any other serial comms on your particular platform using your chosen language(s).

    See, for example, http://www.keil.com/forum/docs/thread9113.asp - the key phrase is, "neither knows nor cares"...

    Forming the commands and deciphering the responses is then just a matter of string processing.

    You will, of course, have to study the Manual for your GSM unit to determine what AT commands & options it supports, how to format them, and how to interpret its responses...

    You might also find this helpful: www.developershome.com/.../

    "I want to write a program and burn it into the PIC microcontroller"

    So why are you asking on the Keil forum, then?
    What Keil product were you thinking of using??
    See: http://www.keil.com/forum/

Children