|
@ -93,10 +93,10 @@ public class A8kCanBusService { |
|
|
return connection.callcmd(id, CmdId.module_get_version).getContentI32(0); |
|
|
return connection.callcmd(id, CmdId.module_get_version).getContentI32(0); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public ModuleType moduleReadType(MId id) throws HardwareException { |
|
|
|
|
|
var packet = connection.callcmd(id, CmdId.module_get_type); |
|
|
|
|
|
return ModuleType.of(packet.getContentI32(0)); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
// public ModuleType moduleReadType(MId id) throws HardwareException { |
|
|
|
|
|
// var packet = connection.callcmd(id, CmdId.module_get_type); |
|
|
|
|
|
// return ModuleType.of(packet.getContentI32(0)); |
|
|
|
|
|
// } |
|
|
|
|
|
|
|
|
// public byte[] a8kIdcardReaderReadRaw() throws HardwareException { |
|
|
// public byte[] a8kIdcardReaderReadRaw() throws HardwareException { |
|
|
// int i = 0; |
|
|
// int i = 0; |
|
|