Programming Serial Connections

The following sections discuss steps carried out by an application to transfer data between devices, using a serial connection. The sections are discussed in the order of the programming task: opening a port, configuring the port, writing and reading data, and closing the port.