Menu

#5 ✨[FEATURE]: Add MSP Protocol Support

open
nobody
2024-06-20
2024-06-20
Anonymous
No

Originally created by: Witty-Wizard

Describe the solution you'd like
I would like to request the addition of MSP protocol support to the serialio library. This would involve implementing the necessary decoding and encoding functionalities to handle MSP communication, similar to the existing SBUS and CRSF implementations.

Describe alternatives you've considered

Using a different library: Switching to another library that supports MSP. However, this is not ideal because serialio has other features and integrations that are very useful.

Additional context
The MSP protocol is widely used in the RC community, particularly with flight controllers running firmware such as Betaflight, Cleanflight, and iNav. Adding support for MSP would expand the usability of the serialio library to a broader audience.

Implementing MSP support would involve:

  • [ ] Parsing MSP data frames: Extracting command and telemetry data from the incoming MSP frames.
  • [ ] Encoding data into MSP frames: Preparing data frames for transmission to MSP-compatible devices.
  • [ ] Handling error detection and correction: Implementing mechanisms as per the MSP specifications to ensure reliable communication.

Adding MSP support will greatly enhance the flexibility and appeal of the serialio library.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB