Huw Duddy
02bb3bbad8
Clean up comments in startReceive method
...
Removed unnecessary comments regarding RX timeout and IRQ mask.
2026-08-03 22:57:34 +10:00
Mike Damon
d535134724
LR1110: fix startReceive() passing an IRQ bit as the RX timeout
...
CustomLR1110::startReceive() passed RADIOLIB_LR11X0_IRQ_PREAMBLE_DETECTED
(1<<4 = 16) as RadioLib's first argument, which is the RX *timeout*, not an
IRQ mask. At the LR11x0's 30.52us tick that armed the receiver for ~488us, so
it dropped out of RX before any packet could arrive and the node received
nothing at all -- while transmitting normally.
Symptoms on a SenseCAP T1000-E: tx_air_secs rising, rx_air_secs stuck at 0,
recv_errors 0, and the noise floor pinned at the -120 clamp because
getCurrentRSSI() never sampled a live receiver.
Pass RADIOLIB_LR11X0_RX_TIMEOUT_INF (continuous RX), which is what
LR11x0::startReceive() itself uses, keeping the PREAMBLE_DETECTED flag in the
reported IRQ flags as intended.
Introduced in 04b643b2 ("LR1110: add PREAMBLE_DETECTED to reported irq flags").
Verified on two T1000-E units: with only the repeater fixed it began receiving
(last_rssi -29, SNR 17.0) while the unfixed companion stayed deaf; fixing both
brought up the link in each direction.
2026-07-30 12:14:39 -04:00
taco
dc6264b870
LLCC68: add IRQ timeout logic
2026-07-29 23:34:01 +10:00
taco
2f19204283
SX1268: add IRQ timeout logic
2026-07-29 23:34:01 +10:00
taco
c490abf452
STM32WLx: add IRQ timeout logic
2026-07-29 23:33:51 +10:00
taco
7fbac66a33
LR1110: fix unnecessary IRQ clear
2026-07-29 23:18:15 +10:00
taco
0f543ccc34
fix unnecessary IRQ clear
2026-07-29 21:39:56 +10:00
taco
fd3639dd4e
SX1268: add PREAMBLE_DETECTED to reported irq flags
2026-07-25 00:46:39 +10:00
taco
a04833f029
STM32WLx: add PREAMBLE_DETECTED to reported irq flags
2026-07-25 00:46:39 +10:00
taco
15edc9e9e9
LLCC68: add PREAMBLE_DETECTED to reported irq flags
2026-07-25 00:46:39 +10:00
taco
04b643b21a
LR1110: add PREAMBLE_DETECTED to reported irq flags
2026-07-25 00:46:36 +10:00
taco
11a0236c2c
SX1262: add PREAMBLE_DETECTED to reported irq flags
2026-07-25 00:38:44 +10:00
taco
3bcb2c7477
fix: clear the correct IRQ flag for timeout on preamble detected
2026-07-20 21:05:12 +10:00
taco
98448b4463
LR1110: add setter methods for preambleMillis and payloadMillis
2026-07-20 19:52:57 +10:00
taco
6ff42198bd
SX1262: add setter methods for preambleMillis and payloadMillis
2026-07-20 19:52:57 +10:00
taco
a81b54bbba
fix: setMaxPacketMillis() should return void
2026-07-19 22:06:36 +10:00
taco
f3f93b9e00
add IRQ timeout logic for LR11X0
2026-07-17 21:45:31 +10:00
taco
6f752bc80c
add IRQ timeout logic for SX1262
2026-07-17 21:33:57 +10:00
taco
2e588fef22
add calcMaxPacketMillis
2026-07-17 21:15:09 +10:00
Wessel Nieboer
7966551627
fix misspelled RF switch pin macros in SX1268/LLCC68/SX1276 radio wrappers
2026-07-09 16:31:28 +02:00
entr0p1
5ed80856c4
SX1262 LDO Support
...
- Added build flag "SX126X_USE_REGULATOR_LDO" (set to 1 to enable) to use LDO for the SX1262 radio instead of DC-DC when the DCDC pin isn't wired up (e.g. t-echo lite)
- Added additional debug mode diagnostic messages during SX1262 init to better highlight faults
2026-06-30 16:55:16 +10:00
Scott Powell
412cfe4a96
* ACK packets being 'clipped' (in Dispatcher send). Needed to extend max_airtime timeout calc for short packets
2026-06-27 21:06:01 +10:00
taco
1a90abdbe2
return bool when setting rx boost
2026-06-26 07:44:01 +10:00
Wessel Nieboer
e77b6b101f
Have CAD be a separate toggle (set cad on/off)
2026-06-14 15:20:58 +02:00
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