Skip to content

Commit 8cb47de

Browse files
committed
Configuration descriptor parser tests
1 parent d24480b commit 8cb47de

File tree

5 files changed

+781
-10
lines changed

5 files changed

+781
-10
lines changed

java-does-usb/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>net.codecrete.usb</groupId>
88
<artifactId>java-does-usb</artifactId>
9-
<version>0.6.1</version>
9+
<version>0.6.2-SNAPSHOT</version>
1010

1111
<properties>
1212
<maven.compiler.source>21</maven.compiler.source>
@@ -75,7 +75,7 @@
7575
<plugin>
7676
<groupId>org.apache.maven.plugins</groupId>
7777
<artifactId>maven-javadoc-plugin</artifactId>
78-
<version>3.5.0</version>
78+
<version>3.6.0</version>
7979
<executions>
8080
<execution>
8181
<id>attach-javadocs</id>
@@ -140,7 +140,7 @@
140140
<dependency>
141141
<groupId>org.junit.jupiter</groupId>
142142
<artifactId>junit-jupiter</artifactId>
143-
<version>5.9.3</version>
143+
<version>5.10.0</version>
144144
<scope>test</scope>
145145
</dependency>
146146
<dependency>

java-does-usb/src/main/java/net/codecrete/usb/common/ConfigurationParser.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,12 @@
2323
import static net.codecrete.usb.usbstandard.Constants.*;
2424

2525
/**
26-
* Parser for USB configuration descriptors
26+
* Parser for USB configuration descriptors.
27+
*
28+
* <p>
29+
* It extracts the information about endpoints, interfaces (incl. alternate interfaces) and associations
30+
* between interfaces to derive the functions. Other descriptor types are ignored.
31+
* </p>
2732
*/
2833
public class ConfigurationParser {
2934

0 commit comments

Comments
 (0)