mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2026-08-01 18:48:59 +00:00
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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user