Serial Programming

This book explains different aspects of serial data communication. Serial data communications is the foundation for most forms of data communications used with modern computing devices. The focus of the articles in this book will be around the implementation of RS-232 (aka RS-232C, aka V.24, aka EIA-232D, etc.) based serial data communication and will explore a wide range of implementations and uses for serial data transfer.


This series of articles is intended for people who are interested in diving into the “guts” of serial data communications systems. This material is rarely taught in university courses, and it can be tough to learn “on the job”.
As with any software development, the individual topics are simple, but tying them all together can be very complex. This text takes a layered approach to the subject, in order to avoid overwhelming the novice. The first chapter deals with the bare copper wires and how they are handled. Subsequent chapters will add layers of protocol.
Typical serial communication can happen at just about any level. Some applications pull “raw” data right off the wires while others use full packet networks on multiple computers. For more, see “Why Serial Programming?” in the introduction.

Table of Contents

  • Introduction and OSI Network Model
  • RS-232 Wiring and Connections
  • Typical RS232-Hardware Configuration
  • Programming the 8250 UART
  • MAX232 Driver/Receiver Family
  • Serial Data Communications in DOS
  • TAPI communications in Windows
  • Serial communications in Linux and Unix
  • Serial communications using Java
  • Hayes-compatible Modems and AT Commands
  • Forming Data Packets
  • Error Correction Methods
  • Two Way Communication
  • Serial Data Networks
  • Practical Application Development
  • IP over Serial Connections

Book Details

Author(s): Wikibooks
Format(s): PDF, HTML
File size: 820 KB
Number of pages: 177
Link: Download or read online.

Leave a Reply