IOStorageCardCharacteristics.h Reference

Declared in
IOStorageCardCharacteristics.h
IOStorageDeviceCharacteristics.h

Overview

Constants

See the Overview section above for header-level documentation.

Miscellaneous Defines

   
#define kIOProperty64BitKey "64-bit"
#define kIOPropertyApplicationIDKey "Application ID"
#define kIOPropertyBaseFrequencyKey "Base Frequency"
#define kIOPropertyBusVoltageKey "Bus Voltage"
#define kIOPropertyBusWidthKey "Bus Width"
#define kIOPropertyCardCharacteristicsKey "Card Characteristics"
#define kIOPropertyCardPresentKey "Card Present"
#define kIOPropertyCardTypeKey "Card Type"
#define kIOPropertyCardTypeMMCKey "MMC"
#define kIOPropertyCardTypeSDHCKey "SDHC"
#define kIOPropertyCardTypeSDSCKey "SDSC"
#define kIOPropertyCardTypeSDXCKey "SDXC"
#define kIOPropertyClockDivisorKey "Clock Divisor"
#define kIOPropertyManufacturerIDKey "Manufacturer ID"
#define kIOPropertyManufacturingDateKey "Manufacturing Date"
#define kIOPropertyProductSerialNumberKey "Serial Number"
#define kIOPropertySlotKey "Slot"
#define kIOPropertySpecificationVersionKey "Specification Version"
#define kIOPropertySpeedClassKey "Speed Class"
Constants
kIOProperty64BitKey

This key defines wether the device supports 64-bit.

Requirement: Mandatory

Example:

 
 
<dict>
   <key>64-bit</key>
   <true/>
</dict>

Available in OS X v10.7 and later.

Declared in IOStorageCardCharacteristics.h.

kIOPropertyApplicationIDKey

This key is used to indicate the card application ID.

Requirement: Optional

Example:

 
 
<dict>
   <key>Card Characteristics</key>
   <dict>
   	<key>Product Name</key>
   	<string>SD32G</string>
   	<key>Product Revision Level</key>
   	<string>1.0</string>
   	<key>Card Type</key>
   	<string>SDHC</string>
   	<key>Application ID</key>
   	<data>ffff</data>
   </dict>
</dict>

Available in OS X v10.7 and later.

Declared in IOStorageCardCharacteristics.h.

kIOPropertyBaseFrequencyKey

This key defines the current base frequency for the device.

Requirement: Mandatory.

Example:

 
 
<dict>
   <key>Base Frequency</key>
   <integer>50</integer>
</dict>

Available in OS X v10.7 and later.

Declared in IOStorageCardCharacteristics.h.

kIOPropertyBusVoltageKey

This key defines the current bus voltage for the device in mV

Requirement: Mandatory.

Example:

 
 
<dict>
   <key>Bus Voltage</key>
   <integer>3300</integer>
</dict>
</dict>

Available in OS X v10.7 and later.

Declared in IOStorageCardCharacteristics.h.

kIOPropertyBusWidthKey

This key defines the current bus width for the device.

Requirement: Mandatory.

Example:

 
 
<dict>
   <key>Bus Width</key>
   <integer>4</integer>
</dict>

Available in OS X v10.7 and later.

Declared in IOStorageCardCharacteristics.h.

kIOPropertyCardCharacteristicsKey

This key is used to define Card Characteristics for a particular piece of MMC/SD media and it has an associated dictionary which lists the card characteristics.

Requirement: Mandatory

Example:

 
 
<dict>
   <key>Card Characteristics</key>
   <dict>
   	<key>Product Name</key>
   	<string>SD32G</string>
   	<key>Product Revision Level</key>
   	<string>1.0</string>
   </dict>
</dict>

Available in OS X v10.7 and later.

Declared in IOStorageCardCharacteristics.h.

kIOPropertyCardPresentKey

This key defines wether a MMC or SD card is physically present.

Requirement: Mandatory

Example:

 
 
<dict>
   <key>Card Present</key>
   <true/>
</dict>

Available in OS X v10.7 and later.

Declared in IOStorageCardCharacteristics.h.

kIOPropertyCardTypeKey

This key is used to indicate the card type is MMC.

Requirement: Optional.

Example:

 
 
<dict>
   <key>Card Characteristics</key>
   <dict>
   	<key>Product Name</key>
   	<string>SD32G</string>
   	<key>Product Revision Level</key>
   	<string>1.0</string>
   	<key>Card Type</key>
   	<string>MMC</string>
   </dict>
</dict>

Available in OS X v10.7 and later.

Declared in IOStorageCardCharacteristics.h.

kIOPropertyCardTypeMMCKey

This key is used to indicate the card type is MMC.

Requirement: Optional.

Example:

 
 
<dict>
   <key>Card Characteristics</key>
   <dict>
   	 <key>Product Name</key>
   	 <string>SD32G</string>
   	 <key>Product Revision Level</key>
   	 <string>1.0</string>
   	 <key>Card Type</key>
   	 <string>MMC</string>
   </dict>
</dict>

Available in OS X v10.7 and later.

Declared in IOStorageCardCharacteristics.h.

kIOPropertyCardTypeSDHCKey

This key is used to indicate the card type is SDHC.

Requirement: Optional.

Example:

 
 
<dict>
   <key>Card Characteristics</key>
   <dict>
   	<key>Product Name</key>
   	<string>SD32G</string>
   	<key>Product Revision Level</key>
   	<string>1.0</string>
   	<key>Card Type</key>
   	<string>SDHC</string>
   </dict>
</dict>

Available in OS X v10.7 and later.

Declared in IOStorageCardCharacteristics.h.

kIOPropertyCardTypeSDSCKey

This key is used to indicate the card type is SDSC.

Requirement: Optional.

Example:

 
 
<dict>
   <key>Card Characteristics</key>
   <dict>
   	 <key>Product Name</key>
   	 <string>SD32G</string>
   	 <key>Product Revision Level</key>
   	 <string>1.0</string>
   	 <key>Card Type</key>
   	 <string>SDSC</string>
   </dict>
</dict>

Available in OS X v10.7 and later.

Declared in IOStorageCardCharacteristics.h.

kIOPropertyCardTypeSDXCKey

This key is used to indicate the card type is SDXC.

Requirement: Optional.

Example:

 
 
<dict>
   <key>Card Characteristics</key>
   <dict>
   	<key>Product Name</key>
   	<string>SD32G</string>
   	<key>Product Revision Level</key>
   	<string>1.0</string>
   	<key>Card Type</key>
   	<string>SDXC</string>
   </dict>
</dict>

Available in OS X v10.7 and later.

Declared in IOStorageCardCharacteristics.h.

kIOPropertyClockDivisorKey

This key defines the current clock divisor for the device.

Requirement: Mandatory.

Example:

 
 
<dict>
   <key>Clock Divisor</key>
   <integer>128</integer>
</dict>

Available in OS X v10.7 and later.

Declared in IOStorageCardCharacteristics.h.

kIOPropertyManufacturerIDKey

This key is used to indicate the card manufacturer ID.

Requirement: Optional

Example:

 
 
 <dict>
    <key>Card Characteristics</key>
    <dict>
   	 <key>Product Name</key>
   	 <string>SD32G</string>
   	 <key>Product Revision Level</key>
   	 <string>1.0</string>
   	<key>Card Type</key>
   	<string>SDHC</string>
   	<key>Manufacturer ID</key>
   	<data>03</data>
    </dict>
 </dict>
 
 

Available in OS X v10.7 and later.

Declared in IOStorageCardCharacteristics.h.

kIOPropertyManufacturingDateKey

This key is used to indicate the card manufacturing date.

Requirement: Mandatory.

Example:

 
 
<dict>
   <key>Card Characteristics</key>
   <dict>
   	<key>Product Name</key>
   	<string>SD32G</string>
   	<key>Product Revision Level</key>
   	<string>1.0</string>
   	<key>Card Type</key>
   	<string>SDHC</string>
   	<key>Manufacturing Date</key>
   	<string>2009-12</string>
   </dict>
</dict>

Available in OS X v10.7 and later.

Declared in IOStorageCardCharacteristics.h.

kIOPropertyProductSerialNumberKey

This key is used to indicate the card serial number ID.

Requirement: Mandatory

Example:

 
 
 <dict>
    <key>Card Characteristics</key>
    <dict>
   	 <key>Product Name</key>
   	 <string>SD32G</string>
   	 <key>Product Revision Level</key>
   	 <string>1.0</string>
   	 <key>Card Type</key>
   	 <string>SDHC</string>
   	 <key>Serial Number</key>
   	 <data>0045ff</data>
    </dict>
 </dict>
 
 

Available in OS X v10.4 and later.

Declared in IOStorageDeviceCharacteristics.h.

kIOPropertySlotKey

This key is used to define the slot number for the device

Requirement: Mandatory

Example:

 
 
<dict>
   <key>Slot</key>
   <integer>1<integer>
 </dict>

Available in OS X v10.7 and later.

Declared in IOStorageCardCharacteristics.h.

kIOPropertySpecificationVersionKey

This key is used to indicate the card specification version.

Requirement: Mandatory.

Example:

 
 
<dict>
   <key>Card Characteristics</key>
   <dict>
   	<key>Product Name</key>
   	<string>SD32G</string>
   	<key>Product Revision Level</key>
   	<string>1.0</string>
   	<key>Card Type</key>
   	<string>SDHC</string>
   	<key>Specification Version</key>
   	<string>3.0</string>
   </dict>
</dict>

Available in OS X v10.7 and later.

Declared in IOStorageCardCharacteristics.h.

kIOPropertySpeedClassKey

This key is used to indicate SD card speed class.

Requirement: Mandatory.

Example:

 
 
<dict>
   <key>Card Characteristics</key>
   <dict>
   	<key>Product Name</key>
   	<string>SD32G</string>
   	<key>Product Revision Level</key>
   	<string>1.0</string>
   	<key>Card Type</key>
   	<string>SDHC</string>
   	<key>Speed Class</key>
   	<data>02</data>
   </dict>
</dict>

Available in OS X v10.7 and later.

Declared in IOStorageCardCharacteristics.h.