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
add support for a hal remote library #437
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
coldav
force-pushed
the
colin/remote_hal
branch
5 times, most recently
from
April 18, 2024 10:12
e9031c4
to
1815a54
Compare
hvdijk
reviewed
Apr 29, 2024
hvdijk
reviewed
Apr 29, 2024
hvdijk
reviewed
Apr 29, 2024
hvdijk
reviewed
Apr 29, 2024
hvdijk
reviewed
Apr 29, 2024
hvdijk
reviewed
Apr 29, 2024
hvdijk
reviewed
Apr 29, 2024
hvdijk
reviewed
Apr 29, 2024
coldav
force-pushed
the
colin/remote_hal
branch
6 times, most recently
from
May 1, 2024 16:23
54723e4
to
ac02f73
Compare
Add base class hal_transmitter which can be used for simple send/ receive operations of data. This can be used by client and servers for different models of communication. Also added a socket version which will be the default use case.
hvdijk
reviewed
May 15, 2024
hvdijk
reviewed
May 15, 2024
hvdijk
reviewed
May 15, 2024
hvdijk
reviewed
May 15, 2024
hvdijk
reviewed
May 15, 2024
hvdijk
reviewed
May 15, 2024
coldav
force-pushed
the
colin/remote_hal
branch
2 times, most recently
from
May 15, 2024 14:24
47fe3bb
to
f896722
Compare
hvdijk
reviewed
May 15, 2024
hvdijk
approved these changes
May 15, 2024
This adds support for generic client and server hal support to allow sending commands as binary requests over a `hal_transmitter`. Added encoders and decoders for converting hal commands to binary format Add hal_server base class which uses the encoders and decoders and a hal_transmitter to receive hal commands remotely and act on the given hal device. Add a hal_client and hal_device_client base class which can be used with a transmitter to send to a remote server binary commands. Added a hal socket cpu client. Added hal cpu socket based server program.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview
This adds support for generic client and server hal support to allow
sending commands as binary requests over a
hal_transmitter
.Reason for change
Required to support customer needs of talking to a remote cpu.
Description of change
Added encoders and decoders for converting hal commands to binary format
Add hal_server base class which uses the encoders and decoders and a
hal_transmitter to receive hal commands remotely and act on the given
hal device.
Add a hal_client and hal_device_client base class which can be used with
a transmitter to send to a remote server binary commands.
Added a hal socket cpu client.
Added hal cpu socket based server program.
Anything else we should know?
This currently only supports single device hals