Witty-Wizard / SerialIO

An Arduino library for decoding multiple RC protocols.
https://witty-wizard.github.io/SerialIO/
GNU General Public License v3.0
3 stars 0 forks source link

✨[FEATURE]: Add Ibus Protocol #2

Closed Witty-Wizard closed 2 months ago

Witty-Wizard commented 2 months ago

Is your feature request related to a problem? Please describe. I'm always frustrated when I cannot use iBus devices with the serialio library. Currently, the library supports SBUS and CRSF protocols, which are great, but there's a significant user base that relies on the iBus protocol for their devices. The lack of iBus support limits the usability of the serialio library for those users.

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

Describe alternatives you've considered Using a different library: Switching to another library that supports iBus. However, this is not ideal because serialio has other features and integrations that are very useful.

Additional context The iBus protocol is commonly used in FlySky transmitters and receivers, and adding support for it would expand the usability of serialio to a broader audience.

Implementing iBus support would involve:

  1. Parsing iBus data frames and extracting channel values.
  2. Encoding data into iBus frames for transmission if necessary.
  3. Handling error detection and correction as per the iBus specifications. Adding iBus support will greatly enhance the flexibility and appeal of the serialio library.