SCSIOldAndNew

Last Revision:
Version 1.1, 2006-12-07
Updated to produce a universal binary.
(Full Revision History)
Build Requirements:
Xcode 2.2.1 or later
Runtime Requirements:
Mac OS X 10.2 or later

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.