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 external transports #179

Merged
merged 26 commits into from
Feb 9, 2021
Merged

Conversation

pablogs9
Copy link
Member

@pablogs9 pablogs9 commented Dec 17, 2020

This PR:

  • Isolates the XRCE framing code to be used in any transport
  • Renames the framing code from SerialIO to FramingIO
  • Fixes the issue that does not take into account the number of written/read bytes in SerialIO (Fix SerialIO small transports payloads #178)
  • Adds a new profile for Custom transports where the user can set open/close/read/write callbacks for transports at runtime. These Custom transports can be configured to use FramingIO.
  • Removes the old approach for adding custom transports Marks as deprecated the old approach for adding custom transports. This should be removed in the next major version.

TODO before merge:

Related:

@richiware
Copy link
Member

Build status:

  • Linux Build Status
  • Windows Build Status

@richiware
Copy link
Member

Build status:

  • Linux Build Status
  • Windows Build Status

@pablogs9 pablogs9 force-pushed the feature/refactor_external_transports branch from c5414b3 to 55cf00a Compare December 17, 2020 08:34
@richiware
Copy link
Member

Build status:

  • Linux Build Status
  • Windows Build Status

@pablogs9 pablogs9 force-pushed the feature/refactor_external_transports branch from 55cf00a to 4537cb4 Compare December 17, 2020 08:57
@richiware
Copy link
Member

Build status:

  • Linux Build Status
  • Windows Build Status

@pablogs9 pablogs9 force-pushed the feature/refactor_external_transports branch from 4537cb4 to 36bbeeb Compare December 17, 2020 09:36
@richiware
Copy link
Member

Build status:

  • Linux Build Status
  • Windows Build Status

@richiware
Copy link
Member

Build status:

  • Linux Build Status
  • Windows Build Status

@richiware
Copy link
Member

Build status:

  • Linux Build Status
  • Windows Build Status

@richiware
Copy link
Member

Build status:

  • Linux Build Status
  • Windows Build Status

@richiware
Copy link
Member

Build status:

  • Linux Build Status
  • Windows Build Status

@richiware
Copy link
Member

Build status:

  • Linux Build Status
  • Windows Build Status

CMakeLists.txt Outdated Show resolved Hide resolved
CMakeLists.txt Outdated Show resolved Hide resolved
test/transport/custom_comm/CustomComm.cpp Outdated Show resolved Hide resolved
test/transport/custom_comm/CustomComm.hpp Outdated Show resolved Hide resolved
test/transport/custom_comm/CustomComm.hpp Outdated Show resolved Hide resolved
test/transport/custom_comm/CustomComm.hpp Outdated Show resolved Hide resolved
test/transport/custom_comm/CustomComm.hpp Show resolved Hide resolved
test/transport/custom_comm/CustomComm.cpp Outdated Show resolved Hide resolved
test/transport/custom_comm/CustomComm.cpp Outdated Show resolved Hide resolved
@pablogs9 pablogs9 marked this pull request as ready for review February 3, 2021 07:03
@pablogs9 pablogs9 requested a review from jamoralp February 3, 2021 07:03
@richiware
Copy link
Member

Build status:

  • Linux Build Status
  • Windows Build Status

@richiware
Copy link
Member

Build status:

  • Linux Build Status
  • Windows Build Status

jamoralp
jamoralp previously approved these changes Feb 4, 2021
Copy link
Contributor

@jamoralp jamoralp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, ready to merge 👍

@jamoralp jamoralp force-pushed the feature/refactor_external_transports branch from ad59caf to 7ea48d0 Compare February 9, 2021 08:11
@richiware
Copy link
Member

Build status:

  • Linux Build Status
  • Windows Build Status

@pablogs9 pablogs9 requested a review from jamoralp February 9, 2021 10:24
@jamoralp jamoralp merged commit 22bff80 into develop Feb 9, 2021
@jamoralp jamoralp deleted the feature/refactor_external_transports branch February 9, 2021 10:28
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.

3 participants