Commit Graph
97 Commits
Author SHA1 Message Date
fc6814b705 FrSkyA: FrSky ACCESS on the CC2500 (#1214)
* FrSky X: S.Port frames to the receiver stored at payload[i-start-2]

FrSkyX_seq_sport() (SPORT_SEND) stored the outgoing bytes at
payload[i-start+2], i.e. payload[4] to payload[11] for the 8 bytes of
an LBT packet: up to 4 bytes past each frame's 8-byte payload (into the
next frame's count and payload, past the array for frame 3). The
retransmits sent payload[i] and payload[i-start+2], bytes from beyond
the frame. All three now use payload[i-start-2] (0 to 7).

* FrSkyA: FrSky ACCESS on the CC2500

New protocol 112, subtypes 16ch, 8ch (FCC) and EU16ch, EU8ch (only the
region flag differs: ACCESS uses the same channels, hops and timing in
both). Reversed from the ISRM and RX6R firmwares and captures of an X9
Lite with an RX6R; same CC2500 PHY as Mike's UNI ACCESS.

- register (channel 0) and bind (channel 239) in the same bind
- 16 or 8 channels every 7 ms, D16 channel packing, extended limits
- failsafe: one channel per frame in its slot, as the ISRM
- telemetry: RSSI / RxBatt and the S.Port stream as D16, S.Port packets
  from the radio sent to the receiver (SportQueue(), split out of the
  serial input for FrSkyX/X2/R9)
- receiver settings and hardware info (PXX2 messages 5 and 6) between
  the receiver and a Lua script, MULTI telemetry type 18 ("Pipe") and
  serial frames of 2 to 7 extra bytes
- not on the atmega328p nor in the 64KB CC2500 release (size)

Tested with an RX6R (ACCESS 2.1.8) and an Archer Plus SR10+ (1.0.10,
3.0.3): bind, channels, failsafe (S.Bus output), telemetry, receiver
settings and the SR10+ stabilizer settings over S.Port.

Needs FrSkyX_seq_sport() fixed (#1203): its resends overflowed and
froze the hopping at the first S.Port packet.

* Lua: FrSky ACCESS RX, receiver options for FrSkyA

The receiver options page of an ACCESS module for a receiver bound
with FrSkyA: name and versions, fast PWM, telemetry and 25mW,
S.Port/F.Port/F.Port2, S.Bus 24, PWM on CH5/CH6, the channel or port
mode of each output. Rows follow the capabilities the receiver
reports. Uses the Multi Lua pipe (multiBuffer "Pipe").

* FrSkyA Lua: receiver IDs 81 to 85

Names for the newer ACCESS receivers (SR6BL15A, SR6Lite, R6Lite,
RS-Lite, R2SIM), so an R6Lite shows by name instead of "ID 83".

---------

Co-authored-by: Raphael Coeffic <1050031+raphaelcoeffic@users.noreply.github.com>
Co-authored-by: pascallanger <pascal_langer@yahoo.fr>
2026-11-21 16:07:16 +01:00
Raphael CoefficandRaphael Coeffic 2a13543cdc Futaba: T-FHSS Surface, SR and Air sub protocols (#1213)
* Futaba: T-FHSS Surface, SR and Air sub protocols

New sub protocols of Futaba (21) next to SFHSS, on the CC2500:

- TFHSS: T-FHSS Surface (R334SBS...). 384 kbps MSK, 3 ms frames,
  CH1-4 every frame and CH5-8 in turn, bind packets on channel 1,
  failsafe, telemetry.
- TFH-SR: T-FHSS SR, 1.2 ms frames, no telemetry.
- TF-Air: T-FHSS Air (R3008SB...). 128 kbps 2-FSK, 15 ms frames, 16
  channels, link with the receiver's ID, telemetry. No failsafe frames
  (the receiver's own).

From the R334SBS receiver and T18SZ transmitter firmware, checked
against captures of a 4PM Plus (Surface, SR) and a T6K (Air) shared on
issue #507.

Telemetry (FUTABA_FW_TELEMETRY): the link frame (A1 = receiver voltage,
RSSI = its link quality) and a new MULTI_TELEMETRY_FUTABA (0x13) frame
with the S.BUS2 sensor slots as the receiver sends them, for the radio
to decode (Multiprotocol.h).

Tested against a CC2652/CC2755 receiver of the packets, not on real
Futaba receivers yet. Size: +3.0 KB on the STM32 builds, Futaba alone
on the ATmega328p 14.9 KB.

* Futaba: T-FHSS on STM32 only

T-FHSS adds 3.9 KB on the ATmega328p, and the CC2500 release build
(all its CC2500 protocols) no longer fits. FUTABA_TFHSS (Validate.h)
enables the T-FHSS sub protocols on STM32 boards only; on the ATmega
Futaba is S-FHSS alone, as before (same build size as master).

* Futaba: no T-FHSS on the 64KB STM32

The CC2500 64KB release build was 1 KB over with T-FHSS (+3.1 KB).
FUTABA_TFHSS now needs a 128KB STM32 (not MCU_STM32F103C8, as the
surface protocols in Validate.h). All release recipes build: 64KB as
master (53200 bytes), 4-in-1 117940, T18 118856.

* Futaba: T-FHSS bind hops the list and waits for the reply

The R334SBS scans the 16-channel list in its link mode, answers a bind
packet on that channel (type 24 / 25, keyed as its telemetry) and only
stores the bind after packets with byte 1 bit 7. The 4PM Plus sets bit 7
once it has heard the reply and binds 9.1 s without one. So the bind
now hops the list at 3 ms per packet (channel 1 every 48 ms, as
captured), listens on the same channel, then sends 240 packets with
bit 7; 9.6 s at most.

* Futaba: T-FHSS binds at the normal power

The bind (Surface, SR) and the Air link now use the radio's power
setting (low / high, range), not CC2500_BIND_POWER. The R334SBS takes a
bind packet only above about -79 dBm (its RSSI check); at bind power
the packets were 41 dB below the servo frames. The 4PM Plus binds 33 dB
down from a higher level, the T6K links at full power. Checked on the
bench with a 4-in-1 answering as the receiver (Surface and Air).

* Futaba: T-FHSS Air picks slot channels as the T18SZ

Slots 0..5 and 8 carry their own channel or the alternate (ch11..16,
ch10), chosen as the T18SZ does: a channel moved = more than 3 us from
the value last sent, age = frames since sent. Own moved: the alternate
if it moved too and is 2 frames old, or is 64 old. Own still: the
alternate if it moved (unless own is 64 old), else the older one, own
on a tie. Was: the halves in turn, so moving sticks went out every
other frame.

* Futaba: T-FHSS bind reply on the next list channel

The R334SBS hops before it replies to a bind packet, as it does for its
telemetry: the module now listens on the next list channel after each
bind packet, not on the same one. A 4PM Plus bind followed over the
list: no reply on the bind packet's channel, and byte 7 of the bind
packet is the channel it is sent on (the receiver echoes it), not 01.
Bench (4-in-1 answering as the receiver): normal and SR link.

* Futaba: T-FHSS Surface keys with the receiver's ID

The last 4 key bytes of T-FHSS Surface are the receiver's own ID (its
serial number), not a number of the TX: the receiver keeps only the TX
ID from the bind. The module sent its own, so the R334SBS bound but
decoded no servo packet. The ID now comes from the receiver's bind
reply and is stored per RX number (TFHSS_EEPROM_OFFSET 1527, 4 bytes
per model, end 1783). Bench (4-in-1 answering as the receiver with its
own ID): bind, servo packets OK, again after a restart without bind.

* Futaba: T-FHSS Surface reads the reply before the next packet

The reply comes 1.9 ms after the TX packet's start, the read was 2.5 ms
after the callback: on the MPM v2 replies were taken up to 1.5 ms only.
Now the next frame's packet is built, the reply read, then the packet
sent.

* Futaba: S.BUS2 sensors Lua tool

S.BUS2 sensors don't tell their type on the bus: the radio shows each
slot with data (telemetry type 19) as a raw sensor. The tool turns a
slot into a typed sensor the radio decodes (SBS-01T/TE, RPM, voltage,
current), with an ESCape32 preset. Uses model.setSensor() and
model.deleteSensor() when the radio has them (EdgeTX/edgetx#8105),
else setTelemetryValue() with "Discover new sensors" on.

---------

Co-authored-by: Raphael Coeffic <1050031+raphaelcoeffic@users.noreply.github.com>
2026-11-21 16:04:09 +01:00
pascallanger d8c3013bf4 MoFly protocol 2026-08-19 12:57:37 +02:00
pascallanger 780b4d9bcb XK/MoFly: New sub protocol 2026-08-16 16:12:11 +02:00
pascallanger 1fa5452c89 SGF22/T28 new protocol 2026-08-14 14:19:30 +02:00
pascallanger 79b09468ac WLV8TX small changes and save few bytes 2026-08-05 00:48:46 +02:00
pascallanger 463978939b Ares: new protocol
ARES Gamma 370, P-51D Mustang 350, RTF models with 6HPA-Tx and AZS12006-Rx (6 channel).
2026-08-04 00:28:44 +02:00
pascallanger 0a7f74dc06 SLT/SLT6X new subprotocol 2026-08-03 23:51:35 +02:00
MRC3742 9e0efe321c REALACC/WLV8Tx : WLtoys Cars 284019-A and 284191
Protocol: REALACC
Sub Proto: WL_V8Tx
Ch1: Steering
CH2: Throttle
CH3: GY TRIM (Rate)
CH4: TH TRIM (Rate)
CH5: Steering Trim
2026-08-03 14:36:17 +02:00
Eduard aaaa5f141d 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
2026-07-29 08:18:58 +02:00
pascallanger 865f6c1597 FQ777/XBM37: new subprotocol 2026-07-16 18:25:58 +02:00
pascallanger 095acb0975 FX/A570: new subprotocol for VTOL QIDI-570 2026-07-16 17:51:34 +02:00
pascallanger 699e796a01 FX/BM26: new subprotocol
Missing files
2026-07-14 22:30:14 +02:00
pascallanger 35f284763a SGF22/CX10 new subprotocol
Only 2 IDs
2025-07-28 11:20:57 +02:00
pascallanger e35c4d3ce8 WPL 1 ID 2025-07-28 01:06:12 +02:00
pascallanger b88f4d40f4 WPL 5 2025-07-27 18:24:24 +02:00
pascallanger 66f8906273 WPL new protocol
Only 1 ID
2025-07-27 12:24:03 +02:00
pascallanger db5f1f8899 Added AFHDS2A BS4/BS6 support 2025-03-20 14:49:34 +01:00
pascallanger 77efe467ad MouldKg renamed subprotocols 2025-03-13 18:42:34 +01:00
pascallanger b9c828c878 MouldKg multi 6 ports brick support 2025-03-13 18:29:56 +01:00
rdba2k 9beade33de Add FX_QF012 subprotocol (#1091) 2025-03-12 07:17:08 +01:00
pascallanger 168aa89c57 New SFC protocol WL91x 2025-03-10 17:38:37 +01:00
pascallanger 7107d46d29 SHENQI2 new protocol 2025-02-24 17:04:07 +01:00
pascallanger 496c07943f KAMTOM new surface protocol
Missing low batt telem
2025-02-21 21:46:18 +01:00
pascallanger ad8b45773d UDIRC new protocol / WIP 2025-02-18 11:18:13 +01:00
pascallanger 565aaed0c7 New XK2/P10 sub protocol 2025-02-09 12:01:28 +01:00
pascallanger 58bfd3b8b0 New JIABAILE/Gyro subprotocol 2025-02-06 11:56:24 +01:00
pascallanger 9e5e907f4a Hontai/XKK170 new subprotocol 2025-01-30 23:14:15 +01:00
pascallanger 98a54300e0 New H36 protocol - 1 ID 2025-01-28 14:00:38 +01:00
pascallanger a07c23b25f New car protocol JIABAILE 2025-01-27 16:12:21 +01:00
pascallanger 756af87ec1 SGF22 Flags trial 2025-01-25 11:31:21 +01:00
rdba2k 729fdd4719 Add MT99xx2/SU35 protocol (#1033)
* Update Multi.txt

* Update Multi_Protos.ino

* Update _Config.h

* Update Multiprotocol.h

* Update MT99xx_ccnrf.ino
2025-01-19 15:59:13 +01:00
Arild LangseidandArild Langseid 95746f80a1 Add RF_SIM sub-protocol to SLT-protocol (#1061)
* Added sub-protocol RF_SIM to the SLT protocol

* fixed typo

---------

Co-authored-by: Arild Langseid <arild@langseid.no>
2025-01-19 14:14:32 +01:00
pascallanger e724d6970e YuXiang E190 protocol
Only 1 ID, bind might not work...
2025-01-13 20:24:04 +01:00
rdba2k 58b19a2130 Update Multi_Protos.ino (#1021)
add sub protocol "J20" to "SGF22" protocol
2024-09-26 10:04:45 +02:00
pascallanger 64ea7111ac SGF22: new F22S sub protocol 2024-09-02 18:14:25 +02:00
pascallanger c6ff0e27d9 New protocol XK2 for the XK A160S 2024-06-07 20:28:15 +02:00
pascallanger 54ae77ed7f FX/Q560 new sub protocol 2024-05-17 11:01:54 +02:00
pascallanger 63dfa316e8 Traxxas TQ 1st gen: try 1 2024-04-26 19:25:23 +02:00
pascallanger 873279dbe9 SLT new sub_protocol V1_4CH 2024-04-15 14:13:37 +02:00
pascallanger debc9de11a New protocol Kyosho3/ASF
Only 1 ID and 1 frequency for now
2024-03-22 18:17:21 +01:00
pascallanger 28467fac57 DSM/DSM2SFC new subprotocol 2024-03-18 16:57:54 +01:00
pascallanger e6e13c0fdd Docs update 2024-03-17 15:52:42 +01:00
pascallanger b5bc7c04fb Rename Traxxas/6519 to Traxxas/TQ 2024-02-23 17:19:09 +01:00
pascallanger 72da3c5bc5 Create MULTI_AIR / MULTI_SURFACE 2024-02-21 12:31:23 +01:00
pascallanger 8d96066215 Merge XK and Tiger protocols 2024-02-21 11:38:31 +01:00
pascallanger 72f87cade9 XK: new subprotocol Cars
Removed:
 - deadband which was needed on the planes
- force bind since the cars remember the bind info
-
2024-02-17 11:02:52 +01:00
pascallanger 50bd4850fa Radiolink/RC4G
1 ID / 1 set of frequency
2024-02-16 18:03:32 +01:00
pascallanger 31a9f6860d New protocol SGF22
Only 1 ID!
2024-02-15 15:51:20 +01:00
pascallanger cdabde5d67 Kyosho FHSS and Syncro
Automatically binding a FHSS or a Syncro RX using FHSS
2024-01-31 19:22:36 +01:00