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 communication and protocol #180

Draft
wants to merge 5 commits into
base: develop
Choose a base branch
from

Conversation

bessman
Copy link
Collaborator

@bessman bessman commented Sep 13, 2024

Rework communication to happen in a single place: src/transport/packet_handler.c

New protocol has two main differences from the old one:

  1. Every exchange starts with a header which says how many bytes will be sent.
  2. Acknowledgement is mandatory.

WIP. Currently a proof of concept implementation of new protocol for the oscilloscope instrument is included.

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