Skip to content

Update 7.2.0

Choose a tag to compare

@jgromes jgromes released this 21 Jun 19:36
· 105 commits to master since this release
a3a4b15

Backwards compatibility notice

This update of RadioLib changes the meaning of the following LoRaWAN errors:

  • -1112: previously RADIOLIB_ERR_N_FCNT_DOWN_INVALID, now RADIOLIB_ERR_MIC_MISMATCH. This error is returned instead of RADIOLIB_ERR_CRC_MISMATCH in case LoRaWAN message integrity code (MIC) check fails due to incorrect key or invalid frame counter
  • -1113: previously RADIOLIB_ERR_A_FCNT_DOWN_INVALID, now RADIOLIB_ERR_MULTICAST_FCNT_INVALID
  • -1115: RADIOLIB_ERR_CHECKSUM_MISMATCH is now returned instead of RADIOLIB_ERR_CRC_MISMATCH in 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

New Contributors

Full Changelog: 7.1.2...7.2.0