The current method of finding the bulk endpoint (for usage with --bulk) is hardcoded to only work on a few devices. All modern DJI devices don't have ACM descriptors anymore. This change attempts to add support in a somewhat generic way.
Tested on:
RM510
RM330
WM260
WM162
(But not in all combinations with and without ADB enabled.)
Only tested on Linux; this may need fixes for Windows. Please don't merge yet without more testing.
The current method of finding the bulk endpoint (for usage with --bulk) is hardcoded to only work on a few devices. All modern DJI devices don't have ACM descriptors anymore. This change attempts to add support in a somewhat generic way.
Tested on:
(But not in all combinations with and without ADB enabled.)
Only tested on Linux; this may need fixes for Windows. Please don't merge yet without more testing.