aboutsummaryrefslogtreecommitdiffstats
path: root/android-mobile/res
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-05-29 20:37:18 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-05-29 20:37:18 -0700
commitc05fe9fc9b1c76bb447af8033f9917b1f5d10a1c (patch)
tree5d6893589bf90ad025ec036b32c3717846e00c5a /android-mobile/res
parentc8c56b373706ad9be34ba92078e3a457287230a7 (diff)
downloadsubsurface-c05fe9fc9b1c76bb447af8033f9917b1f5d10a1c.tar.gz
Subsurface-mobile on Android: add USB intent filter
With this a few FTDI based dive computers should be visible from the app. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'android-mobile/res')
-rw-r--r--android-mobile/res/xml/device_filter.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/android-mobile/res/xml/device_filter.xml b/android-mobile/res/xml/device_filter.xml
new file mode 100644
index 000000000..fc9333bdb
--- /dev/null
+++ b/android-mobile/res/xml/device_filter.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <!-- FTDI Chips -->
+ <!-- (Smart Interface), Heinrichs Weikamp -->
+ <usb-device vendor-id="1027" product-id="24577"/>
+ <usb-device vendor-id="1027" product-id="24592"/>
+ <usb-device vendor-id="1027" product-id="24593"/>
+ <!-- Oceanic Custom PID -->
+ <usb-device vendor-id="1027" product-id="62560"/>
+ <!-- Suunto Custom PID -->
+ <usb-device vendor-id="1027" product-id="63104"/>
+ <!-- Cressi (Leonardo) Custom PID -->
+ <usb-device vendor-id="1027" product-id="63104"/>
+</resources>