diff --git a/AMWD.Protocols.Modbus.Serial/ModbusSerialServer.cs b/AMWD.Protocols.Modbus.Serial/ModbusRtuServer.cs similarity index 95% rename from AMWD.Protocols.Modbus.Serial/ModbusSerialServer.cs rename to AMWD.Protocols.Modbus.Serial/ModbusRtuServer.cs index 9b2305e..5cb3f43 100644 --- a/AMWD.Protocols.Modbus.Serial/ModbusSerialServer.cs +++ b/AMWD.Protocols.Modbus.Serial/ModbusRtuServer.cs @@ -17,7 +17,7 @@ namespace AMWD.Protocols.Modbus.Serial /// A basic implementation of a Modbus serial line server. /// [System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage] - public class ModbusSerialServer : IDisposable + public class ModbusRtuServer : IDisposable { #region Fields @@ -34,11 +34,11 @@ namespace AMWD.Protocols.Modbus.Serial #region Constructors /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// The name of the serial port to use. /// The baud rate of the serial port (Default: 19.200). - public ModbusSerialServer(string portName, BaudRate baudRate = BaudRate.Baud19200) + public ModbusRtuServer(string portName, BaudRate baudRate = BaudRate.Baud19200) { if (string.IsNullOrWhiteSpace(portName)) throw new ArgumentNullException(nameof(portName)); @@ -195,7 +195,7 @@ namespace AMWD.Protocols.Modbus.Serial } /// - /// Releases all managed and unmanaged resources used by the . + /// Releases all managed and unmanaged resources used by the . /// public void Dispose() { diff --git a/CHANGELOG.md b/CHANGELOG.md index b2d4306..fd75da4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -_nothing changed yet_ +### Changed + +- Renamed `ModbusSerialServer` to `ModbusRtuServer` so clearify the protocol, that is used. ## [v0.2.0] (2024-04-02)