RS232 interface with c++
Posted on 2005-05-04
I am looking to write an application in C++ which opens a connection to a specific serial port and connects to a piece of hardware which accepts plain text commands and then responds with either 'ERROR' or 'OKAY'. I have tested the hardware using windows 'hyperterminal' in which I was able to open a connection to the hardware and type commands and it responded as expected. Can anyone please give me some pointers as to how to do this from a very basic C++ app??