Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 1.4 KB

CHANGELOG.md

File metadata and controls

39 lines (25 loc) · 1.4 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[0.3.0] - unreleased

Breaking changes to following structs/methods/functions

  • struct field modbus.Field.RegisterAddress was renamed to Address
  • struct modbus.RegisterRequest was renamed to BuilderRequest
  • method BuilderRequest.ExtractFields() signature changed

Added

  • Added FC1/FC2 support to builder. You can register coils with b.Coild(address) to be requested and extracted. Builder has now following methods for splitting:
    • ReadCoilsTCP combines fields into TCP Read Coils (FC1) requests
    • ReadCoilsRTU combines fields into RTU Read Coils (FC1) requests
    • ReadDiscreteInputsTCP combines fields into TCP Read Discrete Inputs (FC2) requests
    • ReadDiscreteInputsRTU combines fields into RTU Read Discrete Inputs (FC2) requests

[0.2.0] - unreleased

Added

  • Added support for FC17 (0x11) Read Server ID.
  • Added packet.LooksLikeModbusTCP() to check if given bytes are possibly TCP packet or start of packet.
  • Added Parse*Request* for every function type to help implement Modbus servers.
  • Added Server package to implement your own modbus server

[0.0.1] - 2021-04-11

Added

  • First implementations