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. Modem to PC through RS-232

Modem to PC through RS-232

Scheduled Pinned Locked Moved C / C++ / MFC
8 Posts 5 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.
  • K Offline
    K Offline
    krishna Vuppala
    wrote on last edited by
    #1

    anybody pls give me a suggestion. i already developed communication b/w two systems by RS-232(9pin)port. nw i want 2 prepare communication b/w Pc and Modem. when ever i hit a AT commands to Modem from my dailog...then Modem response is also be displayed in my Dailog box.... kp

    C P G 3 Replies Last reply
    0
    • K krishna Vuppala

      anybody pls give me a suggestion. i already developed communication b/w two systems by RS-232(9pin)port. nw i want 2 prepare communication b/w Pc and Modem. when ever i hit a AT commands to Modem from my dailog...then Modem response is also be displayed in my Dailog box.... kp

      C Offline
      C Offline
      Cedric Moonen
      wrote on last edited by
      #2

      Yes, and what's the exact question ? Where are you stuck exactly ? You already asked a similar question yesterday and you got some answers, so where is the problem ? (And please, avoid using SMS language, because it is quite difficult to read for non native english speakers).


      Cédric Moonen Software developer
      Charting control [v1.2]

      K D 2 Replies Last reply
      0
      • K krishna Vuppala

        anybody pls give me a suggestion. i already developed communication b/w two systems by RS-232(9pin)port. nw i want 2 prepare communication b/w Pc and Modem. when ever i hit a AT commands to Modem from my dailog...then Modem response is also be displayed in my Dailog box.... kp

        P Offline
        P Offline
        p_
        wrote on last edited by
        #3

        hi can u help me by telling how you develop communication between two systems through port thanks

        K 1 Reply Last reply
        0
        • K krishna Vuppala

          anybody pls give me a suggestion. i already developed communication b/w two systems by RS-232(9pin)port. nw i want 2 prepare communication b/w Pc and Modem. when ever i hit a AT commands to Modem from my dailog...then Modem response is also be displayed in my Dailog box.... kp

          G Offline
          G Offline
          ghle
          wrote on last edited by
          #4

          trn f cmd eko md n th mdm Er, Turn off the Command Echo mode on the modem. A modem will either echo back the command you send it (E1) or not (E0). Type in "ATE0" It will echo back. Type in another AT command. It should not echo. Read the modem commands in the manual if this is not clear. It is probably working correctly.

          Gary

          1 Reply Last reply
          0
          • C Cedric Moonen

            Yes, and what's the exact question ? Where are you stuck exactly ? You already asked a similar question yesterday and you got some answers, so where is the problem ? (And please, avoid using SMS language, because it is quite difficult to read for non native english speakers).


            Cédric Moonen Software developer
            Charting control [v1.2]

            K Offline
            K Offline
            krishna Vuppala
            wrote on last edited by
            #5

            Mr.Moonen sir thankyou for your's reply. i created a port configarations using combo box and i created a "openport" button.and port also opened. after this in i created a two editboxes, one for ATcommands to Modem and other for Responses from modem like When Hyper terminal. exactly here iam not getting any idea.how send commands to modem and getting responces from modem to our editbox. i think u can understand my problem. kp

            C 1 Reply Last reply
            0
            • K krishna Vuppala

              Mr.Moonen sir thankyou for your's reply. i created a port configarations using combo box and i created a "openport" button.and port also opened. after this in i created a two editboxes, one for ATcommands to Modem and other for Responses from modem like When Hyper terminal. exactly here iam not getting any idea.how send commands to modem and getting responces from modem to our editbox. i think u can understand my problem. kp

              C Offline
              C Offline
              Cedric Moonen
              wrote on last edited by
              #6

              Once you opened the port with CreateFile, you can use ReadFile to read data from the serial port and WriteFile to write data on the port. Take a look at this article[^] for complete information. Take a look also at this section[^] that contains several articles about serial port communication (and some wrapper classes too, to make your life easier).


              Cédric Moonen Software developer
              Charting control [v1.2]

              1 Reply Last reply
              0
              • P p_

                hi can u help me by telling how you develop communication between two systems through port thanks

                K Offline
                K Offline
                krishna Vuppala
                wrote on last edited by
                #7

                Mr.p_ first you go through your systems hyperterminal and see the port configarations and know about them

                1 Reply Last reply
                0
                • C Cedric Moonen

                  Yes, and what's the exact question ? Where are you stuck exactly ? You already asked a similar question yesterday and you got some answers, so where is the problem ? (And please, avoid using SMS language, because it is quite difficult to read for non native english speakers).


                  Cédric Moonen Software developer
                  Charting control [v1.2]

                  D Offline
                  D Offline
                  David Crow
                  wrote on last edited by
                  #8

                  Cedric Moonen wrote:

                  ...it is quite difficult to read for non native english speakers).

                  It's difficult for us English-ians too!


                  "A good athlete is the result of a good and worthy opponent." - David Crow

                  "To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne

                  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