Contents

IOUserUSBSerial

A service that manages a serial connection to a USB device.

Declaration

class IOUserUSBSerial;

Overview

Subclass IOUserUSBSerial to implement a driver that communicates with a USB device serially. After matching your driver to the appropriate device, the system starts your driver and calls its HwActivate method, which you use to open and configure the communications channel for your device. Configure other hardware-related settings by overriding the appropriate methods defined in the IOUserSerial parent class.

This class automatically manages the serial communications with the device, buffering data received from it. The class creates the buffers for holding data, and initiates asynchronous operations to the USB device to transmit and receive data. Use the methods of this class to modify the data, as needed.

Topics

Configuring the Service

Activating and Deactivating the Service

Transmitting and Receiving Data

Configuring the Serial Data Queues

See Also

Serial USB Interface