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#
  4. Continuous listening of COM port for detecting MODEM??

Continuous listening of COM port for detecting MODEM??

Scheduled Pinned Locked Moved C#
comhelpquestion
4 Posts 4 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 Offline
    S Offline
    shubhamjoshi
    wrote on last edited by
    #1

    How will i continuous listen to COM for detecting modem. if a modem is added or removed it should inform you that Modem installed or removed at COM45 etc. I have tried to use a thread and check the com count but i am unable to know which com is modem. If there is any specific class for this pls help me fr the code asap???

    V A 2 Replies Last reply
    0
    • S shubhamjoshi

      How will i continuous listen to COM for detecting modem. if a modem is added or removed it should inform you that Modem installed or removed at COM45 etc. I have tried to use a thread and check the com count but i am unable to know which com is modem. If there is any specific class for this pls help me fr the code asap???

      V Offline
      V Offline
      vr999999999
      wrote on last edited by
      #2

      u can use timer .

      M 1 Reply Last reply
      0
      • V vr999999999

        u can use timer .

        M Offline
        M Offline
        Mycroft Holmes
        wrote on last edited by
        #3

        You can use a keyboard!

        Never underestimate the power of human stupidity RAH

        1 Reply Last reply
        0
        • S shubhamjoshi

          How will i continuous listen to COM for detecting modem. if a modem is added or removed it should inform you that Modem installed or removed at COM45 etc. I have tried to use a thread and check the com count but i am unable to know which com is modem. If there is any specific class for this pls help me fr the code asap???

          A Offline
          A Offline
          Andy411
          wrote on last edited by
          #4

          I'm not sure if I understand you: You want to iterate through all COM-Ports to detect, if a modem is connected? You can open each COM-Port, send the command "AT" and wait if you get an "OK" as answer. Then you know, that there is a modem.

          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