Wessel Nieboer
3f1c0fb60b
Prevent packet errors from growing
2026-06-14 15:19:20 +02:00
Wessel Nieboer
3c1511884e
Just check for not channel free
2026-06-14 15:19:19 +02:00
Wessel Nieboer
3095bc458b
Also return busy if preamble detected
2026-06-14 15:19:19 +02:00
Wessel Nieboer
720cd75167
Use hardware channel activity detection for checking interference
2026-06-14 15:19:18 +02:00
Scott Powell
8903b907d1
* Refactor: removed duplicated radio_rng_seed(), radio_set_params(), radio_set_tx_power()
2026-05-01 14:47:07 +10:00
OverkillFPV
db254a0051
Merge branch 'dev' into lora-longer-preamble
2026-04-16 20:43:46 +10:00
overkillfpv
78cc18f919
changed to set the preamble on radio settings change
2026-03-29 21:45:16 +11:00
overkillfpv
0494cf1e24
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
João Brázio
21ea7b5321
Merge pull request #2 from weebl2000/2026/remote-lna
...
Make sure LR1110 builds
2026-03-16 09:55:00 +00:00
João Brázio
569bdeb083
Merge branch 'dev' into 2026/remote-lna
2026-03-16 09:40:10 +00:00
Wessel Nieboer
6d07c7af79
Make sure LR1110 builds
2026-03-13 13:48:36 +01:00
Liam Cottle
0463e8c032
Merge pull request #1483 from ssp97/dev
...
fix: avoid redundant redefinition of SX126X_DIO3_TCXO_VOLTAGE
2026-03-11 21:49:31 +13:00
overkillfpv
2e24b0c91e
simplified the calls
2026-03-08 05:37:49 +11:00
overkillfpv
95a51a30c6
Cache preamble SF to avoid redundant setPreambleLength() on every TX
2026-03-07 12:48:22 +11:00
João Brázio
2e52efb209
Remove unused RX boosted gain mode functions and related preprocessor directives across multiple variants
2026-03-05 18:38:57 +00:00
João Brázio
a5dc732fb0
Merge remote-tracking branch 'upstream/dev' into 2026/remote-lna
2026-03-05 17:21:38 +00:00
overkillfpv
afb02011da
Update preamble dynamically to match runtime SF changes via CLI
2026-03-05 22:14:22 +11:00
overkillfpv
19dd4121a1
Increased preamble to 32 for <sf9 and left at 16 for sf9 and above
2026-03-05 21:39:14 +11:00
Wessel Nieboer
8a2366043a
fix comment, we know the band now after checking LR1110 user manual
2026-02-28 19:09:25 +01:00
Wessel Nieboer
ce83dc9004
Calibrate configured frequency for AGC reset
2026-02-28 19:09:25 +01:00
Wessel Nieboer
4d2d9a55e4
Also implement LR11x10 AGC reset
...
Similar to SX126x but simpler.
2026-02-28 19:09:25 +01:00
Wessel Nieboer
72810274b8
make it more dry
2026-02-28 19:09:25 +01:00
Wessel Nieboer
4f625ad2e2
reset noise_floor sampling after agc reset
2026-02-28 19:09:25 +01:00
Wessel Nieboer
87e4f6784e
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
dd903eac41
fix agc reset
2026-02-28 19:09:25 +01:00
Wessel Nieboer
50bddbee61
Fix remote LNA toggle bugs: correct register comparison, add missing implementations, wire up companion radio
...
getRxBoostedGain was returned true because both 0x94 (power saving) and
0x96 (boosted gain = 1) return true
2026-02-24 23:49:06 +01:00
João Brázio
072d73b0f2
Implement remote lna toggle cli cmd
2026-02-10 15:02:23 +00:00
SoCalix
2475bbd2d1
Merge branch 'dev' into heltecv4-register1
2026-01-29 09:12:35 -06:00
ssp97
71f03c98e6
fix: avoid redundant redefinition of SX126X_DIO3_TCXO_VOLTAGE
2026-01-26 08:59:19 +08:00
Chris
834d2ff6dd
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
Socalix
76ef6f9987
Turn on register 0x8B5 LSB for improved RX, turn off boosted gain
2026-01-14 17:52:15 -06:00
cj-vana
03e0442a29
Fix typos in README and source comments
2026-01-03 18:54:48 -07:00
entr0p1
fb46f1d866
Fix TX LED stuck on when StartTransmit() fails
2025-12-20 23:15:41 +11:00
Jaroslav Škarvada
fe6cea2c15
companion: Suspend radio when hibernating
...
This should significantly reduce power consumption in hibernation.
Fixes : #1014
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com >
Signed-off-by: Frieder Schrempf <frieder@fris.de > # generalize for all radios and UIs
2025-11-22 15:05:01 +01:00
Woodie-07
aaf1fae063
lr1110 irq fixes
...
fix incorrect irqs used in isReceiving. also remove getTimeOnAir override as fixed upstream
2025-10-25 22:12:30 +01:00
Woodie-07
dfa10cdbd4
new workaround
2025-10-24 20:12:02 +01:00
Woodie-07
70f4ac795e
change println to debug macro in lr1110 patch
2025-10-16 16:25:18 +01:00
Woodie-07
effa54c9de
workaround for LR1110 shift issue
...
it seems that if the LR1110 radio hears a packet corrupted in a specific way, it'll report a packet of 0 length and with the header error IRQ set. every packet received afterwards will then be shifted to the right by 4 bytes on top of the radio's reported offset. this can occur multiple times with the shift increasing by 4 bytes each time. thus, this patch will read from an additional offset after hearing the trigger packet.
transmitting seems to reset the shift - unsure exactly what operation resets it but standby() is called after tx so patch assumes shift is 0 after standby(). more investigation may be needed here.
2025-10-12 16:09:57 +01:00
liamcottle
4cec4b05ff
start rx again immediately after receive
2025-07-20 23:27:54 +12:00
recrof
398736dccf
move radiolib wrappers to dedicated directory
2025-07-13 11:37:33 +02:00