-
Notifications
You must be signed in to change notification settings - Fork 33
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
draft MSPv2 support #27
Conversation
ByteVector into an actual class. Added a new value type to support optional decoding of message fields. No changes to APIs.
There are quite a lot of changes. I won't be able to address all of them now. But thanks for contributing to begin with :-) My comments so far by looking on the diff:
I decided to but the message IDs (enum I will test your changes later on the most recent betaflight release. Edit: For future pull requests, I would recommend to use a dedicated feature branch (with a reasonable name) and keep your master branch in sync with the upstream project. |
To address your comments,
|
|
|
How large is your MSP2 feature branch? It's just that it becomes difficult to review the PR if it adds too many changes. |
Its only 25ish files including examples, about like master is now. There is a lot of resemblance to the master code base, but its all been changed in subtle but pervasive ways. |
You can give it a try. If it's too much, I will continue with this PR. |
ok so new PR against my full MSPv2 changes? |
Yes. Can you create a new PR (and leave this open for now) that includes all the MSP2 support changes? I.e. the features that you originally wanted to merge, where I initially proposed to split these changes into multiple PRs. Let's try to do all of these changes in a single PR. |
Superseded by #28. |
This has most of my internal changes to support MSPv2. Converted all messages to inherit from msp::msg::Message class. Turned ByteVector into an actual class. Added a new value type to support optional decoding of message fields. No changes to
MSP
,Client
, andFlightController
APIs.