December 2011
Intermediate to advanced
485 pages
15h 47m
English
Serial port drivers on Mac OS X are implemented by creating a class that is derived from the IOSerialDriverSync class. In this section, we describe the implementation of a serial port driver by walking through the source code of a driver provided by Apple for USB serial communication devices. Although it is unlikely that you will need to implement your own serial driver directly, this section can be seen as providing a working application of I/O Kit techniques and driver design, and many of the techniques used by the Apple USB serial driver can potentially be applied to other drivers that you will develop.
To follow along with this section, you may wish to download the source code for the serial port driver that we are discussing. ...