Commit Graph
72 Commits
Author SHA1 Message Date
Raphael Coeffic 3369b9e0a6 DSM: compute the DSMR hop table, drop the 22 IDs (-0.6 KB) (#1200)
* DSM: compute the DSMR hop table (-0.5 KB)

The DSMR hops come from the DSMX generator (inverted ID, same LCG, parity
of id[3], at most 8/7/8 channels per band), drawing over 0x4A channels
instead of 0x49 and shifting every channel up by 1: channels 4..77, bands
4-28/29-52/53-77, and the parity opposite to DSMX. This gives back the 23
channels of the 22 DSMR_ID_FREQ rows, in the same order, each row starting
at another hop (6, 13, 1, 22, ...): the captures did not begin at hop 0.
DSM packets carry no hop index, so the starting point should not matter.

Only the 22 IDs are kept. DSMX and DSM_RX hops are unchanged (2M IDs
compared with the previous code on the host).

* DSM: DSMR uses the CYRF manufacturer ID like DSMX (-152 B)

Now that the DSMR hops are computed from the ID, the 22 hard coded IDs
are not needed anymore: DSMR takes the CYRF manufacturer ID xor RX num
like the other DSM subprotocols, so radios no longer share the same 22
IDs. Models bound with the previous IDs have to be bound again. Clone
stays unavailable in DSMR, and the OrangeRX sop_col fix stays off.
2026-11-21 16:01:09 +01:00
pascallanger ee984c403d Update DSM_cyrf6936.ino 2026-09-22 11:57:43 -04:00
Frankie Arzu 9691730be6 Fix to support DSM CH16 (#1179) 2026-09-22 16:20:06 +02:00
pascallanger 5353281ed7 Revert DSM timing change 2026-09-22 08:21:08 -04:00
pascallanger 3d50a39efb DSM: add XPlus channels
Sent only when number of channels >12
2026-08-03 15:41:23 +02:00
MRC3742 bfef3364fc Fix for DSM Clone
* fix for DSM clone not working
2026-07-14 18:54:36 +02:00
pascallanger 082e96e381 DSMR timing 2025-04-02 18:02:44 +02:00
pascallanger 5437d88642 DSMR SR6200 test 1 2025-02-26 21:12:34 +01:00
pascallanger f092e137c7 Improve DSM telemetry stability? 2025-01-30 10:28:57 +01:00
pascallanger 7b9941e537 Fix DSMR 2025-01-29 19:48:18 +01:00
pascallanger b3537ea75a DSM2_SFC try 3 2024-03-26 16:18:34 +01:00
pascallanger bccc050165 DSM2_SFC try 2 2024-03-26 14:41:19 +01:00
pascallanger 0f0df176de DSM2_SFC try 1
Servo refresh rate -> frame rate 16.5/11ms
2024-03-26 14:37:26 +01:00
pascallanger 5acc3a8d01 CYRF6936: Findbestchannels flag addition 2024-03-25 15:11:31 +01:00
pascallanger 2e3520acad DSM2SFC timing update 2024-03-19 20:52:50 +01:00
pascallanger 26b0b6bd20 Update DSM_cyrf6936.ino 2024-03-19 15:44:21 +01:00
pascallanger 1b9ce32e89 Update DSM_cyrf6936.ino 2024-03-19 14:11:40 +01:00
pascallanger 28467fac57 DSM/DSM2SFC new subprotocol 2024-03-18 16:57:54 +01:00
pascallanger e0c44ed5a8 Remove DSMR when MULTI_AIR 2024-02-23 11:05:02 +01:00
Frankie Arzu 549d3ad653 Fix for DSM-Auto Bind on Lemon-RX Gen2 (#918)
* #916 Fix for Auto-Bind on Lemon-RX Gen2

Tested with multiple brands (Spektrum, OrangeRX, Lemon-Rx, Admiral).  Even some old DSM 2 receivers.
All work with "Auto" now.   Just in case one needs a LONG bind sending period, when not using "Auto" works the same as before.

* Use 1.8s for Bind Send

Removed the short and long bind count logic.
2023-12-18 12:02:57 +01:00
pascallanger 7da6d52a84 CYRF data codes are always 16
Removed useless function argument
LOSI now points to the DSM data codes = dependency on DSM
2023-12-01 10:58:56 +01:00
johnnym007andjohn.moore ce5f4ec264 Clone subprotocol for DSM (#877)
* Init WIP

* Adding a gitignore

* removing gitignore

* RX routines added

* Finished adding clone and erase

* Update _Config.h

* Update Multiprotocol.ino

* Ready for testing

* Refactor to call init on cloned/normal change

* Remove vscode files

* remove TODO comment

* remove unnecessary brackets

---------

Co-authored-by: john.moore <john.moore@amulethotkey.com>
2023-08-27 16:08:10 +02:00
pascallanger 35f3548992 Compilation option 2022-11-17 10:29:53 +01:00
Pascal Langer 8c12aaf2c1 DSMR: new surface protocol 2021-03-30 12:10:29 +02:00
Pascal Langer 732e66cab2 HoTT: fix Text config in Sync mode 2021-03-13 11:01:51 +01:00
Pascal Langer f8f7769d9c Update DSM subprotocols naming 2021-03-04 10:08:52 +01:00
Pascal Langer 3b8b2ef376 Protocol init function modified 2021-02-09 18:23:33 +01:00
Pascal Langer f11da0c1de DSM: fix low power 2021-01-28 09:09:43 +01:00
Pascal Langer 5ac41fdd15 WFLY2: add failsafe (hold/no pulse not available yet) 2020-12-16 16:14:45 +01:00
Pascal Langer d5346c0eaf Add DISABLE_FLASH_SIZE_CHECK 2020-09-09 16:47:32 +02:00
Pascal Langer a2213fd6dc DSM Forward Programming: work in progress 2020-09-09 10:45:14 +02:00
Pascal Langer c95e576ef3 DSM RX: end bind and increased retry 2020-06-18 10:53:03 +02:00
Pascal Langer 0a5fd72bdc DSM: 3 ch timing on CH13 2020-06-15 14:45:42 +02:00
Pascal Langer d1feef97be DSM: adjust end points, solve SAFE? 2020-06-13 16:20:51 +02:00
Pascal Langer f52f96d44e DSM: selectable refresh rate 22/11ms when supported 2020-06-12 00:25:09 +02:00
Pascal Langer 944ec62f49 Update DSM_cyrf6936.ino 2020-06-10 09:03:41 +02:00
Pascal Langer 30905014d2 DSM: fix 11ms issue on some RXs? 2020-06-09 23:49:51 +02:00
Pascal Langer 987753ff73 DSM and DSM RX: fix bind 2020-05-18 01:13:08 +02:00
Pascal Langer cc6be6027d New DSM RX protocol 2020-05-17 15:45:23 +02:00
pascallanger fff18f825a DSM: change timing to see if it improves long range telemetry RX range 2019-11-27 12:08:17 +01:00
pascallanger db442d81dd Fix all compilation issues (?) 2019-11-11 19:15:39 +01:00
pascallanger c048e97d3a DSM configurable max throw parameter through option 2019-11-05 19:12:06 +01:00
pascallanger cd7ede006c Sync radio -> module 2019-10-10 23:12:09 +02:00
pascallanger 0b19fa0bdf Disable channel mapping + telemetry inversion 2019-10-08 18:52:47 +02:00
pascallanger 821732bba9 Initial S.Port send
!!! No retransmit for now !!!
2019-09-30 17:35:12 +02:00
Pascal Langer 2c9693389e Fix DSM telemetry and global cyrf6936 freq tunning
- Fixed DSM telemetry with some RXs (R720X)
 - Global frequency tunning for all protocols using the CYRF6936 by adjusting channel 15 when enabled
 - Changed default DSM_THROTTLE_KILL_CH to use channel 14
2019-08-01 14:23:08 +02:00
Pascal Langer 4671700b7d Devo protocol: number of channels 2019-06-23 17:13:30 +02:00
Pascal Langer cc2af73a05 Bayang Visuo support, DSM TH_KILL improvement 2018-11-23 10:03:55 +01:00
Pascal Langer 9261e8fe94 DSM throttle kill: correct channel number 2018-11-22 08:33:57 +01:00
Pascal Langer 6c7312a09c DSM: Throttle Kill option 2018-11-20 16:54:55 +01:00