Skip to content

Commit 95b8f56

Browse files
Merge pull request #116 from divadiow/lanscanner
make lan scanner status log box resize relative to main window + add subnet autocomplete picker
2 parents 6eec1fd + a39b874 commit 95b8f56

File tree

10 files changed

+3053
-144
lines changed

10 files changed

+3053
-144
lines changed

BK7231Flasher/BK7231Flasher.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@
6565
<SubType>Form</SubType>
6666
</Compile>
6767
<Compile Include="Flashers\RDAFlasher.cs" />
68+
<Compile Include="Flashers\XR806Flasher.cs" />
69+
<Compile Include="Flashers\XR872Flasher.cs" />
6870
<Compile Include="Flashers\ESPFlasher.cs" />
6971
<Compile Include="Utils\Xmodem.cs" />
7072
<Compile Include="Flashers\WMFlasher.cs" />

BK7231Flasher/CommandLineRunner.cs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using System;
1+
using System;
22
using System.IO.Ports;
33
using System.Collections.Generic;
44
using System.Globalization;
@@ -414,7 +414,8 @@ static bool UsesSectorIndex(BKType chipType)
414414
case BKType.LN8825:
415415
case BKType.BL602:
416416
case BKType.BL702:
417-
case BKType.TR6260:
417+
case BKType.XR806:
418+
case BKType.XR872:
418419
return true;
419420
default:
420421
return false;
@@ -613,6 +614,10 @@ static BaseFlasher CreateFlasher(BKType chipType, CancellationToken ct)
613614
return new WMFlasher(ct);
614615
case BKType.RDA5981:
615616
return new RDAFlasher(ct);
617+
case BKType.XR806:
618+
return new XR806Flasher(ct);
619+
case BKType.XR872:
620+
return new XR872Flasher(ct);
616621
case BKType.ESP32:
617622
case BKType.ESP32C3:
618623
case BKType.ESP32S3:

BK7231Flasher/Flashers/BaseFlasher.cs

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using System;
1+
using System;
22
using System.Drawing;
33
using System.IO.Ports;
44
using System.Text;
@@ -8,37 +8,38 @@ namespace BK7231Flasher
88
{
99
public enum BKType
1010
{
11+
BK7231M,
12+
BK7231N,
1113
BK7231T,
1214
BK7231U,
13-
BK7231N,
14-
BK7231M,
15-
BK7238,
1615
BK7236,
16+
BK7238,
1717
BK7252,
1818
BK7252N,
1919
BK7258,
20-
RTL8710B,
21-
RTL87X0C,
22-
RTL8720D,
23-
RTL8721DA,
24-
RTL8720E,
25-
LN882H,
26-
LN8825,
20+
BekenSPI,
2721
BL602,
2822
BL616,
2923
BL702,
3024
ECR6600,
31-
W600,
32-
W800,
33-
RDA5981,
34-
TR6260,
35-
36-
BekenSPI,
37-
GenericSPI,
3825
ESP32,
39-
ESP32S3,
4026
ESP32C3,
27+
ESP32S3,
4128
ESP8266,
29+
GenericSPI,
30+
LN882H,
31+
LN8825,
32+
RDA5981,
33+
RTL8710B,
34+
RTL8720D,
35+
RTL8720E,
36+
RTL8721DA,
37+
RTL87X0C,
38+
TR6260,
39+
W600,
40+
W800,
41+
XR806,
42+
XR872,
4243

4344
Detect,
4445
Invalid,

0 commit comments

Comments
 (0)