Skip to content

Conversation

@CBielstein
Copy link
Owner

Description

The TcpConnection object exists to allow easy testing. However, it isn't super useful for users of the package..and requires extra code and understanding extra concepts. This PR adds the ability of TcpTnc to manage its own TcpConnection while preserving the ability to pass in an object for testing.

Changes

  • Allow TcpTnc construction without a TcpConnection object (managed inside the TcpTnc object directly)
  • Update in CLI app to use the simpler constructor

Validation

  • CI passes
  • Manual test against a TCP KISS TNC is functioning well

@CBielstein CBielstein self-assigned this Oct 5, 2025
@CBielstein CBielstein added the code cleanliness Refactors, static analysis, etc. label Oct 5, 2025
@CBielstein CBielstein merged commit e90d54b into main Oct 5, 2025
3 checks passed
@CBielstein CBielstein deleted the tnc-managed-tcp branch October 5, 2025 05:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

code cleanliness Refactors, static analysis, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants