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.

Book Contents

Authors
Preface
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
Unix V7 Serial Programming (ancient)
termio: System V terminal I/O (improves on V7)
termios: POSIX terminal I/O (improves on termio)
Serial communications using Java
Hayes-compatible Modems and AT Commands
AT Commands: & Commands
AT Commands: A-M
AT Commands: N-Z
Forming Data Packets
Error Correction Methods
Two Way Communication
Serial Data Networks
Practical Application Development
IP over Serial Connections
RS-485
Universal Serial Bus (USB)
Serial ATA

Resources

See Subject:Computer engineering for other kinds of low-level serial interface hardware that typically have the same high-level programming interface as RS-232 (RS-422, RS-423, RS-449, RS-485, MIL-STD-188, Universal Serial Bus (USB), etc.) and hardware that happens to be serial (Serial ATA, Wifi, Ethernet, etc), although it usually uses a very different high-level protocol.

This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.