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

Refactor Peripheral for better testability, and return actual Data or Void for reads/writes. #12

Merged
merged 2 commits into from
May 14, 2022

Conversation

klundberg
Copy link
Collaborator

  • Change publishers that read/write values to directly return the values they're reading, or void if they're writing
  • Big refactor: move publisher logic into peripheral interface, make live impl only carry raw cbperipheral functions to aid in testability

…s they're reading, or void if they're writing
…ve impl only carry raw cbperipheral functions to aid in testability
@klundberg klundberg merged commit 6ca8939 into master May 14, 2022
@klundberg klundberg deleted the peripheral-publisher-types branch May 14, 2022 21:03
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