-
Notifications
You must be signed in to change notification settings - Fork 109
Open
Description
Hi,
I implement java application in OS X platform. I found usb4java that I need to communicate with USB device. Then I followed Quick Start to port USB function. But it failed in
UsbConfiguration configuration = device.getActiveUsbConfiguration();
The variable of configuration is null. Cloud you please help me to fix it?
Another strange point is I included usb4java with 1.3.0 in pom.xml. But the result showed Implementation version is 1.2.0. Is that right?
The code as below:
final UsbServices services = UsbHostManager.getUsbServices();
System.out.println("USB Service Implementation: "
+ services.getImpDescription());
System.out.println("Implementation version: "
+ services.getImpVersion());
System.out.println("Service API version: " + services.getApiVersion());
Environment:
- OS: macOS 10.15.7
- Java version 15.0.2
- usb4java version 1.3.0
Metadata
Metadata
Assignees
Labels
No labels