Implemented device-report command for MMC and SecureDigital devices.

This commit is contained in:
2017-09-28 23:35:52 +01:00
parent a42eb4ea63
commit 1ebac730c2
2 changed files with 114 additions and 1 deletions

View File

@@ -48,6 +48,8 @@ namespace DiscImageChef.Metadata
public ataType ATA { get; set; }
public ataType ATAPI { get; set; }
public scsiType SCSI { get; set; }
public mmcsdType MultiMediaCard { get; set; }
public mmcsdType SecureDigital { get; set; }
[XmlIgnore]
public bool CompactFlashSpecified { get; set; }
@@ -1033,5 +1035,15 @@ namespace DiscImageChef.Metadata
[XmlIgnore]
public bool CardCodeSpecified { get; set; }
}
[Serializable]
public class mmcsdType
{
public byte[] CID { get; set; }
public byte[] CSD { get; set; }
public byte[] OCR { get; set; }
public byte[] SCR { get; set; }
public byte[] ExtendedCSD { get; set; }
}
}