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. Asynchronous Serial Port Communication

Asynchronous Serial Port Communication

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialquestion
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.
  • P Offline
    P Offline
    phanindra varma
    wrote on last edited by
    #1

    Can any one tell me that ..How to do Asynchronous Data Transfer through Serial Port. Event based Serial communication,,,that means when any data come from serial port then,the particular function need to be called!!!! the program does not wait long time for any data coming from Serial port. Somebody suggested use callback functions!!!!!!but how????? thanks in advance..

    R 1 Reply Last reply
    0
    • P phanindra varma

      Can any one tell me that ..How to do Asynchronous Data Transfer through Serial Port. Event based Serial communication,,,that means when any data come from serial port then,the particular function need to be called!!!! the program does not wait long time for any data coming from Serial port. Somebody suggested use callback functions!!!!!!but how????? thanks in advance..

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

      I should be done using Overlapped IO optionally using IO completion routines. [Synchronization and Overlapped Input and Output^] I did a quick CP search got this, may be useful for reference how to use overlapped serial communication [CSerialPort v1.03 - Serial Port Wrapper^]

      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