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 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
            • M Mukesh Kumar

              savitri wrote:

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

              what is "ensumer" ???

              Mukesh Kumar Software Engineer

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

              hi mukesh, sorry it is not enumser.in that project send and receive options are not there.please give some hints.really i am fed up of searching these things.please reply me. thanks in advance, savitri:confused:

              J 1 Reply Last reply
              0
              • S savitri

                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 Offline
                S Offline
                sunny_vc
                wrote on last edited by
                #23

                Yeah you can send , when u click on the send button,ofcourse it depends on ur application. Regards, Sunil.

                S 1 Reply Last reply
                0
                • S sunny_vc

                  Yeah you can send , when u click on the send button,ofcourse it depends on ur application. Regards, Sunil.

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

                  ok i wil try and i will u the result ok. thanku... regards, savitri :)

                  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

                    L Offline
                    L Offline
                    leckey 0
                    wrote on last edited by
                    #25

                    You are so bad...I love it! :)

                    CP Offenders: Over 50 offenders and growing! Current rant: "Me thinks CP needs an application process!" http://craptasticnation.blogspot.com/[^]

                    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:

                      L Offline
                      L Offline
                      leckey 0
                      wrote on last edited by
                      #26

                      1. NO bold print. 2. NO 'urgent.' 3. NO text speak (as I saw in some other responses.)

                      CP Offenders: Over 50 offenders and growing! Current rant: "Me thinks CP needs an application process!" http://craptasticnation.blogspot.com/[^]

                      1 Reply Last reply
                      0
                      • S savitri

                        hi mukesh, sorry it is not enumser.in that project send and receive options are not there.please give some hints.really i am fed up of searching these things.please reply me. thanks in advance, savitri:confused:

                        J Offline
                        J Offline
                        jeron1
                        wrote on last edited by
                        #27

                        really i am fed up of searching these things So, you want someone else to do the detail work for you...nice. Good luck.

                        1 Reply Last reply
                        0
                        • C CPallini

                          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 Offline
                          H Offline
                          Hamid Taebi
                          wrote on last edited by
                          #28

                          Maybe he needs to Modem commands. ;)

                          C 1 Reply Last reply
                          0
                          • H Hamid Taebi

                            Maybe he needs to Modem commands. ;)

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

                            Maybe. :-D BTW: Is a lady! :-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

                            H 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

                              H Offline
                              H Offline
                              Hamid Taebi
                              wrote on last edited by
                              #30

                              You must be careful your answer is important. ;)

                              R 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

                                H Offline
                                H Offline
                                Hamid Taebi
                                wrote on last edited by
                                #31

                                CPallini wrote:

                                I have to balance the voting down

                                So we will be wait for your votes! :laugh:

                                C 1 Reply Last reply
                                0
                                • C CPallini

                                  Maybe. :-D BTW: Is a lady! :-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

                                  H Offline
                                  H Offline
                                  Hamid Taebi
                                  wrote on last edited by
                                  #32

                                  I guess maybe (if no so Im sorry :-D )

                                  C 1 Reply Last reply
                                  0
                                  • H Hamid Taebi

                                    You must be careful your answer is important. ;)

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

                                    I really wish I could be very nice. But there are a few here, who can just piss me right off; no matter what. I'll take your suggestion seriously though. :)

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

                                    1 Reply Last reply
                                    0
                                    • H Hamid Taebi

                                      CPallini wrote:

                                      I have to balance the voting down

                                      So we will be wait for your votes! :laugh:

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

                                      First you have to show being in one of your worst moods :-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

                                      1 Reply Last reply
                                      0
                                      • H Hamid Taebi

                                        I guess maybe (if no so Im sorry :-D )

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

                                        Savitri is Indian lady's name, Rajesh told me. :)

                                        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

                                        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