Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert LS372 class to TCPInterface subclass #775

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

BrianJKoopman
Copy link
Member

Description

This converts the LS372 class to be a subclass of the new TCPInterface class introduced in #769.

Motivation and Context

Resolves #774.

This also is a good demonstration of the use of the TCPInterface subclass beyond the initial Cryomech Agent example.

How Has This Been Tested?

Not yet tested, needs to be tested against the actual hardware in dropout scenarios. Will submit as draft until then.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

This better mimics the socket API, which developers looking to use TCP might
already be familiar with.
Default to 4096, the reasonable example value from upstream docs, which is
commonly used in existing agents.
@BrianJKoopman BrianJKoopman force-pushed the koopman/tcp-device-interface-class branch from 527498a to 97d00a1 Compare November 21, 2024 18:10
Base automatically changed from koopman/tcp-device-interface-class to main November 21, 2024 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant