RadioLink / DumboRC command packages for P Series#1164
Conversation
|
Tested on P6... and P10..., works as expected. Tested with X10F, still works, new commands do not cause issues. |
|
PR in EdgeTX EdgeTX/edgetx#7441 |
|
For backward compatibility, I would have preferred to have a new subprotocol for the P receivers... |
I am. I would. Of course. |
Pass "special" packages to and from the module Allows to replicate "Set Failsafe", "Set Gyro Settings" and "Set Gyro Endpoints" from DDF-350
Has max 10 channels Has no failsafe Older X series have gyro sense fixed to CH8, also can be used as regular channel
Add script that mimics interaction between DumboRC DDF-350 transmitter and P Series receivers
Split command exchange into separate subprotocol Update protocol documentation
Clean up, better event handling
|
@pascallanger Hi! I moved it to separate subprotocol, also LLM cleaned up .lua a bit. Currently tested on EdgeTX's main (pre 3.0.0 in menus IIRC). If you are fine with this, I will update EdgeTX side PR for main, and then also make one for backport to 2.12. |
|
Also in the meantime tested on 2.12 backport, works as well. As usual, MT12 is my only radio and DumboRCs are my main receivers (Some are still X series, most are updated to P) so they get "runtime". |
DumboRC receivers in P series support setting of failsafes, gyro sense channel and gyro endpoints.
DDF-350 firmware 1.1.9 does this through UI sub-item.
I reverse engineered the format, and finally found time to implement it throughout. Needs changes to EdgeTX, will link PR in comments. Tested with custom builds off 2.12.1 and current main.
Main Lua script is 99% generated, surprisingly in my life I had not come across it. All of my attempts to improve it only made it worse.
Bridges are generated but at least I can verify C/C++ myself. Still, beware.
Main radio changes were written 90% by hand. Otherwise, it turned into helper hell and with control flow issues.
Will test over the course of this summer.