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