Version: 1.1

Posted: 2006-12-07

Build Requirements: Xcode 2.2.1 or later

Runtime Requirements: Mac OS X 10.2 or later

View Source Code:

Download Sample (“SCSIOldAndNew.zip”, 70.8K)
Download Sample (“SCSIOldAndNew.dmg”, 130.7K)



Description

Demonstrates how to communicate with SCSI Parallel devices on Mac OS X. The sample illustrates both the SCSITask User Client and IOSCSIUserClient APIs. The IOSCSIUserClient and SCSIAction APIs were deprecated in Mac OS X 10.2 and removed in Mac OS X 10.3.

Developers who want their applications to run on all versions of Mac OS X including 10.2 and earlier should use both SCSITaskUserClient and SCSIAction/IOSCSIUserClient to discover their device, then use the API which found the device to communicate with it. This sample uses this recommended technique to find devices based on their SCSI peripheral device type and then sends a simple INQUIRY command.

This sample code has been updated to include a project that produces a universal binary.

Document Revision History

Date Notes
2006-12-07Updated to produce a universal binary.
2003-06-17Demonstrates a backward-compatible technique for communicating with SCSI parallel devices on Mac OS X.

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.