Skip to content

Commit fb6d522

Browse files
authored
Add the export mode. (#3)
1 parent da281be commit fb6d522

File tree

4 files changed

+24
-35
lines changed

4 files changed

+24
-35
lines changed

silabs-pti/.classpath

Lines changed: 18 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,33 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<classpath>
3-
<classpathentry kind="src" output="bin/main"
4-
path="src/main/java">
3+
<classpathentry kind="src" output="bin/main" path="src/main/java">
54
<attributes>
6-
<attribute name="gradle_scope" value="main" />
7-
<attribute name="gradle_used_by_scope" value="main,test" />
5+
<attribute name="gradle_scope" value="main"/>
6+
<attribute name="gradle_used_by_scope" value="main,test"/>
87
</attributes>
98
</classpathentry>
10-
<classpathentry kind="src" output="bin/main"
11-
path="src/main/resources">
9+
<classpathentry kind="src" output="bin/main" path="src/main/resources">
1210
<attributes>
13-
<attribute name="gradle_scope" value="main" />
14-
<attribute name="gradle_used_by_scope" value="main,test" />
11+
<attribute name="gradle_scope" value="main"/>
12+
<attribute name="gradle_used_by_scope" value="main,test"/>
1513
</attributes>
1614
</classpathentry>
17-
<classpathentry kind="src" output="bin/test"
18-
path="src/test/java">
15+
<classpathentry kind="src" output="bin/test" path="src/test/java">
1916
<attributes>
20-
<attribute name="test" value="true" />
21-
<attribute name="gradle_scope" value="test" />
22-
<attribute name="gradle_used_by_scope" value="test" />
17+
<attribute name="gradle_scope" value="test"/>
18+
<attribute name="gradle_used_by_scope" value="test"/>
19+
<attribute name="test" value="true"/>
2320
</attributes>
2421
</classpathentry>
25-
<classpathentry kind="src" output="bin/test"
26-
path="src/test/resources">
22+
<classpathentry kind="src" output="bin/test" path="src/test/resources">
2723
<attributes>
28-
<attribute name="test" value="true" />
29-
<attribute name="gradle_scope" value="test" />
30-
<attribute name="gradle_used_by_scope" value="test" />
24+
<attribute name="gradle_scope" value="test"/>
25+
<attribute name="gradle_used_by_scope" value="test"/>
26+
<attribute name="test" value="true"/>
3127
</attributes>
3228
</classpathentry>
33-
<classpathentry combineaccessrules="false" kind="src"
34-
path="/pcap" />
35-
<classpathentry kind="con"
36-
path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11">
37-
<attributes>
38-
<attribute name="module" value="true" />
39-
</attributes>
40-
</classpathentry>
41-
<classpathentry kind="con"
42-
path="org.eclipse.buildship.core.gradleclasspathcontainer" />
43-
<classpathentry kind="output" path="bin/default" />
29+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17/"/>
30+
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer"/>
31+
<classpathentry combineaccessrules="false" kind="src" path="/pcap"/>
32+
<classpathentry kind="output" path="bin/default"/>
4433
</classpath>

silabs-pti/.settings/org.eclipse.jdt.core.prefs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ org.eclipse.jdt.core.compiler.annotation.nullable.secondary=
1111
org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled
1212
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
1313
org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
14-
org.eclipse.jdt.core.compiler.codegen.targetPlatform=11
14+
org.eclipse.jdt.core.compiler.codegen.targetPlatform=17
1515
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
16-
org.eclipse.jdt.core.compiler.compliance=11
16+
org.eclipse.jdt.core.compiler.compliance=17
1717
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
1818
org.eclipse.jdt.core.compiler.debug.localVariable=generate
1919
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
@@ -115,7 +115,7 @@ org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore
115115
org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
116116
org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
117117
org.eclipse.jdt.core.compiler.release=enabled
118-
org.eclipse.jdt.core.compiler.source=11
118+
org.eclipse.jdt.core.compiler.source=17
119119
org.eclipse.jdt.core.formatter.align_assignment_statements_on_columns=false
120120
org.eclipse.jdt.core.formatter.align_fields_grouping_blank_lines=2147483647
121121
org.eclipse.jdt.core.formatter.align_selector_in_method_invocation_on_expression_first_line=false

silabs-pti/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.12.3
1+
1.12.4

silabs-pti/src/main/java/com/silabs/pti/util/WiresharkUtil.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
public class WiresharkUtil {
2828

2929
public enum PcapngExportMode {
30-
NOFCS("nofcs"), WISUN_AUTO("wisun-auto"), WISUN_RAIL_WISUN("wisun"), WISUN_RAIL_CUSTOM("wisun-custom");
30+
NOFCS("nofcs"), WISUN_AUTO("wisun-auto"), WISUN_RAIL_WISUN("wisun"), WISUN_RAIL_CUSTOM("wisun-custom"), SILABS_DEBUG_CHANNEL("silabs-dch");
3131

3232
private final String id;
3333

@@ -44,7 +44,7 @@ public static PcapngExportMode resolve(final String s) {
4444
}
4545

4646
public static PcapngExportMode defaultMode() {
47-
return NOFCS;
47+
return SILABS_DEBUG_CHANNEL;
4848
}
4949

5050
public String id() {

0 commit comments

Comments
 (0)