Skip to content

feat(s7commplus): add multi-write APIs - #819

Open
gijzelaerr wants to merge 2 commits into
masterfrom
feat/795-s7commplus-multi-write
Open

feat(s7commplus): add multi-write APIs#819
gijzelaerr wants to merge 2 commits into
masterfrom
feat/795-s7commplus-multi-write

Conversation

@gijzelaerr

@gijzelaerr gijzelaerr commented Aug 18, 2026

Copy link
Copy Markdown
Owner

Summary

  • add db_write_multi() to the synchronous and asynchronous S7CommPlus clients
  • add the requested write_multi() convenience alias
  • encode regular-session writes in one existing SET_MULTI_VARIABLES request
  • preserve V1-initial/substreamed compatibility by issuing one SET_VAR_SUBSTREAMED request per item
  • cover disconnected behavior, cross-DB sync/async integration, and the substreamed fallback

Verification

  • uv run --frozen pytest (1826 passed, 78 skipped)
  • uv run --frozen pre-commit run --all-files
  • uv build --no-sources

Fixes #795

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

S7CommPlus multi-write (SetMultiVariables for data)

1 participant