Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
643faa2b
Unverified
Commit
643faa2b
authored
Jan 19, 2019
by
Don Gagne
Committed by
GitHub
Jan 19, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #7166 from DonLakeFlyer/AndroidChibiOS
Android USB: Add VID/PID for ArduPilot ChibiOS and DragonLink
parents
941f732e
461f9cb7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
0 deletions
+19
-0
CdcAcmSerialDriver.java
...com/hoho/android/usbserial/driver/CdcAcmSerialDriver.java
+12
-0
UsbId.java
android/src/com/hoho/android/usbserial/driver/UsbId.java
+7
-0
No files found.
android/src/com/hoho/android/usbserial/driver/CdcAcmSerialDriver.java
View file @
643faa2b
...
...
@@ -304,6 +304,18 @@ public class CdcAcmSerialDriver extends CommonUsbSerialDriver {
UsbId
.
DEVICE_SPARKY2
,
UsbId
.
DEVICE_OPLINK
,
});
supportedDevices
.
put
(
Integer
.
valueOf
(
UsbId
.
VENDOR_ARDUPILOT_CHIBIOS1
),
new
int
[]
{
UsbId
.
DEVICE_ARDUPILOT_CHIBIOS
,
});
supportedDevices
.
put
(
Integer
.
valueOf
(
UsbId
.
VENDOR_ARDUPILOT_CHIBIOS2
),
new
int
[]
{
UsbId
.
DEVICE_ARDUPILOT_CHIBIOS
,
});
supportedDevices
.
put
(
Integer
.
valueOf
(
UsbId
.
VENDOR_DRAGONLINK
),
new
int
[]
{
UsbId
.
DEVICE_DRAGONLINK
,
});
return
supportedDevices
;
}
...
...
android/src/com/hoho/android/usbserial/driver/UsbId.java
View file @
643faa2b
...
...
@@ -74,6 +74,13 @@ public final class UsbId {
public
static
final
int
DEVICE_SPARKY2
=
0x41D0
;
public
static
final
int
DEVICE_CC3D
=
0x415D
;
public
static
final
int
VENDOR_ARDUPILOT_CHIBIOS1
=
0x0483
;
public
static
final
int
VENDOR_ARDUPILOT_CHIBIOS2
=
0x1209
;
public
static
final
int
DEVICE_ARDUPILOT_CHIBIOS
=
0x5740
;
public
static
final
int
VENDOR_DRAGONLINK
=
0x1FC9
;
public
static
final
int
DEVICE_DRAGONLINK
=
0x0083
;
private
UsbId
()
{
throw
new
IllegalAccessError
(
"Non-instantiable class."
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment