This repository was archived by the owner on Nov 15, 2026. It is now read-only.
Repository navigation
feat: read example models from Open Modbus Catalog (SIM-01) - #25
Merged
Merged
Conversation
Pin the ADAM-5017UH model, vectors and scenario at catalog commit f4e1f9c instead of modbus-models. Use the frozen ADAM-6024 regression fixture as the second example device and ship it in the image. Check the catalog vectors against the independent known values in the interop acceptance, and point the docs at the open catalog. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
SIM-01. Moves modsim's public model inputs from
top-maker/modbus-modelsto Open Modbus Catalog so thatmodbus-modelscan be deleted.examples/model-source.yamlpins catalog commitf4e1f9cand the ADAM-5017UH model, vectors and sine scenario by SHA-256. The model bytes are unchanged (9e1d6e38…).examples/deployment.yamlkeeps two devices: ADAM-5017UH from the catalog and ADAM-6024 from the frozentests/fixtures/io-modulefixture (byte-identical to the former modbus-models copy). The Dockerfile copies that fixture.tools/catalog-interop.pytakes--vectorsand requires the catalog vectors to equal the independent known values; the report recordsvectors-sha256. The acceptance workflow uses it.Local:
make check,pytest(109 passed, 2 skipped),MODSIM_CATALOG_PLATFORM=1 pytest tests/test_catalog_platform.py(2 passed),tools/generate-td.py --check, andtools/catalog-interop.pyagainst modpoll and node-wot 0.9.2 (raw wire, modpoll, node-wot, wrong byte order and shutdown passed).🤖 Generated with Claude Code