The Serial family provides support for serial byte character streams.
Bundle identifier:
com.apple.iokit.IOSerialFamily
Headers in:
Kernel resident: Kernel.framework/Headers/IOKit/serial/
Device interface: IOKit.framework/Headers/serial/
References and specifications:
See termios(4). Also see the related header file Kernel.framework/Headers/sys/termios.h
Class hierarchy:

Device interface:
Applications can access the Serial family through the BSD device nodes, the most common client of this family. An application can read and write data using the BSD device nodes in /dev. Data is also routed through to PPP via these device nodes. You can find keys and other properties for use in device access in IOKit.framework/Headers/serial/IOSerialKeys.h.
Client of the nub | Provider for the nub | |
|---|---|---|
Action | Requires a single-banded data streaming service with elementary flow control. | Provides a single-banded streaming service; in other words, it cannot be packet-based. although it may be bi-directional. The driver may also implement flow control. The driver must describe the services it is capable of providing. |
Classes | Serial port writers should subclass IOSerialDriverSync for their drivers, then publish as nubs objects of the IOModemSerialStreamSync or IORS232SerialStreamSync classes, or (if neither of these suffices) a concrete subclass of IOSerialStreamSync. The I/O Kit uses these objects to create the appropriate user-client interface for user-space access via BSD. | |
Notes | Developers should use the BSD device file mechanism documented in Accessing Hardware From Applications. |
Last updated: 2007-05-17