Skip to content

Commit d5c2d8d

Browse files
authored
Merge pull request #7 from smdn/releases/Smdn.Devices.BP35XX-2.0.0-1725623642
Release main/Smdn.Devices.BP35XX-2.0.0
2 parents ef185af + f8f6d9d commit d5c2d8d

File tree

3 files changed

+21
-42
lines changed

3 files changed

+21
-42
lines changed

doc/api-list/Smdn.Devices.BP35XX/Smdn.Devices.BP35XX-net6.0.apilist.cs

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
// Smdn.Devices.BP35XX.dll (Smdn.Devices.BP35XX-1.0.0)
1+
// Smdn.Devices.BP35XX.dll (Smdn.Devices.BP35XX-2.0.0)
22
// Name: Smdn.Devices.BP35XX
3-
// AssemblyVersion: 1.0.0.0
4-
// InformationalVersion: 1.0.0+e4163ada5b034b45c5cc0dac179b412cf54198cd
3+
// AssemblyVersion: 2.0.0.0
4+
// InformationalVersion: 2.0.0+ef185af5c73268aab02d6909202fffce4560122b
55
// TargetFramework: .NETCoreApp,Version=v6.0
66
// Configuration: Release
77
// Referenced assemblies:
@@ -27,15 +27,8 @@
2727
using Smdn.Net.SkStackIP;
2828

2929
namespace Smdn.Devices.BP35XX {
30-
public interface IBP35Configurations {
31-
BP35UartBaudRate BaudRate { get; }
32-
SkStackERXUDPDataFormat ERXUDPDataFormat { get; }
33-
string? SerialPortName { get; }
34-
bool TryLoadFlashMemory { get; }
35-
}
36-
37-
public interface IBP35SerialPortStreamFactory {
38-
Stream CreateSerialPortStream(IBP35Configurations configurations);
30+
public interface IBP35SerialPortStreamFactory : IDisposable {
31+
Stream CreateSerialPortStream(string? serialPortName);
3932
}
4033

4134
public enum BP35UartBaudRate : byte {
@@ -72,13 +65,13 @@ public static ValueTask<BP35A1> CreateAsync(BP35A1Configurations configurations,
7265
public static ValueTask<BP35A1> CreateAsync(string? serialPortName, IServiceProvider? serviceProvider = null, CancellationToken cancellationToken = default) {}
7366
}
7467

75-
public sealed class BP35A1Configurations : IBP35Configurations {
68+
public sealed class BP35A1Configurations {
7669
public BP35A1Configurations() {}
7770

7871
public BP35UartBaudRate BaudRate { get; set; }
7972
public string? SerialPortName { get; set; }
80-
SkStackERXUDPDataFormat IBP35Configurations.ERXUDPDataFormat { get; }
8173
public bool TryLoadFlashMemory { get; set; }
74+
public bool UseFlowControl { get; set; }
8275
}
8376

8477
public abstract class BP35Base : SkStackClient {

doc/api-list/Smdn.Devices.BP35XX/Smdn.Devices.BP35XX-net8.0.apilist.cs

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
// Smdn.Devices.BP35XX.dll (Smdn.Devices.BP35XX-1.0.0)
1+
// Smdn.Devices.BP35XX.dll (Smdn.Devices.BP35XX-2.0.0)
22
// Name: Smdn.Devices.BP35XX
3-
// AssemblyVersion: 1.0.0.0
4-
// InformationalVersion: 1.0.0+e4163ada5b034b45c5cc0dac179b412cf54198cd
3+
// AssemblyVersion: 2.0.0.0
4+
// InformationalVersion: 2.0.0+ef185af5c73268aab02d6909202fffce4560122b
55
// TargetFramework: .NETCoreApp,Version=v8.0
66
// Configuration: Release
77
// Referenced assemblies:
@@ -27,15 +27,8 @@
2727
using Smdn.Net.SkStackIP;
2828

2929
namespace Smdn.Devices.BP35XX {
30-
public interface IBP35Configurations {
31-
BP35UartBaudRate BaudRate { get; }
32-
SkStackERXUDPDataFormat ERXUDPDataFormat { get; }
33-
string? SerialPortName { get; }
34-
bool TryLoadFlashMemory { get; }
35-
}
36-
37-
public interface IBP35SerialPortStreamFactory {
38-
Stream CreateSerialPortStream(IBP35Configurations configurations);
30+
public interface IBP35SerialPortStreamFactory : IDisposable {
31+
Stream CreateSerialPortStream(string? serialPortName);
3932
}
4033

4134
public enum BP35UartBaudRate : byte {
@@ -72,13 +65,13 @@ public static ValueTask<BP35A1> CreateAsync(BP35A1Configurations configurations,
7265
public static ValueTask<BP35A1> CreateAsync(string? serialPortName, IServiceProvider? serviceProvider = null, CancellationToken cancellationToken = default) {}
7366
}
7467

75-
public sealed class BP35A1Configurations : IBP35Configurations {
68+
public sealed class BP35A1Configurations {
7669
public BP35A1Configurations() {}
7770

7871
public BP35UartBaudRate BaudRate { get; set; }
7972
public string? SerialPortName { get; set; }
80-
SkStackERXUDPDataFormat IBP35Configurations.ERXUDPDataFormat { get; }
8173
public bool TryLoadFlashMemory { get; set; }
74+
public bool UseFlowControl { get; set; }
8275
}
8376

8477
public abstract class BP35Base : SkStackClient {

doc/api-list/Smdn.Devices.BP35XX/Smdn.Devices.BP35XX-netstandard2.1.apilist.cs

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
// Smdn.Devices.BP35XX.dll (Smdn.Devices.BP35XX-1.0.0)
1+
// Smdn.Devices.BP35XX.dll (Smdn.Devices.BP35XX-2.0.0)
22
// Name: Smdn.Devices.BP35XX
3-
// AssemblyVersion: 1.0.0.0
4-
// InformationalVersion: 1.0.0+e4163ada5b034b45c5cc0dac179b412cf54198cd
3+
// AssemblyVersion: 2.0.0.0
4+
// InformationalVersion: 2.0.0+ef185af5c73268aab02d6909202fffce4560122b
55
// TargetFramework: .NETStandard,Version=v2.1
66
// Configuration: Release
77
// Referenced assemblies:
@@ -23,15 +23,8 @@
2323
using Smdn.Net.SkStackIP;
2424

2525
namespace Smdn.Devices.BP35XX {
26-
public interface IBP35Configurations {
27-
BP35UartBaudRate BaudRate { get; }
28-
SkStackERXUDPDataFormat ERXUDPDataFormat { get; }
29-
string? SerialPortName { get; }
30-
bool TryLoadFlashMemory { get; }
31-
}
32-
33-
public interface IBP35SerialPortStreamFactory {
34-
Stream CreateSerialPortStream(IBP35Configurations configurations);
26+
public interface IBP35SerialPortStreamFactory : IDisposable {
27+
Stream CreateSerialPortStream(string? serialPortName);
3528
}
3629

3730
public enum BP35UartBaudRate : byte {
@@ -68,13 +61,13 @@ public static ValueTask<BP35A1> CreateAsync(BP35A1Configurations configurations,
6861
public static ValueTask<BP35A1> CreateAsync(string? serialPortName, IServiceProvider? serviceProvider = null, CancellationToken cancellationToken = default) {}
6962
}
7063

71-
public sealed class BP35A1Configurations : IBP35Configurations {
64+
public sealed class BP35A1Configurations {
7265
public BP35A1Configurations() {}
7366

7467
public BP35UartBaudRate BaudRate { get; set; }
7568
public string? SerialPortName { get; set; }
76-
SkStackERXUDPDataFormat IBP35Configurations.ERXUDPDataFormat { get; }
7769
public bool TryLoadFlashMemory { get; set; }
70+
public bool UseFlowControl { get; set; }
7871
}
7972

8073
public abstract class BP35Base : SkStackClient {

0 commit comments

Comments
 (0)