2020-02-27 00:33:26 +00:00
|
|
|
namespace Aaru.Devices.Remote
|
2019-10-12 19:26:28 +01:00
|
|
|
{
|
2019-10-13 20:54:10 +01:00
|
|
|
public enum DicPacketType : sbyte
|
2019-10-12 19:26:28 +01:00
|
|
|
{
|
2019-10-13 20:54:10 +01:00
|
|
|
Nop = -1,
|
2019-10-12 22:34:27 +01:00
|
|
|
Hello = 1,
|
|
|
|
|
CommandListDevices = 2,
|
2019-10-13 21:59:19 +01:00
|
|
|
ResponseListDevices = 3,
|
2019-10-14 00:42:13 +01:00
|
|
|
CommandOpen = 4,
|
|
|
|
|
CommandScsi = 5,
|
|
|
|
|
ResponseScsi = 6,
|
|
|
|
|
CommandAtaChs = 7,
|
|
|
|
|
ResponseAtaChs = 8,
|
|
|
|
|
CommandAtaLba28 = 9,
|
|
|
|
|
ResponseAtaLba28 = 10,
|
|
|
|
|
CommandAtaLba48 = 11,
|
|
|
|
|
ResponseAtaLba48 = 12,
|
|
|
|
|
CommandSdhci = 13,
|
2019-10-14 01:02:25 +01:00
|
|
|
ResponseSdhci = 14,
|
|
|
|
|
CommandGetType = 15,
|
2019-10-14 01:11:20 +01:00
|
|
|
ResponseGetType = 16,
|
|
|
|
|
CommandGetSdhciRegisters = 17,
|
2019-10-14 01:27:05 +01:00
|
|
|
ResponseGetSdhciRegisters = 18,
|
|
|
|
|
CommandGetUsbData = 19,
|
|
|
|
|
ResponseGetUsbData = 20,
|
|
|
|
|
CommandGetFireWireData = 21,
|
|
|
|
|
ResponseGetFireWireData = 22,
|
|
|
|
|
CommandGetPcmciaData = 23,
|
2019-10-26 15:47:36 +01:00
|
|
|
ResponseGetPcmciaData = 24,
|
2019-10-26 17:39:50 +01:00
|
|
|
CommandCloseDevice = 25,
|
|
|
|
|
CommandAmIRoot = 26,
|
|
|
|
|
ResponseAmIRoot = 27
|
2019-10-12 19:26:28 +01:00
|
|
|
}
|
2019-10-13 22:29:09 +01:00
|
|
|
|
|
|
|
|
public enum DicNopReason : byte
|
|
|
|
|
{
|
|
|
|
|
OutOfOrder = 0,
|
|
|
|
|
NotImplemented = 1,
|
|
|
|
|
NotRecognized = 2,
|
|
|
|
|
ErrorListDevices = 3,
|
|
|
|
|
OpenOk = 4,
|
|
|
|
|
OpenError = 5
|
|
|
|
|
}
|
2019-10-12 19:26:28 +01:00
|
|
|
}
|