RadioLink / DumboRC command packages for P Series (#1164)

* [Codex assisted] RadioLink / DumboRC command packages bridge

Pass "special" packages to and from the module
Allows to replicate "Set Failsafe", "Set Gyro Settings" and "Set Gyro Endpoints" from DDF-350

* RadioLink / DumboRC command packages TX / RX

* RadioLink / DumboRC Helper script channel names

Has max 10 channels
Has no failsafe
Older X series have gyro sense fixed to CH8, also can be used as regular channel

* [Codex] DumboRC P Series settings script

Add script that mimics interaction between DumboRC DDF-350 transmitter and P Series receivers

* [Codex assisted] Split P series into separate subprotocol

Split command exchange into separate subprotocol
Update protocol documentation

* [Codex] Improve LUA script

Clean up, better event handling
This commit is contained in:
Eduard
2026-07-29 08:18:58 +02:00
committed by GitHub
parent 1772147e5b
commit aaaa5f141d
11 changed files with 618 additions and 98 deletions

View File

@@ -315,6 +315,15 @@ static void multi_send_status()
}
#endif
#ifdef RLINK_HUB_TELEMETRY
void RLINK_raw_frame()
{
multi_send_header(MULTI_TELEMETRY_RLINK, packet_in[0]);
for (uint8_t i = 1; i <= packet_in[0]; i++) // raw DumboRC reply payload
Serial_write(packet_in[i]);
}
#endif
static void multi_send_frskyhub()
{
multi_send_header(MULTI_TELEMETRY_HUB, 9);
@@ -992,6 +1001,14 @@ void TelemetryUpdate()
return;
}
#endif
#if defined RLINK_HUB_TELEMETRY
if(telemetry_link == 2 && protocol == PROTO_RLINK)
{
RLINK_raw_frame();
telemetry_link=0;
return;
}
#endif
#if defined SCANNER_TELEMETRY
if (telemetry_link && protocol == PROTO_SCANNER)
{