Contents

IOUserSerial

The class for building a service that communicates using a serial connection.

Declaration

class IOUserSerial;

Overview

Subclass IOUserSerial and use it to implement a service for communicating with serial devices. This class automatically manages the buffers used to store incoming and outgoing data. You are responsible for configuring your hardware, and for reading and writing data at appropriate times. This class supports configuration through standard modem commands or using universal asynchronous receiver/transmitter (UART) hardware.

If your driver communicates with your device over USB, subclass IOUserUSBSerial (in the USBSerialDriverKit framework) instead of this class.

Topics

Configuring the Service

Activating and Deactivating the Service

Configuring the Serial Data Queues

Programming the Modem

Transmitting and Receiving Data

Instance Methods

See Also

Serial Interface