Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .settings/org.eclipse.buildship.core.prefs
Original file line number Diff line number Diff line change
@@ -1,2 +1,13 @@
arguments=
auto.sync=false
build.scans.enabled=false
connection.gradle.distribution=GRADLE_DISTRIBUTION(WRAPPER)
connection.project.dir=
eclipse.preferences.version=1
gradle.user.home=
java.home=
jvm.arguments=
offline.mode=false
override.workspace.settings=false
show.console.view=false
show.executions.view=false
6 changes: 6 additions & 0 deletions pcap/.classpath
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@
<attribute name="test" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="bin/main" path="src/main/resources">
<attributes>
<attribute name="gradle_scope" value="main"/>
<attribute name="gradle_used_by_scope" value="main,test"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11/"/>
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer"/>
<classpathentry kind="output" path="bin/default"/>
Expand Down
2 changes: 1 addition & 1 deletion pcap/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.9.10
1.9.11
17 changes: 17 additions & 0 deletions pcap/src/main/java/com/silabs/na/pcap/LinkType.java
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,13 @@ public enum LinkType {
ETW(290),
NETANALYZER_NG(291),
ZBOSS_NCP(292),
USB_2_0_LOW_SPEED(293),
USB_2_0_FULL_SPEED(294),
USB_2_0_HIGH_SPEED(295),
AUERSWALD_LOG(296),
ZWAVE_TAP(297),
SILABS_DEBUG_CHANNEL(298),
FIRA_UCI(299),
// Start of footer
UNKNOWN(Integer.MAX_VALUE);

Expand All @@ -257,6 +264,16 @@ public int code() {
return code;
}

/**
* Returns the one established DLT for the
* silabs debug channel.
*
* @return
*/
public static LinkType silabsDebugChannel() {
return SILABS_DEBUG_CHANNEL;
}

/**
* Given a code, returns the enum value that matches it.
*
Expand Down