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. COM PORT SETTING THROUGH C# IDE

COM PORT SETTING THROUGH C# IDE

Scheduled Pinned Locked Moved C#
csharpvisual-studiocomtutorial
2 Posts 2 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.
  • V Offline
    V Offline
    venkat swaminathan
    wrote on last edited by
    #1

    hi all i am a newbie to C# and i am trying to devlop a application for SENDING SMS through PC and i am trying to decode a application (myphoneexplorer) using portmonitor. now i am in a portion of understanding the handling the setting of COMPORT. this is the portmon result IRP_MJ_CREATE Options: Open IOCTL_SERIAL_SET_BAUD_RATE Rate: 921600 IOCTL_SERIAL_SET_LINE_CONTROL StopBits: 1 Parity: NONE WordLength: 8 IOCTL_SERIAL_SET_CHAR EOF:0 ERR:0 BRK:0 EVT:0 XON:0 XOFF:0 IOCTL_SERIAL_SET_HANDFLOW Shake:1 Replace:40 XonLimit:0 XoffLimit:0 IOCTL_SERIAL_SET_QUEUE_SIZE InSize: 16384 OutSize: 16384 IOCTL_SERIAL_SET_QUEUE_SIZE InSize: 16384 OutSize: 16384 IOCTL_SERIAL_SET_WAIT_MASK Mask: RXCHAR IOCTL_SERIAL_SET_TIMEOUTS RI:20 RM:10 RC:2000 WM:10 WC:200 Can somebody guideon this explain the pasted content and how to set it through C# Regards Venkat.S

    L 1 Reply Last reply
    0
    • V venkat swaminathan

      hi all i am a newbie to C# and i am trying to devlop a application for SENDING SMS through PC and i am trying to decode a application (myphoneexplorer) using portmonitor. now i am in a portion of understanding the handling the setting of COMPORT. this is the portmon result IRP_MJ_CREATE Options: Open IOCTL_SERIAL_SET_BAUD_RATE Rate: 921600 IOCTL_SERIAL_SET_LINE_CONTROL StopBits: 1 Parity: NONE WordLength: 8 IOCTL_SERIAL_SET_CHAR EOF:0 ERR:0 BRK:0 EVT:0 XON:0 XOFF:0 IOCTL_SERIAL_SET_HANDFLOW Shake:1 Replace:40 XonLimit:0 XoffLimit:0 IOCTL_SERIAL_SET_QUEUE_SIZE InSize: 16384 OutSize: 16384 IOCTL_SERIAL_SET_QUEUE_SIZE InSize: 16384 OutSize: 16384 IOCTL_SERIAL_SET_WAIT_MASK Mask: RXCHAR IOCTL_SERIAL_SET_TIMEOUTS RI:20 RM:10 RC:2000 WM:10 WC:200 Can somebody guideon this explain the pasted content and how to set it through C# Regards Venkat.S

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      http://msdn.microsoft.com/en-us/library/system.io.ports.serialport%28v=VS.90%29.aspx[^] See the sample there.

      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