Skip to content

Commit 3fe84f6

Browse files
committed
Data cleanup before PCAN capture
1 parent dbfe1d8 commit 3fe84f6

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

MainWindow.xaml.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,8 @@ private async void RecordMenuItem_ClickAsync(object sender, RoutedEventArgs e)
212212
{
213213
if (PCAN.StartCapture())
214214
{
215+
ClearData();
216+
215217
// Pause here to allow packet to capture.
216218
System.Windows.MessageBox.Show(
217219
"Capture Started. Press OK to stop",

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,8 @@ Custom definitions can be set in local.json
2222

2323
## Presets
2424

25-
You can define your own presets in presets.json
25+
You can define your own presets in presets.json
26+
27+
## Live capture
28+
29+
Supported with Canable.io boards from AliExpress using PCAN driver

presets.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
"Name": "Autopilot",
1616
"IncludePGNs": "126208,65359,65360,65379,126720,130850"
1717
},
18+
{
19+
"Name": "Autopilot Control",
20+
"IncludePGNs": "126208,126720"
21+
},
1822
{
1923
"Name": "Alerts",
2024
"IncludePGNs": "65288,65361,130856,126983,126984,126985,126986,126987,126988"

0 commit comments

Comments
 (0)