Commit graph

29 commits

Author SHA1 Message Date
Wessel Nieboer
52b9d877a6 Use hardware channel activity detection for checking interference 2026-03-31 21:57:05 -07:00
João Brázio
83b7a95679
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
92bef49c55
Merge branch 'dev' into 2026/remote-lna 2026-03-16 09:40:10 +00:00
Wessel Nieboer
9af332b6e6
Make sure LR1110 builds 2026-03-13 13:48:36 +01:00
Liam Cottle
8a3262cd70
Merge pull request #1483 from ssp97/dev
fix: avoid redundant redefinition of SX126X_DIO3_TCXO_VOLTAGE
2026-03-11 21:49:31 +13:00
João Brázio
9a95e25ef2
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
8df87d5609
Merge remote-tracking branch 'upstream/dev' into 2026/remote-lna 2026-03-05 17:21:38 +00:00
Wessel Nieboer
9bae9d0ed2
fix comment, we know the band now after checking LR1110 user manual 2026-02-28 19:09:25 +01:00
Wessel Nieboer
85f764a114
Calibrate configured frequency for AGC reset 2026-02-28 19:09:25 +01:00
Wessel Nieboer
f54948e06d
Also implement LR11x10 AGC reset
Similar to SX126x but simpler.
2026-02-28 19:09:25 +01:00
Wessel Nieboer
b2032e11b6
make it more dry 2026-02-28 19:09:25 +01: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
Wessel Nieboer
8bf63256b6
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
71136671bd
Implement remote lna toggle cli cmd 2026-02-10 15:02:23 +00:00
SoCalix
31fbb679d5
Merge branch 'dev' into heltecv4-register1 2026-01-29 09:12:35 -06:00
ssp97
0bc0fc2c81 fix: avoid redundant redefinition of SX126X_DIO3_TCXO_VOLTAGE 2026-01-26 08:59:19 +08: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
Socalix
4575800e40 Turn on register 0x8B5 LSB for improved RX, turn off boosted gain 2026-01-14 17:52:15 -06:00
cj-vana
63767cdb7d Fix typos in README and source comments 2026-01-03 18:54:48 -07:00
entr0p1
245a818085 Fix TX LED stuck on when StartTransmit() fails 2025-12-20 23:15:41 +11:00
Jaroslav Škarvada
07e7e2d44b
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
0e259a63ed 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
2981fc70e1 new workaround 2025-10-24 20:12:02 +01:00
Woodie-07
02351abc2d change println to debug macro in lr1110 patch 2025-10-16 16:25:18 +01:00
Woodie-07
8426fddcb7 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
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