From 3c0aee64a7ec21201f5c2cad8f61053f3dccb913 Mon Sep 17 00:00:00 2001 From: github-actions Date: Sat, 6 Apr 2024 15:46:31 +0000 Subject: [PATCH] update API list Smdn.Devices.BP35XX-1.0.0 --- .../Smdn.Devices.BP35XX-net6.0.apilist.cs | 110 ++++++++++++++++++ .../Smdn.Devices.BP35XX-net8.0.apilist.cs | 110 ++++++++++++++++++ ...n.Devices.BP35XX-netstandard2.1.apilist.cs | 106 +++++++++++++++++ 3 files changed, 326 insertions(+) create mode 100644 doc/api-list/Smdn.Devices.BP35XX/Smdn.Devices.BP35XX-net6.0.apilist.cs create mode 100644 doc/api-list/Smdn.Devices.BP35XX/Smdn.Devices.BP35XX-net8.0.apilist.cs create mode 100644 doc/api-list/Smdn.Devices.BP35XX/Smdn.Devices.BP35XX-netstandard2.1.apilist.cs diff --git a/doc/api-list/Smdn.Devices.BP35XX/Smdn.Devices.BP35XX-net6.0.apilist.cs b/doc/api-list/Smdn.Devices.BP35XX/Smdn.Devices.BP35XX-net6.0.apilist.cs new file mode 100644 index 0000000..b86796d --- /dev/null +++ b/doc/api-list/Smdn.Devices.BP35XX/Smdn.Devices.BP35XX-net6.0.apilist.cs @@ -0,0 +1,110 @@ +// Smdn.Devices.BP35XX.dll (Smdn.Devices.BP35XX-1.0.0) +// Name: Smdn.Devices.BP35XX +// AssemblyVersion: 1.0.0.0 +// InformationalVersion: 1.0.0+e4163ada5b034b45c5cc0dac179b412cf54198cd +// TargetFramework: .NETCoreApp,Version=v6.0 +// Configuration: Release +// Referenced assemblies: +// Microsoft.Extensions.DependencyInjection.Abstractions, Version=8.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 +// Microsoft.Extensions.Logging.Abstractions, Version=8.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 +// Smdn.Fundamental.PrintableEncoding.Hexadecimal, Version=3.0.0.0, Culture=neutral +// Smdn.Net.SkStackIP, Version=1.0.0.0, Culture=neutral +// System.ComponentModel, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a +// System.IO.Ports, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 +// System.Memory, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 +// System.Net.NetworkInformation, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a +// System.Net.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a +// System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a +#nullable enable annotations + +using System; +using System.IO; +using System.Net; +using System.Net.NetworkInformation; +using System.Threading; +using System.Threading.Tasks; +using Smdn.Devices.BP35XX; +using Smdn.Net.SkStackIP; + +namespace Smdn.Devices.BP35XX { + public interface IBP35Configurations { + BP35UartBaudRate BaudRate { get; } + SkStackERXUDPDataFormat ERXUDPDataFormat { get; } + string? SerialPortName { get; } + bool TryLoadFlashMemory { get; } + } + + public interface IBP35SerialPortStreamFactory { + Stream CreateSerialPortStream(IBP35Configurations configurations); + } + + public enum BP35UartBaudRate : byte { + Baud115200 = 0, + Baud19200 = 4, + Baud2400 = 1, + Baud38400 = 5, + Baud4800 = 2, + Baud57600 = 6, + Baud9600 = 3, + } + + public enum BP35UartCharacterInterval : byte { + Microseconds100 = 16, + Microseconds200 = 32, + Microseconds300 = 48, + Microseconds400 = 64, + Microseconds50 = 80, + None = 0, + } + + public enum BP35UartFlowControl : byte { + Disabled = 0, + Enabled = 128, + } + + public enum BP35UdpReceiveDataFormat : byte { + Binary = 0, + HexAscii = 1, + } + + public class BP35A1 : BP35Base { + public static ValueTask CreateAsync(BP35A1Configurations configurations, IServiceProvider? serviceProvider = null, CancellationToken cancellationToken = default) {} + public static ValueTask CreateAsync(string? serialPortName, IServiceProvider? serviceProvider = null, CancellationToken cancellationToken = default) {} + } + + public sealed class BP35A1Configurations : IBP35Configurations { + public BP35A1Configurations() {} + + public BP35UartBaudRate BaudRate { get; set; } + public string? SerialPortName { get; set; } + SkStackERXUDPDataFormat IBP35Configurations.ERXUDPDataFormat { get; } + public bool TryLoadFlashMemory { get; set; } + } + + public abstract class BP35Base : SkStackClient { + public IPAddress LinkLocalAddress { get; } + public PhysicalAddress MacAddress { get; } + public string RohmPassword { get; } + public string RohmUserId { get; } + public string SkStackAppVersion { get; } + public Version SkStackVersion { get; } + + public async ValueTask GetUartOptionsAsync(CancellationToken cancellationToken = default) {} + public async ValueTask GetUdpDataFormatAsync(CancellationToken cancellationToken = default) {} + public ValueTask SetUartOptionsAsync(BP35UartBaudRate baudRate, BP35UartCharacterInterval characterInterval = BP35UartCharacterInterval.None, BP35UartFlowControl flowControl = BP35UartFlowControl.Disabled, CancellationToken cancellationToken = default) {} + public ValueTask SetUartOptionsAsync(BP35UartConfigurations uartConfigurations, CancellationToken cancellationToken = default) {} + public ValueTask SetUdpDataFormatAsync(BP35UdpReceiveDataFormat format, CancellationToken cancellationToken = default) {} + } + + public readonly struct BP35UartConfigurations { + public BP35UartConfigurations(BP35UartBaudRate baudRate, BP35UartCharacterInterval characterInterval, BP35UartFlowControl flowControl) {} + + public BP35UartBaudRate BaudRate { get; } + public BP35UartCharacterInterval CharacterInterval { get; } + public BP35UartFlowControl FlowControl { get; } + + public void Deconstruct(out BP35UartBaudRate baudRate, out BP35UartCharacterInterval characterInterval, out BP35UartFlowControl flowControl) {} + } +} +// API list generated by Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks v1.4.1.0. +// Smdn.Reflection.ReverseGenerating.ListApi.Core v1.3.1.0 (https://github.com/smdn/Smdn.Reflection.ReverseGenerating) diff --git a/doc/api-list/Smdn.Devices.BP35XX/Smdn.Devices.BP35XX-net8.0.apilist.cs b/doc/api-list/Smdn.Devices.BP35XX/Smdn.Devices.BP35XX-net8.0.apilist.cs new file mode 100644 index 0000000..d0204eb --- /dev/null +++ b/doc/api-list/Smdn.Devices.BP35XX/Smdn.Devices.BP35XX-net8.0.apilist.cs @@ -0,0 +1,110 @@ +// Smdn.Devices.BP35XX.dll (Smdn.Devices.BP35XX-1.0.0) +// Name: Smdn.Devices.BP35XX +// AssemblyVersion: 1.0.0.0 +// InformationalVersion: 1.0.0+e4163ada5b034b45c5cc0dac179b412cf54198cd +// TargetFramework: .NETCoreApp,Version=v8.0 +// Configuration: Release +// Referenced assemblies: +// Microsoft.Extensions.DependencyInjection.Abstractions, Version=8.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 +// Microsoft.Extensions.Logging.Abstractions, Version=8.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 +// Smdn.Fundamental.PrintableEncoding.Hexadecimal, Version=3.0.0.0, Culture=neutral +// Smdn.Net.SkStackIP, Version=1.0.0.0, Culture=neutral +// System.ComponentModel, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a +// System.IO.Ports, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 +// System.Memory, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 +// System.Net.NetworkInformation, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a +// System.Net.Primitives, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a +// System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a +#nullable enable annotations + +using System; +using System.IO; +using System.Net; +using System.Net.NetworkInformation; +using System.Threading; +using System.Threading.Tasks; +using Smdn.Devices.BP35XX; +using Smdn.Net.SkStackIP; + +namespace Smdn.Devices.BP35XX { + public interface IBP35Configurations { + BP35UartBaudRate BaudRate { get; } + SkStackERXUDPDataFormat ERXUDPDataFormat { get; } + string? SerialPortName { get; } + bool TryLoadFlashMemory { get; } + } + + public interface IBP35SerialPortStreamFactory { + Stream CreateSerialPortStream(IBP35Configurations configurations); + } + + public enum BP35UartBaudRate : byte { + Baud115200 = 0, + Baud19200 = 4, + Baud2400 = 1, + Baud38400 = 5, + Baud4800 = 2, + Baud57600 = 6, + Baud9600 = 3, + } + + public enum BP35UartCharacterInterval : byte { + Microseconds100 = 16, + Microseconds200 = 32, + Microseconds300 = 48, + Microseconds400 = 64, + Microseconds50 = 80, + None = 0, + } + + public enum BP35UartFlowControl : byte { + Disabled = 0, + Enabled = 128, + } + + public enum BP35UdpReceiveDataFormat : byte { + Binary = 0, + HexAscii = 1, + } + + public class BP35A1 : BP35Base { + public static ValueTask CreateAsync(BP35A1Configurations configurations, IServiceProvider? serviceProvider = null, CancellationToken cancellationToken = default) {} + public static ValueTask CreateAsync(string? serialPortName, IServiceProvider? serviceProvider = null, CancellationToken cancellationToken = default) {} + } + + public sealed class BP35A1Configurations : IBP35Configurations { + public BP35A1Configurations() {} + + public BP35UartBaudRate BaudRate { get; set; } + public string? SerialPortName { get; set; } + SkStackERXUDPDataFormat IBP35Configurations.ERXUDPDataFormat { get; } + public bool TryLoadFlashMemory { get; set; } + } + + public abstract class BP35Base : SkStackClient { + public IPAddress LinkLocalAddress { get; } + public PhysicalAddress MacAddress { get; } + public string RohmPassword { get; } + public string RohmUserId { get; } + public string SkStackAppVersion { get; } + public Version SkStackVersion { get; } + + public async ValueTask GetUartOptionsAsync(CancellationToken cancellationToken = default) {} + public async ValueTask GetUdpDataFormatAsync(CancellationToken cancellationToken = default) {} + public ValueTask SetUartOptionsAsync(BP35UartBaudRate baudRate, BP35UartCharacterInterval characterInterval = BP35UartCharacterInterval.None, BP35UartFlowControl flowControl = BP35UartFlowControl.Disabled, CancellationToken cancellationToken = default) {} + public ValueTask SetUartOptionsAsync(BP35UartConfigurations uartConfigurations, CancellationToken cancellationToken = default) {} + public ValueTask SetUdpDataFormatAsync(BP35UdpReceiveDataFormat format, CancellationToken cancellationToken = default) {} + } + + public readonly struct BP35UartConfigurations { + public BP35UartConfigurations(BP35UartBaudRate baudRate, BP35UartCharacterInterval characterInterval, BP35UartFlowControl flowControl) {} + + public BP35UartBaudRate BaudRate { get; } + public BP35UartCharacterInterval CharacterInterval { get; } + public BP35UartFlowControl FlowControl { get; } + + public void Deconstruct(out BP35UartBaudRate baudRate, out BP35UartCharacterInterval characterInterval, out BP35UartFlowControl flowControl) {} + } +} +// API list generated by Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks v1.4.1.0. +// Smdn.Reflection.ReverseGenerating.ListApi.Core v1.3.1.0 (https://github.com/smdn/Smdn.Reflection.ReverseGenerating) diff --git a/doc/api-list/Smdn.Devices.BP35XX/Smdn.Devices.BP35XX-netstandard2.1.apilist.cs b/doc/api-list/Smdn.Devices.BP35XX/Smdn.Devices.BP35XX-netstandard2.1.apilist.cs new file mode 100644 index 0000000..e9184a4 --- /dev/null +++ b/doc/api-list/Smdn.Devices.BP35XX/Smdn.Devices.BP35XX-netstandard2.1.apilist.cs @@ -0,0 +1,106 @@ +// Smdn.Devices.BP35XX.dll (Smdn.Devices.BP35XX-1.0.0) +// Name: Smdn.Devices.BP35XX +// AssemblyVersion: 1.0.0.0 +// InformationalVersion: 1.0.0+e4163ada5b034b45c5cc0dac179b412cf54198cd +// TargetFramework: .NETStandard,Version=v2.1 +// Configuration: Release +// Referenced assemblies: +// Microsoft.Extensions.DependencyInjection.Abstractions, Version=8.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 +// Microsoft.Extensions.Logging.Abstractions, Version=8.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 +// Smdn.Fundamental.PrintableEncoding.Hexadecimal, Version=3.0.0.0, Culture=neutral +// Smdn.Net.SkStackIP, Version=1.0.0.0, Culture=neutral +// System.IO.Ports, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 +// netstandard, Version=2.1.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 +#nullable enable annotations + +using System; +using System.IO; +using System.Net; +using System.Net.NetworkInformation; +using System.Threading; +using System.Threading.Tasks; +using Smdn.Devices.BP35XX; +using Smdn.Net.SkStackIP; + +namespace Smdn.Devices.BP35XX { + public interface IBP35Configurations { + BP35UartBaudRate BaudRate { get; } + SkStackERXUDPDataFormat ERXUDPDataFormat { get; } + string? SerialPortName { get; } + bool TryLoadFlashMemory { get; } + } + + public interface IBP35SerialPortStreamFactory { + Stream CreateSerialPortStream(IBP35Configurations configurations); + } + + public enum BP35UartBaudRate : byte { + Baud115200 = 0, + Baud19200 = 4, + Baud2400 = 1, + Baud38400 = 5, + Baud4800 = 2, + Baud57600 = 6, + Baud9600 = 3, + } + + public enum BP35UartCharacterInterval : byte { + Microseconds100 = 16, + Microseconds200 = 32, + Microseconds300 = 48, + Microseconds400 = 64, + Microseconds50 = 80, + None = 0, + } + + public enum BP35UartFlowControl : byte { + Disabled = 0, + Enabled = 128, + } + + public enum BP35UdpReceiveDataFormat : byte { + Binary = 0, + HexAscii = 1, + } + + public class BP35A1 : BP35Base { + public static ValueTask CreateAsync(BP35A1Configurations configurations, IServiceProvider? serviceProvider = null, CancellationToken cancellationToken = default) {} + public static ValueTask CreateAsync(string? serialPortName, IServiceProvider? serviceProvider = null, CancellationToken cancellationToken = default) {} + } + + public sealed class BP35A1Configurations : IBP35Configurations { + public BP35A1Configurations() {} + + public BP35UartBaudRate BaudRate { get; set; } + public string? SerialPortName { get; set; } + SkStackERXUDPDataFormat IBP35Configurations.ERXUDPDataFormat { get; } + public bool TryLoadFlashMemory { get; set; } + } + + public abstract class BP35Base : SkStackClient { + public IPAddress LinkLocalAddress { get; } + public PhysicalAddress MacAddress { get; } + public string RohmPassword { get; } + public string RohmUserId { get; } + public string SkStackAppVersion { get; } + public Version SkStackVersion { get; } + + public async ValueTask GetUartOptionsAsync(CancellationToken cancellationToken = default) {} + public async ValueTask GetUdpDataFormatAsync(CancellationToken cancellationToken = default) {} + public ValueTask SetUartOptionsAsync(BP35UartBaudRate baudRate, BP35UartCharacterInterval characterInterval = BP35UartCharacterInterval.None, BP35UartFlowControl flowControl = BP35UartFlowControl.Disabled, CancellationToken cancellationToken = default) {} + public ValueTask SetUartOptionsAsync(BP35UartConfigurations uartConfigurations, CancellationToken cancellationToken = default) {} + public ValueTask SetUdpDataFormatAsync(BP35UdpReceiveDataFormat format, CancellationToken cancellationToken = default) {} + } + + public readonly struct BP35UartConfigurations { + public BP35UartConfigurations(BP35UartBaudRate baudRate, BP35UartCharacterInterval characterInterval, BP35UartFlowControl flowControl) {} + + public BP35UartBaudRate BaudRate { get; } + public BP35UartCharacterInterval CharacterInterval { get; } + public BP35UartFlowControl FlowControl { get; } + + public void Deconstruct(out BP35UartBaudRate baudRate, out BP35UartCharacterInterval characterInterval, out BP35UartFlowControl flowControl) {} + } +} +// API list generated by Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks v1.4.1.0. +// Smdn.Reflection.ReverseGenerating.ListApi.Core v1.3.1.0 (https://github.com/smdn/Smdn.Reflection.ReverseGenerating)