Jump to content

Serial Programming

50% developed
From Wikibooks, open books for an open world
Cannon DE9F Serial Connector

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
  • General
100% developedIntroduction and OSI Network Model
100% developedRS-232 Wiring and Connections
100% developedTypical RS232-Hardware Configuration
  • Low-Level serial Interface Hardware
100% developedProgramming the 8250 UART
75% developedMAX232 Driver/Receiver Family
  • Specific Programming Environments
50% developedSerial Data Communications in DOS
0% developedTAPI communications in Windows
25% developedSerial 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)
25% developedSerial communications using Java
  • Programming serial Devices
25% developedHayes-compatible Modems and AT Commands
AT Commands: & Commands
AT Commands: A-M
AT Commands: N-Z
  • Serial Programming Applications
25% developedForming Data Packets
0% developedError Correction Methods
0% developedTwo Way Communication
0% developedSerial Data Networks
0% developedPractical Application Development
50% developedIP over Serial Connections
  • Appendix: communications channels that are very similar to RS-232
25% developedRS-485
  • Appendix: communications channels that are technically serial but really quite different from RS-232 (these will soon move to a different book)
25% developed Universal Serial Bus (USB)
0% developedSerial 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.

close