Skip to content

feat: add BaseInterface(Protocol) to base in samps module#77

Merged
michealroberts merged 1 commit intomainfrom
feature/base/BaseInterface
Dec 16, 2025
Merged

feat: add BaseInterface(Protocol) to base in samps module#77
michealroberts merged 1 commit intomainfrom
feature/base/BaseInterface

Conversation

@michealroberts
Copy link
Owner

feat: add BaseInterface(Protocol) to base in samps module

@michealroberts michealroberts self-assigned this Dec 16, 2025
@michealroberts michealroberts added enhancement New feature or request feature New feature or request labels Dec 16, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces a new BaseInterface protocol to the samps module, establishing a standardized interface for transport layer implementations. The protocol defines the contract that all transport classes must follow for device communication.

Key Changes:

  • Adds a runtime-checkable Protocol class defining transport layer interface methods
  • Includes synchronous and asynchronous context manager support
  • Provides comprehensive documentation for all interface methods

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@michealroberts michealroberts force-pushed the feature/base/BaseInterface branch from 73c5f01 to da348d8 Compare December 16, 2025 16:06
feat: add BaseInterface(Protocol) to base in samps module
@michealroberts michealroberts force-pushed the feature/base/BaseInterface branch from da348d8 to 2dd594e Compare December 16, 2025 16:14
@michealroberts michealroberts merged commit b656025 into main Dec 16, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants