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

Clarify the request-reply contract between host and device #46

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

bruno-f-cruz
Copy link
Member

This PR addresses issues #26 and #9 by adding clarifying language to the document.

To summarize:

  • Clarify that for each Write/Read message a reply is expected from the same register
  • Strongly discourage the use of polymorphic register behavior. All messages from a given register should have the same payload type and size. The "quantity" or "function" of the register should also not be dependent of the message type.

@bruno-f-cruz bruno-f-cruz added the documentation Improvements or additions to documentation label Apr 9, 2024
@bruno-f-cruz bruno-f-cruz linked an issue Apr 9, 2024 that may be closed by this pull request
4 tasks
@bruno-f-cruz bruno-f-cruz force-pushed the docs-clarify-message-protocol-req-rply branch from e5e55b7 to ae0a721 Compare April 10, 2024 02:04
@bruno-f-cruz bruno-f-cruz requested a review from glopesdev April 10, 2024 02:04
BinaryProtocol-8bit.md Outdated Show resolved Hide resolved
BinaryProtocol-8bit.md Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Discourage register polymorphic behavior
2 participants