To start things of, I need a C++ library that enables me to establish a serial communication between the computer COM port to an external device. Since I am going to be doing some windows programming, I will need to write a wrapper over the Win32 API functions that enable me to communicate serially.
In Windows, I can not access hardware COM ports directly, this access has been restricted because a lot of guys have used this to write viruses. COM Ports are now viewed as regular Files, and the same functions that open, read, write into files also work with COM ports.
In order to test this library I need to build myself a RS232 Loopback connector, which is essentially a regular DB9 RS232 connector with the transmit and receive lines interconnected. Here is a picture depicting the specific lines and necessary connections that have to be made.


Recent Comments