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

Add raweth transport (glue) #286

Merged
merged 13 commits into from
Dec 7, 2023

Conversation

jean-roland
Copy link
Contributor

@jean-roland jean-roland commented Dec 4, 2023

This PR is the follow up of #283 and adds the code binding the new transport to the rest of zenoh-pico.

Might sneak in some tasks code reuse for multicast and raweth if useful.

Edit: Ok so it was interesting to reuse the lease and transport create/close code as they were large and very similar. The adjustments that had to be done include:

  • Adding a send function pointer in the transport structure
  • Some switch in the function to discriminate between the two transports
  • Changing some functions parameters from transport pointer to multicast transport pointer.

@Mallets
Copy link
Member

Mallets commented Dec 6, 2023

LGTM but before approving/merging I'd like to see some tests added to this PR.

@jean-roland
Copy link
Contributor Author

Added a CI test in build-check workflow + applied fix from #289

@Mallets Mallets merged commit 4f92ef7 into eclipse-zenoh:master Dec 7, 2023
48 checks passed
@jean-roland jean-roland deleted the ft_raweth_transport branch December 7, 2023 13:52
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.

None yet

2 participants