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% developed Introduction and OSI Network Model
100% developed RS-232 Wiring and Connections
100% developed Typical RS232-Hardware Configuration
  • Low-Level serial Interface Hardware
100% developed Programming the 8250 UART
75% developed MAX232 Driver/Receiver Family
  • Specific Programming Environments
50% developed Serial Data Communications in DOS
0% developed TAPI communications in Windows
25% developed 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)
25% developed Serial communications using Java
  • Programming serial Devices
25% developed Hayes-compatible Modems and AT Commands
AT Commands: & Commands
AT Commands: A-M
AT Commands: N-Z
  • Serial Programming Applications
25% developed Forming Data Packets
0% developed Error Correction Methods
0% developed Two Way Communication
0% developed Serial Data Networks
0% developed Practical Application Development
50% developed IP over Serial Connections
  • Appendix: communications channels that are very similar to RS-232
25% developed RS-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% developed 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.