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

@@ -473,6 +473,7 @@ enum RLINK
RLINK_AIR = 1,
RLINK_DUMBORC = 2,
RLINK_RC4G = 3,
RLINK_DUMBORC_P = 4,
};
enum MOULDKG
{
@@ -584,6 +585,7 @@ enum MultiPacketTypes
MULTI_TELEMETRY_MLINK = 15,
MULTI_TELEMETRY_CONFIG = 16,
MULTI_TELEMETRY_PROTO = 17,
MULTI_TELEMETRY_RLINK = 18,
};
// Macros
@@ -1200,6 +1202,8 @@ Serial: 100000 Baud 8e2 _ xxxx xxxx p --
RLINK_SURFACE 0
RLINK_AIR 1
RLINK_DUMBORC 2
RLINK_RC4G 3
RLINK_DUMBORC_P 4
Power value => 0x80 0=High/1=Low
Stream[3] = option_protocol;
@@ -1227,6 +1231,7 @@ Serial: 100000 Baud 8e2 _ xxxx xxxx p --
FrSkyX and FrSkyX2: Stream[27..34] during normal operation unstuffed SPort data to be sent
HoTT: Stream[27] 1 byte for telemetry type
DSM: Stream[27..33] Forward Programming
RadioLink/DumboRC P: Stream[27..35] raw command payload, used to send failsafe and gyro settings
*/
/*
Multiprotocol telemetry/command definition for OpenTX and erskyTX
@@ -1377,5 +1382,9 @@ Serial: 100000 Baud 8e2 _ xxxx xxxx p --
data[n+2] = number of sub protocols
data[n+3] = sub protocols text length, only sent if nbr_sub != 0
data[n+4..] = sub protocol names, only sent if nbr_sub != 0
Type 0x12 RadioLink/DumboRC P raw command payload
length: variable
data[0..] = raw command payload, used to send failsafe and gyro settings
*/