Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. AT Commands

AT Commands

Scheduled Pinned Locked Moved C / C++ / MFC
c++helptutorial
35 Posts 10 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S savitri

    Hi everyone, I am savitri here.I am new to this forum.I am working in VC++ language. I am doing GSM modem project. In this project i have to do send and receive messages through Gsm modem using AT command.I did designing and opening port and all.But i am not getting how to use AT commands in My project.I am opening port in new file called comport.h and comport.cpp. But i want to send a sms to particular person selecting from addressbook. Please give me some ideas that how to write code for AT commands. Please i am trying from many days but i didnt got any solutions.so please help me. HELP ME.ITS URGENT. Thanks In Advance, Savitri.:confused:

    C Offline
    C Offline
    CPallini
    wrote on last edited by
    #2

    savitri wrote:

    HELP ME.ITS URGENT.

    No doubts about. :-D

    If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
    This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke

    S 1 Reply Last reply
    0
    • S savitri

      Hi everyone, I am savitri here.I am new to this forum.I am working in VC++ language. I am doing GSM modem project. In this project i have to do send and receive messages through Gsm modem using AT command.I did designing and opening port and all.But i am not getting how to use AT commands in My project.I am opening port in new file called comport.h and comport.cpp. But i want to send a sms to particular person selecting from addressbook. Please give me some ideas that how to write code for AT commands. Please i am trying from many days but i didnt got any solutions.so please help me. HELP ME.ITS URGENT. Thanks In Advance, Savitri.:confused:

      S Offline
      S Offline
      sunny_vc
      wrote on last edited by
      #3

      If your comport is configured correctly, i dont think there is any problem in sending and receiving the AT commands. e.g for the basic command "AT" you will get an reply like "OK", So send charactes 'A','T'and '\n'(Enter), you have to recieve 'O','k'and '\n'. Remember to check whether the echo is on r not. If the echo is on, in receive u will get 'A','T','O','k' and '\n'. Regarding other commands check the AT command set manual. If you are unable to get this, be specific what exactly u required. Regards, Sunil.

      S 1 Reply Last reply
      0
      • S savitri

        Hi everyone, I am savitri here.I am new to this forum.I am working in VC++ language. I am doing GSM modem project. In this project i have to do send and receive messages through Gsm modem using AT command.I did designing and opening port and all.But i am not getting how to use AT commands in My project.I am opening port in new file called comport.h and comport.cpp. But i want to send a sms to particular person selecting from addressbook. Please give me some ideas that how to write code for AT commands. Please i am trying from many days but i didnt got any solutions.so please help me. HELP ME.ITS URGENT. Thanks In Advance, Savitri.:confused:

        R Offline
        R Offline
        Rajkumar R
        wrote on last edited by
        #4

        savitri wrote:

        I am new to this forum

        I know you since you joined **B Cubed** (Book Buying Band)

        1 Reply Last reply
        0
        • S savitri

          Hi everyone, I am savitri here.I am new to this forum.I am working in VC++ language. I am doing GSM modem project. In this project i have to do send and receive messages through Gsm modem using AT command.I did designing and opening port and all.But i am not getting how to use AT commands in My project.I am opening port in new file called comport.h and comport.cpp. But i want to send a sms to particular person selecting from addressbook. Please give me some ideas that how to write code for AT commands. Please i am trying from many days but i didnt got any solutions.so please help me. HELP ME.ITS URGENT. Thanks In Advance, Savitri.:confused:

          R Offline
          R Offline
          Rajesh R Subramanian
          wrote on last edited by
          #5

          savitri wrote:

          HELP ME.ITS URGENT.

          Hi Savitri, I can understand it. Don't feel bad about the the disheartening replies. If the query is really urgent, you can post it in Soapbox. You'll get guaranteed overwhelming replies. BTW, keep your entire post in bold (and if possible in UPPER CASE), while posting your query in the soapbox.

          Nobody can give you wiser advice than yourself. - Cicero .·´¯`·->Rajesh<-·´¯`·. Codeproject.com: Visual C++ MVP

          C R L H 4 Replies Last reply
          0
          • C CPallini

            savitri wrote:

            HELP ME.ITS URGENT.

            No doubts about. :-D

            If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
            This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke

            S Offline
            S Offline
            savitri
            wrote on last edited by
            #6

            Hi everyOne, I am having doubt in using AT commands.now i am using only AT and i am getting reply as OK.But ia dont know how to use AT+CMGS and AT+CMGR.Shall i write function for using AT commands.If So tell me how shall write.I am not new to this forum.but it is by mistake.Please give me some idea.**Sorry for my mistakes.**If u all have some ideas then please give.Reply me Soon. Thanks, savitri

            C S 2 Replies Last reply
            0
            • R Rajesh R Subramanian

              savitri wrote:

              HELP ME.ITS URGENT.

              Hi Savitri, I can understand it. Don't feel bad about the the disheartening replies. If the query is really urgent, you can post it in Soapbox. You'll get guaranteed overwhelming replies. BTW, keep your entire post in bold (and if possible in UPPER CASE), while posting your query in the soapbox.

              Nobody can give you wiser advice than yourself. - Cicero .·´¯`·->Rajesh<-·´¯`·. Codeproject.com: Visual C++ MVP

              C Offline
              C Offline
              CPallini
              wrote on last edited by
              #7

              Hey man, each time you exploit your misogynous mood, I have to balance the voting down. :-D

              If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
              This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke

              R H 2 Replies Last reply
              0
              • S savitri

                Hi everyone, I am savitri here.I am new to this forum.I am working in VC++ language. I am doing GSM modem project. In this project i have to do send and receive messages through Gsm modem using AT command.I did designing and opening port and all.But i am not getting how to use AT commands in My project.I am opening port in new file called comport.h and comport.cpp. But i want to send a sms to particular person selecting from addressbook. Please give me some ideas that how to write code for AT commands. Please i am trying from many days but i didnt got any solutions.so please help me. HELP ME.ITS URGENT. Thanks In Advance, Savitri.:confused:

                R Offline
                R Offline
                ritz1234
                wrote on last edited by
                #8

                Hi Savitri, I think for sending the SMS through AT commands you need to have the Extended AT Command set for the mobile you are using. U can send the command same like you are transmitting a string through COM Port and for every extended AT commands you will get the response in event.The thing is you have to find the extended AT command set for you mobile with its documentation then only you will be able to understand the meanings of the resposes.

                ritz1234

                S 1 Reply Last reply
                0
                • R Rajesh R Subramanian

                  savitri wrote:

                  HELP ME.ITS URGENT.

                  Hi Savitri, I can understand it. Don't feel bad about the the disheartening replies. If the query is really urgent, you can post it in Soapbox. You'll get guaranteed overwhelming replies. BTW, keep your entire post in bold (and if possible in UPPER CASE), while posting your query in the soapbox.

                  Nobody can give you wiser advice than yourself. - Cicero .·´¯`·->Rajesh<-·´¯`·. Codeproject.com: Visual C++ MVP

                  R Offline
                  R Offline
                  Rajkumar R
                  wrote on last edited by
                  #9

                  lol

                  1 Reply Last reply
                  0
                  • S savitri

                    Hi everyOne, I am having doubt in using AT commands.now i am using only AT and i am getting reply as OK.But ia dont know how to use AT+CMGS and AT+CMGR.Shall i write function for using AT commands.If So tell me how shall write.I am not new to this forum.but it is by mistake.Please give me some idea.**Sorry for my mistakes.**If u all have some ideas then please give.Reply me Soon. Thanks, savitri

                    C Offline
                    C Offline
                    CPallini
                    wrote on last edited by
                    #10

                    Sorry I don't know AT commands. Try to ask more to Sunil, it seems he knows about [^]. :)

                    If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                    This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke

                    H 1 Reply Last reply
                    0
                    • C CPallini

                      Hey man, each time you exploit your misogynous mood, I have to balance the voting down. :-D

                      If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                      This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke

                      R Offline
                      R Offline
                      Rajesh R Subramanian
                      wrote on last edited by
                      #11

                      Misogynous? Umm... OK - You really know me well now. :-O :laugh: And thanks for the vote man. I appreciate it. I'm sick and tired of such URGENT & ALL-BOLD posts. :|

                      Nobody can give you wiser advice than yourself. - Cicero .·´¯`·->Rajesh<-·´¯`·. Codeproject.com: Visual C++ MVP

                      C 1 Reply Last reply
                      0
                      • S savitri

                        Hi everyone, I am savitri here.I am new to this forum.I am working in VC++ language. I am doing GSM modem project. In this project i have to do send and receive messages through Gsm modem using AT command.I did designing and opening port and all.But i am not getting how to use AT commands in My project.I am opening port in new file called comport.h and comport.cpp. But i want to send a sms to particular person selecting from addressbook. Please give me some ideas that how to write code for AT commands. Please i am trying from many days but i didnt got any solutions.so please help me. HELP ME.ITS URGENT. Thanks In Advance, Savitri.:confused:

                        M Offline
                        M Offline
                        Mukesh Kumar
                        wrote on last edited by
                        #12

                        I had given you a link in your previous post of same question. Did you follow that link? If not then try again. http://www.codeproject.com/KB/mobile/irdamobile.aspx[^]

                        Mukesh Kumar Software Engineer

                        S 1 Reply Last reply
                        0
                        • R ritz1234

                          Hi Savitri, I think for sending the SMS through AT commands you need to have the Extended AT Command set for the mobile you are using. U can send the command same like you are transmitting a string through COM Port and for every extended AT commands you will get the response in event.The thing is you have to find the extended AT command set for you mobile with its documentation then only you will be able to understand the meanings of the resposes.

                          ritz1234

                          S Offline
                          S Offline
                          savitri
                          wrote on last edited by
                          #13

                          Hi ritz1234, now i am using only one AT command.I want to use 3 to 4 AT commands in my project.But i am not getting how to use those commands.Because i am using only one command.So please tell me how to use all three commands.when i click on send button then AT+CMGS command has to execute and if i got new message then I have to AT+CMGR command.So please Reply me. Thanku, savitri:confused:

                          1 Reply Last reply
                          0
                          • M Mukesh Kumar

                            I had given you a link in your previous post of same question. Did you follow that link? If not then try again. http://www.codeproject.com/KB/mobile/irdamobile.aspx[^]

                            Mukesh Kumar Software Engineer

                            S Offline
                            S Offline
                            savitri
                            wrote on last edited by
                            #14

                            Hi mukesh, I used that one but it is not working properly.it is giving error.in tha ensumer file is missing.so please help me out.I am searching for this at commands from so many days.Reply me.. Thanku, Savitri:confused:

                            M 1 Reply Last reply
                            0
                            • S savitri

                              Hi mukesh, I used that one but it is not working properly.it is giving error.in tha ensumer file is missing.so please help me out.I am searching for this at commands from so many days.Reply me.. Thanku, Savitri:confused:

                              M Offline
                              M Offline
                              Mukesh Kumar
                              wrote on last edited by
                              #15

                              savitri wrote:

                              it is giving error.in tha ensumer file is missing.

                              what is "ensumer" ???

                              Mukesh Kumar Software Engineer

                              S 1 Reply Last reply
                              0
                              • S sunny_vc

                                If your comport is configured correctly, i dont think there is any problem in sending and receiving the AT commands. e.g for the basic command "AT" you will get an reply like "OK", So send charactes 'A','T'and '\n'(Enter), you have to recieve 'O','k'and '\n'. Remember to check whether the echo is on r not. If the echo is on, in receive u will get 'A','T','O','k' and '\n'. Regarding other commands check the AT command set manual. If you are unable to get this, be specific what exactly u required. Regards, Sunil.

                                S Offline
                                S Offline
                                savitri
                                wrote on last edited by
                                #16

                                Hi everyOne, I am having doubt in using AT commands.now i am using only AT and i am getting reply as OK.But ia dont know how to use AT+CMGS and AT+CMGR.Shall i write function for using AT commands.If So tell me how shall write.If u have some ideas tell me.I am trying from so many days. It is urgent. Thanku, Savitri:confused:

                                1 Reply Last reply
                                0
                                • S savitri

                                  Hi everyOne, I am having doubt in using AT commands.now i am using only AT and i am getting reply as OK.But ia dont know how to use AT+CMGS and AT+CMGR.Shall i write function for using AT commands.If So tell me how shall write.I am not new to this forum.but it is by mistake.Please give me some idea.**Sorry for my mistakes.**If u all have some ideas then please give.Reply me Soon. Thanks, savitri

                                  S Offline
                                  S Offline
                                  sunny_vc
                                  wrote on last edited by
                                  #17

                                  Hi savitri, When ur able to send AT and receive OK then in the same way u can use other cmds. Whenever u need to send the msg, Send it like: 1.send "AT+cmgs="mobileno"\n";[mobile no must be a string] 2.Then u receive '>' charcter as an acknoledgement. 3.Then send the msg u want to "msg". 4.After ur msg sending completed send "Escape" character[I didnt remember the ascii value]. If still any doubt just give an reply. Regards, Sunil.

                                  S 1 Reply Last reply
                                  0
                                  • R Rajesh R Subramanian

                                    Misogynous? Umm... OK - You really know me well now. :-O :laugh: And thanks for the vote man. I appreciate it. I'm sick and tired of such URGENT & ALL-BOLD posts. :|

                                    Nobody can give you wiser advice than yourself. - Cicero .·´¯`·->Rajesh<-·´¯`·. Codeproject.com: Visual C++ MVP

                                    C Offline
                                    C Offline
                                    CPallini
                                    wrote on last edited by
                                    #18

                                    The troll struck back. But, don't worry: fixed. :-D

                                    If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                                    This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke

                                    modified on Wednesday, May 7, 2008 7:53 AM

                                    1 Reply Last reply
                                    0
                                    • S sunny_vc

                                      Hi savitri, When ur able to send AT and receive OK then in the same way u can use other cmds. Whenever u need to send the msg, Send it like: 1.send "AT+cmgs="mobileno"\n";[mobile no must be a string] 2.Then u receive '>' charcter as an acknoledgement. 3.Then send the msg u want to "msg". 4.After ur msg sending completed send "Escape" character[I didnt remember the ascii value]. If still any doubt just give an reply. Regards, Sunil.

                                      S Offline
                                      S Offline
                                      savitri
                                      wrote on last edited by
                                      #19

                                      Hi Sunil, i am understanding this.please if u have some examples then please send me.I am very thank ful to u.please reply me. thanku, savitri:confused:

                                      S 1 Reply Last reply
                                      0
                                      • S savitri

                                        Hi Sunil, i am understanding this.please if u have some examples then please send me.I am very thank ful to u.please reply me. thanku, savitri:confused:

                                        S Offline
                                        S Offline
                                        sunny_vc
                                        wrote on last edited by
                                        #20

                                        Sorry, i dont have any examples right now. But try it,If u have any queries u can mail me. Regards, Sunil.

                                        S 1 Reply Last reply
                                        0
                                        • S sunny_vc

                                          Sorry, i dont have any examples right now. But try it,If u have any queries u can mail me. Regards, Sunil.

                                          S Offline
                                          S Offline
                                          savitri
                                          wrote on last edited by
                                          #21

                                          ok..tell me whether i have to use AT+CMGS in send button directly only or wt..reply me.thanks for giving some idea. thanks, savitri :)

                                          S 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups