Commit Graph
8 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 e6bafaabb7 New protocol: BumbleBee 990A
Preliminary
2023-12-22 21:01:15 +01:00
pascallanger 9acb3b0e2c DSM.ino: Saved a few bytes 2023-12-01 19:06:15 +01:00
pascallanger 785edde659 Update DSM.ino 2023-12-01 18:29:23 +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
Pascal Langer 8c12aaf2c1 DSMR: new surface protocol 2021-03-30 12:10:29 +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