Commit Graph

14 Commits

Author SHA1 Message Date
Scott Powell 0a8a0a4904 * Refactor: removed duplicated radio_rng_seed(), radio_set_params(), radio_set_tx_power() 2026-05-01 14:47:07 +10:00
overkillfpv f0ec5d2ae7 changed to set the preamble on radio settings change 2026-03-29 21:45:16 +11:00
overkillfpv 3843c00f54 added the preamble update into get est airtime as a prevention for false airtime calcs. Left update in the startsendraw as a safety, but should not be used under normal circumstances 2026-03-24 15:05:15 +11:00
overkillfpv a434f9eff5 simplified the calls 2026-03-08 05:37:49 +11:00
overkillfpv 6fd8c28522 Cache preamble SF to avoid redundant setPreambleLength() on every TX 2026-03-07 12:48:22 +11:00
overkillfpv a61add2e6a Update preamble dynamically to match runtime SF changes via CLI 2026-03-05 22:14:22 +11:00
overkillfpv 534a0c97a7 Increased preamble to 32 for <sf9 and left at 16 for sf9 and above 2026-03-05 21:39:14 +11:00
Wessel Nieboer 9106ab46e1 reset noise_floor sampling after agc reset 2026-02-28 19:09:25 +01:00
Wessel Nieboer a2dc2eb50c when doing AGC reset, call Calibrate(0x7F)
1. warm sleep
2. wake to stdby
3. Calibrate(0x7F) to reset all internal blocks
4. re-apply DIO2 RF / boosted gain & register patch to make sure
everything is as it was
2026-02-28 19:09:25 +01:00
Wessel Nieboer f81ec4b14c fix agc reset 2026-02-28 19:09:25 +01:00
Chris c16bcd2fe3 Expose a counter to track RadioLib receive errors
This change counts when readData returns an err code other than RADIOLIB_ERR_NONE. In most cases this is going to be a CRC error. This counter is exposed in the `stats-packets` command, and in the repeater stats payload (4 additional bytes to the payload, which is now 56 bytes with this change. My incompetent robot claims the total payload size is 96 bytes (unverified but probably close).
2026-01-24 20:06:29 -08:00
entr0p1 245a818085 Fix TX LED stuck on when StartTransmit() fails 2025-12-20 23:15:41 +11:00
liamcottle 599e3a187c start rx again immediately after receive 2025-07-20 23:27:54 +12:00
recrof 6be8e19a9f move radiolib wrappers to dedicated directory 2025-07-13 11:37:33 +02:00