Update 7.2.0
Backwards compatibility notice
This update of RadioLib changes the meaning of the following LoRaWAN errors:
-1112: previouslyRADIOLIB_ERR_N_FCNT_DOWN_INVALID, nowRADIOLIB_ERR_MIC_MISMATCH. This error is returned instead ofRADIOLIB_ERR_CRC_MISMATCHin case LoRaWAN message integrity code (MIC) check fails due to incorrect key or invalid frame counter-1113: previouslyRADIOLIB_ERR_A_FCNT_DOWN_INVALID, nowRADIOLIB_ERR_MULTICAST_FCNT_INVALID-1115:RADIOLIB_ERR_CHECKSUM_MISMATCHis now returned instead ofRADIOLIB_ERR_CRC_MISMATCHin case a LoRaWAN Nonces or Session buffer integrity check failed.
Also, the LoRaWAN Nonces buffer layout has slightly changed. Nonces from before 7.2 will not successfully restore in 7.2+. You can either reset/flush the Nonces on your network server, or hit us up in the Discussions as a solution can be crafted to carry the Nonces over.
These changes may break backwards compatibility with some user programs. However, they were not seen as a significant enough change to warrant a full major release.
Change log and commit attribution
Click to expand
- [CC1101] Add sleep function (#1389) (by @weekroom)
- [LR11x0] Skip frequency range verification (#1388) (by @Genaker)
- fix implicit conversion from float to double warnings (by @MatejFranceskin)
- Fix bunch of issues found by cppcheck
- [LoRaWAN] Fix possible integer overflow
- [CI] Add unit test for SPIsetRegValue
- [SX1231] add chip revision number for SX123xH (by @lyusupov)
- [RF69] Fix sync word length not set correctly (#1400)
- [SX126x] Add LR-FHSS interrupt transmit example
- [LoRaWAN] Allow support for misc MAC commands (by @StevenCellist)
- [LLCC68] Add override begin FSK and LR-FHSS methods (#1405)
- [SX127x] Fix lower power range of RFO (#1412)
- fix for build with Arduino Core for Zephyr OS for Nano 33 BLE and Portenta H7 targets (by @lyusupov)
- [PHY] Staged modes (#1414)
- [LoRaWAN] Add methods to allow user-provided sleep function (#1410)
- [CI] Measure code coverage after unit test (#1417)
- Use configurable line feed for debug output (#1398)
- [CC1101] FIFO Refills to transmit packets up to 255 bytes (#1404)
- [nRF24] Add public LNA control method (#1392)
- [SX126x] Remove node address methods from header (#1422)
- [PHY] Make frequency step and max packet length public variables
- [LR11x0] Fix latitude/longitude for negative values (#1379)
- [SX127x] Fix automated RFO selection (#1412)
- [EXT] Remove redundant null check (#1436)
- [MOD] Return debug information even after post-transfer GPIO timeout (#1434)
- [MOD] Add debug timestamps (#1440)
- [SX128x] Add support for GFSK fixed packet length mode (#1441) (by @lyusupov)
- [SX128x] fix for invalid GSFK sync words order (#1444) (by @lyusupov)
- [RF69] a fix for invalid sync word length setting (#1448) (by @lyusupov)
- [SX128x] fix for improper GFSK syncword setting with length other than 5 bytes (#1446) (by @lyusupov)
- [LoRaWAN] Fix for CN470 (formerly CN500) (by @StevenCellist)
- [Si443x] Fix CRC error IRQ (#1430)
- [Si443x] Add CRC configuration (#1430)
- [CC1101] Fix variable packet length with address enabled (#1483) (by @jcrespoc)
- [LR11x0] Accept bootloader as valid device ID (#1487)
- [SX127x] Fix register check when switching modems (#1496)
- [LoRaWAN] Improve window timing accuracy (#1491) (by @StevenCellist)
- [LoRaWAN] Handle bad block of LinkADRReq (#1497) (by @StevenCellist)
- [LoRaWAN] Simplify FCnt rollover (by @StevenCellist)
- [LoRaWAN] Fix Arduino sendReceive not setting downlink string
- [LoRaWAN] Fix Reset and Rekey MAC commands (by @StevenCellist)
- [SX127x] Add emulated Rx single mode (#1496)
- [HAL] Make RPi Pico tone helpers static
- [LoRaWAN] Implement Class C (including multicast) (#1504) (by @StevenCellist)
- [LoRaWAN] Add Class C and Multicast examples (by @StevenCellist)
- [LoRaWAN] Self-certified! (Class A, dynamic channelplan) (by @StevenCellist)
- Add new LoRaWAN examples to the LoRaWAN README (by @StevenCellist)
- [SX126x] Optimize CAD for improved detection rate and SF5/SF6 (by @christianh104)
- [LR11X0] Add support for specifying PA ramp time (by @Dazza0)
- [SX126x] Fixed packet offset in implicit header mode (#1520)
- [LoRaWAN] Provide support for TSxxx packages (including TS009 reference implementation) (#1528) (by @StevenCellist)
- [LoRaWAN] Bump nonces buffer version (by @StevenCellist)
What's Changed
- [CC1101]Add sleep function by @weekroom in #1389
- [LR11x0] Skip frequency range verification by @Genaker in #1388
- fix implicit conversion from float to double warnings by @MatejFranceskin in #1387
- add chip revision number for Semtech SX123xH by @lyusupov in #1397
- [PHY] Staged modes by @jgromes in #1414
- a fix for build with Arduino Core over Zephyr OS for Nano 33 BLE and Portenta H7 targets by @lyusupov in #1416
- [LoRaWAN] Add methods to allow user-provided sleep function by @jgromes in #1410
- [CI] Measure code coverage after unit test by @jgromes in #1417
- [CC1101] FIFO Refills to transmit packets up to 255 bytes by @Crsarmv7l in #1404
- Increase timeout while waiting for MARC state to be ready to transmit by @Crsarmv7l in #1429
- [MOD] Add debug timestamps by @jgromes in #1440
- [SX128x] add support for GFSK fixed packet length mode by @lyusupov in #1441
- [SX128x] fix for invalid GFSK sync words order by @lyusupov in #1444
- [RF69] a fix for invalid sync word length setting by @lyusupov in #1448
- [SX128x] fix for improper GFSK syncword setting with length other than 5 bytes by @lyusupov in #1446
- Fix for CN470 (formerly CN500) (#1447) by @StevenCellist in #1450
- [RF69] further fix for sync word length by @lyusupov in #1452
- add few RADIOLIB_EXCLUDE_XXXX options missing by @lyusupov in #1474
- fix for #1482 by @jcrespoc in #1483
- [SX127x] Add emulated Rx single mode (#1496) by @jgromes in #1515
- [HAL] Rpi pico hal fix by @jgromes in #1516
- [LoRaWAN] Implement Class C (including multicast) by @StevenCellist in #1504
- Fix RFM typo in README by @ToshikSoni in #1523
- Optimize default CAD parameters by @christianh104 in #1527
- [LR11X0] Add support for specifying PA ramp time by @Dazza0 in #1529
- [LoRaWAN] Provide support for TSxxx packages (including TS009 reference implementation) by @StevenCellist in #1528
New Contributors
- @weekroom made their first contribution in #1389
- @MatejFranceskin made their first contribution in #1387
- @jcrespoc made their first contribution in #1483
- @ToshikSoni made their first contribution in #1523
- @christianh104 made their first contribution in #1527
- @Dazza0 made their first contribution in #1529
Full Changelog: 7.1.2...7.2.0