views:

37

answers:

0

I have a Microcontroller Development board that is connected to my PC via RS-232 DB-9 serial COM port (whatever one you want to call it).

The Micro has built in monitor code that uses functions like printf() and putchar() to produce console output on the PC side monitoring application.

I want to use this output functionality to transmit data to my own PC application but I cannot disable the monitoring program.

Is there a way I can "eavesdrop" on the COM port to listen for my start byte and data that I want to send? I don't need to send to the micro, just receive.

If possible, I'd like to do it in java for the sake of the rest of the application, but I will take .NET answers as well.