Skip to content
This repository was archived by the owner on Nov 24, 2022. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2004 commits
Select commit Hold shift + click to select a range
a94f263
[SX126x] Split main source file into multiple files
jgromes Sep 18, 2025
21af3bf
[SX126x] Add missing header files
jgromes Sep 18, 2025
28707e8
[SX126x] Add missing method
jgromes Sep 18, 2025
70bca65
[PHY] Add calculateTimeOnAir virtual method and override it in module…
jgromes Sep 18, 2025
778a73e
[SX126x] Remove extraneous reset after findChip (#1604)
cleishm Sep 19, 2025
5885ede
[LoRaWAN] Update modem, datarate and ToA handling (#1609)
StevenCellist Sep 20, 2025
f35d124
Improve support for LoRa coding rate with Long Interleaver (#1606)
GUVWAF Sep 20, 2025
8ac7893
[SX128x] Fix warning for preamble length
jgromes Sep 20, 2025
c938127
[SX128x] Limit preamble length to 16bit numbers
jgromes Sep 20, 2025
a679e60
[LoRaWAN] Fix CI warnings in examples
StevenCellist Sep 20, 2025
a3ab19e
[LoRaWAN] Fix for ADR masks on fixed bands
StevenCellist Sep 20, 2025
2a2f6e0
Bump version to 7.3.0
jgromes Sep 21, 2025
aeac756
[SX126x] Update doc of SX126x::getPacketLength (#1611)
cleishm Sep 22, 2025
05ba4e1
[HAL] Fix RPi HAL initialization order
jgromes Sep 22, 2025
50bd0a1
[LoRaWAN] Fix persistent downlink MAC content (#1616)
StevenCellist Sep 27, 2025
8362b56
[LoRaWAN] Fix for Package FPort
StevenCellist Sep 27, 2025
5818823
[LoRaWAN] Fix for Package MAC commands
StevenCellist Sep 27, 2025
e8a4d79
[LoRaWAN] Change `getMacDeviceTimeAns` to return current time
StevenCellist Sep 27, 2025
e0fc757
[LoRaWAN] Improve logging
StevenCellist Sep 27, 2025
335911f
[LoRaWAN] Fix for downlinks after confirmed uplinks
StevenCellist Oct 7, 2025
b0e049b
[LoRaWAN] Logic optimization
StevenCellist Oct 7, 2025
80d09eb
[LoRaWAN] Process downlinks in-place
StevenCellist Oct 7, 2025
40c37a8
[LoRaWAN] Fix MAC-only payload truncation
StevenCellist Oct 7, 2025
6e9d10c
[LoRaWAN] Cleanup Timeout IRQ, shortcut zero-length AES
StevenCellist Oct 7, 2025
a7f321f
Fix CI warning
StevenCellist Oct 7, 2025
3e57c27
Merge branch 'master' into lr2021
jgromes Oct 12, 2025
e60d262
[LR11x0] Move functions common with LR2021
jgromes Oct 12, 2025
f203c77
[LR2021] Add first few SPI commands
jgromes Oct 12, 2025
d696fed
[LRxxxx] Create base class for common LR11xx and LR20xx commands
jgromes Oct 13, 2025
9b330ff
[LoRaWAN] Fix for payload processing (#1626 comment)
StevenCellist Oct 16, 2025
15aa392
[LR11x0] Only keep minimum commands in LR common class
jgromes Oct 18, 2025
3310547
[LR11x0] Remove SPI cehck methods
jgromes Oct 18, 2025
369cc9f
[LR11x0] Add missing void cast
jgromes Oct 18, 2025
99e6537
[LR2021] Add all chip control commands
jgromes Oct 18, 2025
65a0f48
[LR2021] Rename file
jgromes Oct 18, 2025
833f79d
[LR2021] Add radio commands
jgromes Oct 18, 2025
ad88f14
[LR2021] Add LoRa commands
jgromes Oct 18, 2025
494c666
[LR11x0] Split registers. commands and types into separate headers
jgromes Oct 19, 2025
9759755
[LR11x0] Add GFSK workaround registers
jgromes Oct 19, 2025
b680b07
[LR11x0] Add method to get boot hash
jgromes Oct 19, 2025
5f6f846
[LR11x0] Add GFSK workaround
jgromes Oct 21, 2025
f6f72f9
[SX126x] Move command variables to commands file
jgromes Oct 21, 2025
1de9837
[SX126x] Add experimental BPSK support
jgromes Oct 21, 2025
f733985
[SX126x] Add workaround for GFSK
jgromes Oct 24, 2025
0273939
Fix typo
jgromes Oct 25, 2025
230c7ca
[SX126x] Remove setSyncBits method (#1633)
jgromes Oct 25, 2025
e6de3e2
[SX126x] Remove setSyncBits from example
jgromes Oct 26, 2025
e6dcb46
[LR11x0] Remove setSyncBits method
jgromes Oct 26, 2025
b1ed821
Bump version to 7.4.0
jgromes Oct 26, 2025
79187ce
[SX128x] Add finishRanging method (#1605)
jgromes Oct 28, 2025
f6b0074
[SX128x] Add getRangingResultRaw method (#1605)
jgromes Oct 28, 2025
600c008
[SX1280] Add device type check based on register version string
jgromes Oct 28, 2025
7d1c330
Merge branch 'master' into lr2021
jgromes Oct 28, 2025
b446fc1
[SX126x] Fix incorrect bit rate range check (#1636)
jgromes Oct 28, 2025
217ab3c
[LR2021] Add ranging and GFSK commands
jgromes Oct 28, 2025
fa4ca41
[LR2021] Add FLRC, OQPSK and BPSK commands
jgromes Oct 28, 2025
482eaea
[LR2021] Add LR-FHSS and OOK commands
jgromes Oct 29, 2025
faa0afb
[Utils] Add generic (de)scrambler function
jgromes Nov 1, 2025
0db2156
[LR11x0] Move reset to common class
jgromes Nov 1, 2025
287bb85
[LR2021] Add common setU32 method
jgromes Nov 1, 2025
2b80e65
[LR2021] Add standby and begin
jgromes Nov 1, 2025
d46c50f
Add support for Arduino Uno Q (Zephyr)
StevenCellist Nov 7, 2025
536c726
[SX127x] Enable automatic LDRO by default (#1638)
jgromes Nov 9, 2025
0d9ee43
[SX128x] Fix packet length mode not configurable on FLRC (#1644)
jgromes Nov 10, 2025
9ef2f93
Merge pull request #1642 from jgromes/uno-q
jgromes Nov 10, 2025
3a5dac0
[SX1280] Use only raw ranging results until we figure out the filter
jgromes Nov 11, 2025
4ca36bc
[CC1101] Increase MARCSTATE timeout in Tx to 1600 us (#1647)
jgromes Nov 15, 2025
eb13d5b
[HAL] Fix falling interrupts not reported in RPi HAL
jgromes Nov 15, 2025
4bba92f
[CC1101] Reset GDO pins to high-Z state as part of Tx/Rx cleanup (#1647)
jgromes Nov 15, 2025
4aca5b5
Fix `receive` `timeout` parameter docs
jrpear Nov 26, 2025
90511e8
[SX128x] Merge pull request #1653 from jrpear/patch-1
jgromes Nov 26, 2025
92e2f33
[SX126x] Autocorrect TCXO selected instead of XTAL
jgromes Dec 14, 2025
d4f7012
Add a destructor method to RadioLibHal (#1661)
Vinx911 Dec 19, 2025
f25979f
[LR11x0] Move common members to base class
jgromes Dec 28, 2025
0f994bf
[LR2021] Add LoRa begin method and basic config
jgromes Dec 28, 2025
b070a99
[LR11x0] Move basic IRQ methods to base class
jgromes Dec 28, 2025
f1b8b68
[LR2021] Add basic interrupt methods
jgromes Dec 28, 2025
7cdba13
[LR11x0] Move pa ramp rounding function to base class
jgromes Dec 29, 2025
8e38bce
[LR2021] Implement frequency and output power config
jgromes Dec 29, 2025
6adaf76
[LR2021] Rename FSK to GFSK for consistency with LR11xx
jgromes Dec 29, 2025
a6c97ac
[HAL] Rework RPi Pico interrupts (#1667) (#1669)
jgromes Jan 3, 2026
2c187e7
[CI] Cleanup before ESP-IDF clone
jgromes Jan 3, 2026
bffaf7d
[CI] Update ESP-IDF
jgromes Jan 3, 2026
badec21
[CI] Fix ESP-IDF CI (#1670)
jgromes Jan 3, 2026
e11293e
[LoRaWAN] Fix setting DataRate and TxPower before join
StevenCellist Jan 7, 2026
6df4a87
[Pager] Fix receive example implying SX126x can be used (#1672)
jgromes Jan 7, 2026
be9787d
[SX126x] Add optimized PA configuration table for SX1262 and SX1268 (…
jgromes Jan 9, 2026
9d09601
Bump version to 7.5.0
jgromes Jan 10, 2026
5cf8582
[LR11x0] Add public interface for PA control
jgromes Jan 10, 2026
34774e3
[SX126x] Move PA optimized tables out of derived classes (#1675)
jgromes Jan 11, 2026
bcf8b21
[HAL] Add missing pullup flags to RPi Hal
jgromes Jan 13, 2026
3b3ecd1
[LR2021] Fix SPI status width and version check
jgromes Jan 13, 2026
cef667d
Merge branch 'master' into lr2021
jgromes Jan 13, 2026
822cf2a
[LR11x0] Fix PA config
jgromes Jan 13, 2026
b1a7ae2
[LR2021] Fix SPI status width
jgromes Jan 13, 2026
062e6b0
[LR2021] Fix SPI width swapping in base class
jgromes Jan 13, 2026
b958a81
[LR2021] Fix wrong SPI read
jgromes Jan 13, 2026
31a5ad3
[LR2021] Fix DIO5 can only be pull up
jgromes Jan 13, 2026
9d2daad
[HAL] Make pull/up down configurable through HAL
jgromes Jan 13, 2026
49e3467
Merge branch 'master' into lr2021
jgromes Jan 13, 2026
f391ce7
[HAL] Save pull up/down flags internally on RPi
jgromes Jan 13, 2026
1d7a86c
Merge branch 'master' into lr2021
jgromes Jan 13, 2026
090fe1d
[LR2021] Implement Rx/Tx mode staging
jgromes Jan 13, 2026
dbb2466
[LR2021] Fix copypaste errors in commands
jgromes Jan 14, 2026
2675673
[LR2021] Fix checking of status code during calibration
jgromes Jan 14, 2026
7a89e46
[LR2021] Set default TCXO startup timeout to 1 second
jgromes Jan 14, 2026
0df3458
[LR11x0] Fix checking of status code during calibration
jgromes Jan 14, 2026
daf6d40
[LR2021] Add device rrors check during freq calibration
jgromes Jan 17, 2026
af24e56
[LR2021] Attempt multiple FE calibrations
jgromes Jan 17, 2026
49c57ad
[LR2021] Fix radio data readout
jgromes Jan 17, 2026
fd6ede4
[LR11x0] Move ToA methods to base class
jgromes Jan 17, 2026
12341b1
[LR2021] Add missing getModem implementation
jgromes Jan 17, 2026
a811cae
[CI] Fix macros in ToA unit test
jgromes Jan 17, 2026
65b1975
Merge branch 'lr2021' of https://github.com/jgromes/RadioLib into lr2021
jgromes Jan 17, 2026
9a6e123
[LR2021] Fix IRQ bit width
jgromes Jan 17, 2026
3ff8cce
[LR2021] Fix RSSI calibration buffer size
jgromes Jan 17, 2026
87ee86b
[LR11x0] Fix macros in LR-FHSS example
jgromes Jan 17, 2026
ae9632b
[LR11x0] Remove redundant method
jgromes Jan 17, 2026
2de1adc
[LR2021] Fix cppcheck issues
jgromes Jan 17, 2026
5d0a4d6
[LR2021] More cppcheck fixers
jgromes Jan 17, 2026
0a9ed18
[LR2021] Fix sync word method
jgromes Jan 17, 2026
a334ec6
[CI] Fix ToA unit test
jgromes Jan 17, 2026
928ede6
[LR2021] Fix redundant definitions
jgromes Jan 17, 2026
369ba4e
[LR2021] Add temperature and voltage readout
jgromes Jan 17, 2026
72808cd
[MOD] Add support for 24-bit SPI addresses
jgromes Jan 18, 2026
e3af858
[LR2021] Fix address widths
jgromes Jan 18, 2026
b172ee3
[LR2021] Fix memory read and write commands
jgromes Jan 18, 2026
3072504
[LR11x0] Fix cast
jgromes Jan 18, 2026
f6e513c
[LR2021] Add methods to read RSSI and SNR
jgromes Jan 18, 2026
985cef6
[LR2021] Move basic module setup to common method
jgromes Jan 18, 2026
214c5c4
[LR2021] Set Rx path based on frequency band
jgromes Jan 18, 2026
e51d3af
[SX126x] Fix direct transmit not transmitting on some platforms (#1677)
jgromes Jan 21, 2026
e9fec4f
[LR11x0] Move Rx timeout calculation to base class
jgromes Jan 22, 2026
9d7dedd
[LR2021] Add RNG method
jgromes Jan 22, 2026
c684258
[LR2021] Fix ToA not being calculated
jgromes Jan 23, 2026
b436434
[LR2021] Add support for GFSK, FLRC and LR-FHSS modems
jgromes Jan 23, 2026
72324be
[LR2021] Add missing initialization
jgromes Jan 23, 2026
d230f3f
[LR2021] Fix typo
jgromes Jan 23, 2026
c46381b
[LR2021] set implicit or explicit LoRa header type (#1678)
lyusupov Jan 24, 2026
e9ab31b
[LR2021] Add support for OOK modem
jgromes Jan 24, 2026
593ac68
[LR2021] Add support for multi-SF reception
jgromes Jan 24, 2026
d168569
[LR2021] Fix logic error in multiSF config
jgromes Jan 24, 2026
d4dc68a
[LR2021] Add basic examples
jgromes Jan 24, 2026
98d785a
[LR2021] Fix typos
jgromes Jan 24, 2026
f86497f
[LR2021] Add multi-SF example
jgromes Jan 24, 2026
009eb51
[LR2021] Fix example links
jgromes Jan 24, 2026
9d2122b
[LR2021] Update readme and add LR2021 to tags
jgromes Jan 24, 2026
3ebeabf
[LR2021] Add keywords
jgromes Jan 24, 2026
c8a3e99
[LR2021] Fix typos
jgromes Jan 25, 2026
3ba383b
[LR2021] Implement RF switch control
jgromes Jan 25, 2026
1e371b8
[LR2021] Add DIO IRQ configuration to examples
jgromes Jan 25, 2026
1141a09
[LRxxxx] Fix typo in definition
StevenCellist Jan 25, 2026
37241af
[LR2021] Fix handling opf FLRC parameters
jgromes Jan 27, 2026
03bf4ec
[LR2021] Add explicit CRC configuration for FLRC
jgromes Jan 27, 2026
c0795aa
[LR2021] Add missing ToA calculation for FLRC
jgromes Jan 27, 2026
e71e305
[LR2021] Fix FLRC coding rate check
jgromes Jan 27, 2026
99d971a
[LR2021] Fix FLRC sync word byte order
jgromes Jan 27, 2026
b04841b
[LR2021] Fix range check
jgromes Jan 27, 2026
a1c436f
[LR2021] Add Rx gain boost configuration
jgromes Jan 27, 2026
c496281
[LR2021] Split Rx gain cofiguration per band
jgromes Jan 27, 2026
9f5938f
[LR2021] Add final missing PHY methods
jgromes Jan 28, 2026
4afbfd3
[LR2021] Fix default OOK pattern length
jgromes Jan 29, 2026
bbf5a42
[LR2021] Fix LoRa CRC and PA ramp config
jgromes Jan 29, 2026
ea53316
[PHY] Fix IRQ check failing for 32-bit IRQs
jgromes Jan 29, 2026
a664099
[LR2021] Fix sleep mode waiting for busy to go low
jgromes Jan 29, 2026
abe7884
[LR11xx] Fix waiting for busy when going to sleep
jgromes Jan 30, 2026
c4ea3d1
[LoRaWAN] Add waiting loop to ensure downlink always completes
jgromes Jan 30, 2026
013b0a1
[LR2021] Add support for LR2021 (#1676) (#1457)
jgromes Jan 30, 2026
30d20ae
Re-Fix for #1667 (#1681)
smunaut Jan 30, 2026
b80288b
[SX128x] Fix null dereference
jgromes Jan 31, 2026
2cc4611
[SX128x] Add missing PHY methods
jgromes Jan 31, 2026
b3bd508
[LR11x0] Add missing PHY override
jgromes Jan 31, 2026
28c9ac4
[SX126x] Add missing PHY override
jgromes Jan 31, 2026
5bdcc66
[SX127x] Add missing PHY override
jgromes Jan 31, 2026
5461e8b
[PHY] Remove setDIOMapping from PhysicaLayer
jgromes Jan 31, 2026
b4d5ac9
[CI] Add PHY completion unit test
jgromes Jan 31, 2026
d2dcd6d
[LR2021] DIO5 can only do DIO_SLEEP_PULL_UP (#1685)
lyusupov Jan 31, 2026
dc5c537
[CC1101] Remove measured data rate methods
jgromes Jan 31, 2026
df88978
[LR11x0] Remove measured data rate methods
jgromes Jan 31, 2026
9e5224b
[LR2021] Remove measured data rate methods
jgromes Jan 31, 2026
0177ed8
[nRF24] Remove measured data rate methods
jgromes Jan 31, 2026
1c88d09
[RF69] Remove measured data rate methods
jgromes Jan 31, 2026
53e0271
[SX126x] Remove measured data rate methods
jgromes Jan 31, 2026
7954251
[SX127x] Remove measured data rate methods
jgromes Jan 31, 2026
08a7853
[LR2021] fix invalid GFSK payload length unit (#1687)
lyusupov Jan 31, 2026
95516cb
[LR2021] Optimize RxBw config
jgromes Jan 31, 2026
925f516
[LR2021] a fix for reverse order of bytes in GFSK sync word (#1686)
lyusupov Jan 31, 2026
4eecf22
[LR11x0] Move optimized RxBw config to base class
jgromes Feb 1, 2026
bcde610
[LR2021] set max limit of GFSK frequency deviation in accordance with…
lyusupov Feb 1, 2026
97263cd
[LR2021] fix for no-CRC GFSK and OOK operations when inverted bit is …
lyusupov Feb 1, 2026
1c5b02e
[LR2021] set max limit of GFSK/OOK bit rate in accordance with datash…
lyusupov Feb 1, 2026
a73d926
[HAL] Fix overflow bug by adding casting to delay(), delayMicrosecond…
olivierouellet Feb 1, 2026
f1de01d
[LoRaWAN] Fix dutycycle not enforced (#1682)
StevenCellist Feb 1, 2026
bf49141
[LR2021] Extend allowed frequency range to 1090 MHz
jgromes Feb 1, 2026
aedddcd
[LR2021] Allow empty sync words
jgromes Feb 1, 2026
10e0eb2
[LR2021] Fix packet mode not being applied correctly for GFSK and OOK
jgromes Feb 1, 2026
bf7a082
[LR2021] Fix OOK Manchester encoding configuration
jgromes Feb 3, 2026
1569b5e
[LR2021] Fix instant RSSI measurement
jgromes Feb 3, 2026
4f3d2ab
[LR2021] Make gain config method public
jgromes Feb 3, 2026
ce81630
Potential overflow fix for RADIOLIB_SPI_PARANOID (#1698)
olivierouellet Feb 5, 2026
d3eabae
[MOD] Clarify rationale for skipping counter init (#1696)
jgromes Feb 5, 2026
490af9b
[LR2021] Fix encoding configuration for OOK Manchester
jgromes Feb 5, 2026
368237a
[LR2021] Add method to configure OOK threshold
jgromes Feb 5, 2026
e13aa3f
[LR2021] Add inverted manchester encoding
jgromes Feb 5, 2026
74812e5
[MOD] Format stream bytes in debug with fixed width
jgromes Feb 6, 2026
35e9c39
[LR2021] Fix CRC polynomial and init swapped
jgromes Feb 7, 2026
7ca6b33
[LoRaWAN] Move random's seed to session creation
StevenCellist Feb 8, 2026
4eb6443
[LoRaWAN] Fix for float not supported on newlib-nano (#1697)
olivierouellet Feb 8, 2026
87bf578
[HAL] Add dwt_init() to ArduinoHal::init() for ARDUINO_ARCH_STM32 (#1…
olivierouellet Feb 8, 2026
116d975
[LoRaWAN] Add band and class getters
StevenCellist Feb 12, 2026
5b901a3
[LoRaWAN] Fix incorrect DR calculation for fixed band in createSession()
Kodo-kakaku Feb 13, 2026
c659d3e
[LoRaWAN] Add version getter
StevenCellist Feb 15, 2026
1d68c76
[LoRaWAN] Fix invalid multicast datarate
StevenCellist Feb 15, 2026
2c48700
[LoRaWAN] Open/close RxC window on start/end of multicast session
StevenCellist Feb 17, 2026
c1ff483
Add new LoRaWAN keywords
StevenCellist Feb 17, 2026
a50accb
[Crypto] Add streaming functionality to CMAC (#1707)
StevenCellist Feb 18, 2026
ce30134
[CI] Fix CI getting stuck on unit test
jgromes Feb 18, 2026
c8b9e7e
[LR2021] Fix incorrect logic of LoRa header IRQ check
jgromes Feb 18, 2026
ac70f5f
[LoRaWAN] Change sessionStatus before calculateChannelFlags in activa…
olivierouellet Feb 18, 2026
b97f856
[LoRaWAN] Remove redundant condition
StevenCellist Feb 19, 2026
5bb0c62
[ADS-B] ADS-B support (LR2021 only) (#1700)
jgromes Feb 19, 2026
68cc977
[ADS-B] Add support info to readme and keywords
jgromes Feb 19, 2026
0d3a63c
Bump version to 7.6.0
jgromes Feb 19, 2026
f403b9c
[LR2021 Fix frequency calibration for LF band
jgromes Feb 19, 2026
8566665
[LoRaWAN] Fix payload buffer size
StevenCellist Feb 21, 2026
b65a27a
[PHY] Fix size of some static-only buffers in protocols
jgromes Feb 22, 2026
b28aa2b
[MOD] Increase static only-buffers and allow build override
jgromes Feb 22, 2026
2f1fcd6
[Pager] Fix invalid array size for static-only buffer
jgromes Feb 28, 2026
83b5dc7
[CI] Add job to test builds for static-only buffers
jgromes Feb 28, 2026
b0a3f2d
[LR11x0] Expose instantaneous RSSI measurement (#1714)
GUVWAF Mar 1, 2026
7fe071a
[SX126x] Implement proper AGC reset (#1718)
weebl2000 Mar 7, 2026
65084d0
[LoRaWAN] Add optional activity LEDs
StevenCellist Mar 8, 2026
fb1020f
[LR2021] Make getLoRaPacketStatus public (#1721)
jgromes Mar 11, 2026
687e517
[LR2021] a fix for reverse order of bytes in OOK sync word (#1722)
lyusupov Mar 14, 2026
bd38aa4
[LR2021] a fix for OOK packet's RSSI return value (#1723)
lyusupov Mar 14, 2026
989c64a
[SX127x] Enforce frequency range checking (#1724)
jgromes Mar 17, 2026
7f7eca4
[AX.25] Add support for G3RUH coding (#1637)
jgromes Mar 17, 2026
dff0ee6
Fix dataSent update in CC1101 FIFO handling
FernandoGM5 Mar 12, 2026
c9e061a
[CC1101] Add explanation for coutner reset
jgromes Mar 18, 2026
db2fbca
[LR2021] Add getLoRaRxHeaderInfo function
SeeedZhangyh Mar 19, 2026
25c50b4
[LR2021] Updated CAD detection for LR 2021, resolving the freezing is…
SeeedZhangyh Mar 19, 2026
688a4d7
Merge pull request #1728 from SeeedZhangyh/addApi
jgromes Mar 19, 2026
631e091
[LR2021] Formatting fixup
jgromes Mar 19, 2026
ae33c48
Check if board is using DWT before calling dwt_init() on STM32
olivierouellet Mar 21, 2026
1484f56
Merge pull request #1731 from olivierouellet/Check-if-STM32-board-use…
jgromes Mar 21, 2026
f2286dc
[SX127x] Slightly Update frequency ranges in SX127x modules (#1733)
G4lile0 Mar 22, 2026
2ee8178
[CC1101] Fix halt in blocking transmit
jgromes Mar 22, 2026
f9fcb6c
[CC1101] Add timeout to Tx FIFO feeding loop (#1725)
jgromes Mar 22, 2026
49f3211
Update contributing guideliens to consider AI use (#1738)
jgromes Mar 24, 2026
7971af8
[LR2021] Fix setPaConfig (#1740)
jgromes Mar 29, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# exclude binary patch files from language detection
src/modules/SX126x/patches/*.h linguist-detectable=false
src/modules/LR11x0/firmware/*.h linguist-detectable=false
30 changes: 25 additions & 5 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,34 @@ assignees: ''

---

**IMPORTANT: Check the wiki**
Before submitting new issue, please check the [Wiki](https://github.com/jgromes/RadioLib/wiki) and the [API documentation](https://jgromes.github.io/RadioLib/). You might find a solution to your issue there.
**IMPORTANT: Check the docs**
Before submitting new issue, please check the [Troubleshooting Guide](https://github.com/jgromes/RadioLib/wiki/Troubleshooting-Guide) Wiki page and the [API documentation](https://jgromes.github.io/RadioLib/). If you are seeing an error code, we have [online status code decoder](https://radiolib-org.github.io/status_decoder/decode.html).

**Describe the bug**
A clear and concise description of what the bug is. When applicable, please include [debug mode output](https://github.com/jgromes/RadioLib/wiki/Debug-mode).
A clear and concise description of what the bug is. When applicable, please include [debug mode output](https://github.com/jgromes/RadioLib/wiki/Debug-mode) **using the appropriate debug mode**.

<details><summary>Debug mode output</summary>
<p>

```
paste the debug output here
```

</p>
</details>

**To Reproduce**
Minimal Arduino sketch to reproduce the behavior. Please user Markdown to style the code to make it readable (see [Markdown Cheatsheet](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet#code)).
Minimal Arduino sketch to reproduce the behavior. Please use Markdown to style the code to make it readable (see [Markdown Cheatsheet](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet#code)).

<details><summary>Sketch that is causing the module fail</summary>
<p>

```c++
paste the sketch here, even if it is an unmodified example code
```

</p>
</details>

**Expected behavior**
A clear and concise description of what you expected to happen.
Expand All @@ -27,4 +47,4 @@ If applicable, add screenshots to help explain your problem.
- Link to Arduino core: [e.g. https://github.com/stm32duino/Arduino_Core_STM32 when using official STM32 core. See readme for links to all supported cores]
- Wireless module type [e.g. CC1101, SX1268, etc.]
- Arduino IDE version [e.g. 1.8.5]
- Library version [e.g. 3.0.0]
- Library version [e.g. 3.0.0 or git hash]
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: RadioLib Discussions
url: https://github.com/jgromes/RadioLib/discussions
about: Please ask generic questions here.
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ assignees: ''

---

**IMPORTANT: Check the wiki**
Before submitting new issue, please check the [Wiki](https://github.com/jgromes/RadioLib/wiki) and the [API documentation](https://jgromes.github.io/RadioLib/). You might find a solution to your issue there.
**IMPORTANT: Check the docs**
Before submitting new issue, please check the [Troubleshooting Guide](https://github.com/jgromes/RadioLib/wiki/Troubleshooting-Guide) Wiki page and the [API documentation](https://jgromes.github.io/RadioLib/). If you are seeing an error code, we have [online status code decoder](https://radiolib-org.github.io/status_decoder/decode.html).

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Expand Down
22 changes: 18 additions & 4 deletions .github/ISSUE_TEMPLATE/module-not-working.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,40 @@ assignees: ''

**IMPORTANT: Before submitting an issue, please check the following:**
1. **Read [CONTRIBUTING.md](https://github.com/jgromes/RadioLib/blob/master/CONTRIBUTING.md)!** Issues that do not follow this document will be closed/locked/deleted/ignored.
2. RadioLib has a [Wiki](https://github.com/jgromes/RadioLib/wiki) and an extensive [API documentation](https://jgromes.github.io/RadioLib/). You might find a solution to your issue there.
2. RadioLib has a [Troubleshooting Guide](https://github.com/jgromes/RadioLib/wiki/Troubleshooting-Guide) Wiki page and an extensive [API documentation](https://jgromes.github.io/RadioLib/). If you are seeing an error code, we have [online status code decoder](https://radiolib-org.github.io/status_decoder/decode.html).
3. Make sure you're using the latest release of the library! Releases can be found [here](https://github.com/jgromes/RadioLib/releases).
4. Use [Arduino forums](https://forum.arduino.cc/) to ask generic questions about wireless modules, wiring, usage, etc. Only create issues for problems specific to RadioLib!
5. Error codes, their meaning and how to fix them can be found on [this page](https://jgromes.github.io/RadioLib/group__status__codes.html).

**Sketch that is causing the module fail**
<details><summary>Sketch that is causing the module fail</summary>
<p>

```c++
paste the sketch here, even if it is an unmodified example code
```

</p>
</details>

**Hardware setup**
Wiring diagram, schematic, pictures etc.

**Debug mode output**
Enable all [debug levels](https://github.com/jgromes/RadioLib/wiki/Debug-mode) and paste the Serial monitor output here.
Enable the appropriate [debug levels](https://github.com/jgromes/RadioLib/wiki/Debug-mode) and paste the Serial monitor output here. For debugging protocols, enable `RADIOLIB_DEBUG_PROTOCOL`. For debugging issues with the radio module itself, enable `RADIOLIB_DEBUG_SPI`.

<details><summary>Debug mode output</summary>
<p>

```
paste the debug output here
```

</p>
</details>

**Additional info (please complete):**
- MCU: [e.g. Arduino Uno, ESP8266 etc.]
- Link to Arduino core: [e.g. https://github.com/stm32duino/Arduino_Core_STM32 when using official STM32 core. See readme for links to all supported cores]
- Wireless module type [e.g. CC1101, SX1268, etc.]
- Arduino IDE version [e.g. 1.8.5]
- Library version [e.g. 3.0.0]
- Library version [e.g. 3.0.0 or git hash]
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/regular-issue.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ assignees: ''

**IMPORTANT: Before submitting an issue, please check the following:**
1. **Read [CONTRIBUTING.md](https://github.com/jgromes/RadioLib/blob/master/CONTRIBUTING.md)!** Issues that do not follow this document will be closed/locked/deleted/ignored.
2. RadioLib has a [Wiki](https://github.com/jgromes/RadioLib/wiki) and an extensive [API documentation](https://jgromes.github.io/RadioLib/). You might find a solution to your issue there.
2. RadioLib has a [Troubleshooting Guide](https://github.com/jgromes/RadioLib/wiki/Troubleshooting-Guide) Wiki page and an extensive [API documentation](https://jgromes.github.io/RadioLib/). If you are seeing an error code, we have [online status code decoder](https://radiolib-org.github.io/status_decoder/decode.html).
3. Make sure you're using the latest release of the library! Releases can be found [here](https://github.com/jgromes/RadioLib/releases).
4. Use [Arduino forums](https://forum.arduino.cc/) to ask generic questions about wireless modules, wiring, usage, etc. Only create issues for problems specific to RadioLib!
5. Error codes, their meaning and how to fix them can be found on [this page](https://jgromes.github.io/RadioLib/group__status__codes.html).
14 changes: 14 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
## Pull request template
Thank you for taking the time to contribute to RadioLib development!
To keep this library organized, please follow these rules.

1. Make sure the the code in your PR is tested and that you understand all its impacts.
2. Ensure that all CI actions pass - PRs with failed CI will not be merged. CI actions run automatically for every commit pushed to the PR and test the following:
a. Compilation for Arduino, ESP-IDF and on Raspberry Pi
b. Runtime test on Raspberry Pi
c. GitHub CodeQL check
d. Cppcheck static code scan
3. Follow code style guidelines in [CONTRIBUTING.md](https://github.com/jgromes/RadioLib/blob/master/CONTRIBUTING.md)
4. Heads up - all PRs undergo review, during which you may be asked to correct or change some things. The purpose of this review is to keep regressions and bugs at the minimum, and to keep consistent coding style. Please take them as constructive criticism from people who may have a different point-of-view than you do.

After addressing/accepting the points above, delete the contents of this template and replace it with text explaining what is the goal of your PR, why you want to add it to the upstream and what are the foreseen impacts. Once again, thank you for taking the time to contribute!
20 changes: 7 additions & 13 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,14 @@ on:
branches: [master]
pull_request:
branches: [master]
workflow_dispatch:

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
security-events: write

strategy:
fail-fast: false
Expand All @@ -18,20 +21,11 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
fetch-depth: 2

# If this run was triggered by a pull request event, then checkout
# the head of the pull request instead of the merge commit.
- run: git checkout HEAD^2
if: ${{ github.event_name == 'pull_request' }}
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}

Expand Down Expand Up @@ -60,7 +54,7 @@ jobs:

- name: Build example
run:
arduino-cli compile --libraries /home/runner/work/RadioLib --fqbn arduino:avr:uno $PWD/examples/SX126x/SX126x_Transmit/SX126x_Transmit.ino --warnings=all
arduino-cli compile --libraries /home/runner/work/RadioLib --fqbn arduino:avr:uno $PWD/examples/SX123x/SX123x_Transmit_Blocking/SX123x_Transmit_Blocking.ino --warnings=all

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v3
25 changes: 25 additions & 0 deletions .github/workflows/cppcheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: "Cppcheck"

on:
push:
branches: [master]
pull_request:
branches: [master]
workflow_dispatch:

jobs:
check:
name: Perform static code check
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Install cppcheck
run: |
sudo apt-get update
sudo apt-get install -y cppcheck

- name: Run cppcheck
run: ./extras/cppcheck/cppcheck.sh
2 changes: 1 addition & 1 deletion .github/workflows/doxygen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y doxygen
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Generate docs
run: doxygen Doxyfile
Expand Down
Loading