Commit d1472d3e authored by mazgch's avatar mazgch

added u-blox USB device IDs

parent 86eec3f4
...@@ -246,6 +246,13 @@ public class CdcAcmSerialDriver extends CommonUsbSerialDriver { ...@@ -246,6 +246,13 @@ public class CdcAcmSerialDriver extends CommonUsbSerialDriver {
new int[] { new int[] {
UsbId.DEVICE_PX4FMU, UsbId.DEVICE_PX4FMU,
}); });
supportedDevices.put(Integer.valueOf(UsbId.VENDOR_UBLOX),
new int[] {
UsbId.DEVICE_UBLOX_5,
UsbId.DEVICE_UBLOX_6,
UsbId.DEVICE_UBLOX_7,
UsbId.DEVICE_UBLOX_8,
});
return supportedDevices; return supportedDevices;
} }
......
...@@ -62,6 +62,12 @@ public final class UsbId { ...@@ -62,6 +62,12 @@ public final class UsbId {
public static final int VENDOR_PROLIFIC = 0x067b; public static final int VENDOR_PROLIFIC = 0x067b;
public static final int PROLIFIC_PL2303 = 0x2303; public static final int PROLIFIC_PL2303 = 0x2303;
public static final int VENDOR_UBLOX = 0x1546;
public static final int DEVICE_UBLOX_5 = 0x01a5;
public static final int DEVICE_UBLOX_6 = 0x01a6;
public static final int DEVICE_UBLOX_7 = 0x01a7;
public static final int DEVICE_UBLOX_8 = 0x01a8;
private UsbId() { private UsbId() {
throw new IllegalAccessError("Non-instantiable class."); throw new IllegalAccessError("Non-instantiable class.");
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment