Skip to content

Commit c13fd64

Browse files
authored
Add DLTs and make silabsDebugChannel() static. (#4)
* Update classpath. * Add new DLTs, including the Silabs debug channel. * Update version. * Make method static.
1 parent f6f5726 commit c13fd64

File tree

4 files changed

+35
-1
lines changed

4 files changed

+35
-1
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,13 @@
1+
arguments=
2+
auto.sync=false
3+
build.scans.enabled=false
4+
connection.gradle.distribution=GRADLE_DISTRIBUTION(WRAPPER)
15
connection.project.dir=
26
eclipse.preferences.version=1
7+
gradle.user.home=
8+
java.home=
9+
jvm.arguments=
10+
offline.mode=false
11+
override.workspace.settings=false
12+
show.console.view=false
13+
show.executions.view=false

pcap/.classpath

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@
1313
<attribute name="test" value="true"/>
1414
</attributes>
1515
</classpathentry>
16+
<classpathentry kind="src" output="bin/main" path="src/main/resources">
17+
<attributes>
18+
<attribute name="gradle_scope" value="main"/>
19+
<attribute name="gradle_used_by_scope" value="main,test"/>
20+
</attributes>
21+
</classpathentry>
1622
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11/"/>
1723
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer"/>
1824
<classpathentry kind="output" path="bin/default"/>

pcap/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.9.10
1+
1.9.11

pcap/src/main/java/com/silabs/na/pcap/LinkType.java

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,13 @@ public enum LinkType {
239239
ETW(290),
240240
NETANALYZER_NG(291),
241241
ZBOSS_NCP(292),
242+
USB_2_0_LOW_SPEED(293),
243+
USB_2_0_FULL_SPEED(294),
244+
USB_2_0_HIGH_SPEED(295),
245+
AUERSWALD_LOG(296),
246+
ZWAVE_TAP(297),
247+
SILABS_DEBUG_CHANNEL(298),
248+
FIRA_UCI(299),
242249
// Start of footer
243250
UNKNOWN(Integer.MAX_VALUE);
244251

@@ -257,6 +264,16 @@ public int code() {
257264
return code;
258265
}
259266

267+
/**
268+
* Returns the one established DLT for the
269+
* silabs debug channel.
270+
*
271+
* @return
272+
*/
273+
public static LinkType silabsDebugChannel() {
274+
return SILABS_DEBUG_CHANNEL;
275+
}
276+
260277
/**
261278
* Given a code, returns the enum value that matches it.
262279
*

0 commit comments

Comments
 (0)