Skip to content

Modernize NHS serial communication and add configurable port settings - #3542

Closed
Challado wants to merge 5 commits into
networkupstools:masterfrom
Challado:master
Closed

Modernize NHS serial communication and add configurable port settings#3542
Challado wants to merge 5 commits into
networkupstools:masterfrom
Challado:master

Conversation

@Challado

@Challado Challado commented Jul 23, 2026

Copy link
Copy Markdown

Summary

  • Modernize the NHS serial communication implementation.
  • Add validated configuration for baud rate, data bits, parity, stop bits and flow control.
  • Add configurable serial read timeout and transmission pacing.
  • Preserve the driver's existing conditional compilation directives.
  • Improve resource handling, reconnection behavior and explanatory comments.
  • Bump the driver version from 0.04 to 0.05.

Related to #3510.

Testing

  • Successfully compiled the nhs_ser driver on Linux.
  • Runtime communication with UPS hardware has not yet been tested.

@github-actions

github-actions Bot commented Jul 23, 2026

Copy link
Copy Markdown

A ZIP file with standard source tarball and another tarball with pre-built docs for commit 5067904 is temporarily available: NUT-tarballs-PR-3542.zip.

@Challado

Copy link
Copy Markdown
Author

Superseded by #3543, which contains the same change as a single signed-off commit.

@Challado Challado closed this Jul 23, 2026
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.

1 participant