Added README for cli tool

This commit is contained in:
2025-01-21 20:00:28 +01:00
parent 39863880d5
commit 1cf49f74ea
4 changed files with 105 additions and 2 deletions

View File

@@ -675,6 +675,10 @@ namespace AMWD.Protocols.Modbus.Common.Protocols
/// <summary>
/// Calculate LRC for Modbus ASCII.
/// </summary>
/// <remarks>
/// The LRC calculation algorithm is defined in the Modbus serial line specification.
/// See <see href="https://modbus.org/docs/Modbus_over_serial_line_V1_02.pdf">Modbus over Serial Line v1.02</see>, Appendix B, page 38.
/// </remarks>
/// <param name="message">The message chars.</param>
/// <param name="start">The start index.</param>
/// <param name="length">The number of bytes to calculate.</param>

View File

@@ -733,6 +733,10 @@ namespace AMWD.Protocols.Modbus.Common.Protocols
/// <summary>
/// Calculate CRC16 for Modbus RTU.
/// </summary>
/// <remarks>
/// The CRC 16 calculation algorithm is defined in the Modbus serial line specification.
/// See <see href="https://modbus.org/docs/Modbus_over_serial_line_V1_02.pdf">Modbus over Serial Line v1.02</see>, Appendix B, page 40.
/// </remarks>
/// <param name="bytes">The message bytes.</param>
/// <param name="start">The start index.</param>
/// <param name="length">The number of bytes to calculate.</param>