Updated LoRa/LoRaWAN library and impacts on your source codes

With the Spring Launch Event comes as well an updated RAK4631 Arduino BSP and an updated LoRaWAN library (SX126x-Arduino library).
These updates will unfortunately break backward compatibility with existing software.
Changes:

  • The LoRaWAN library now supports all regions without re-compiling
  • The handling of LoRa transceiver interrupts and LoRa/LoRaWAN events is now done in the background, there is no more need to call Radio.IrqProcess() from the main loop() or from a separate task.
    Why:
    First goal was to make the LoRa/LoRaWAN handling independent from any time consuming actions, functions, calculations that might happen in your application.
    Second goal was to make the library more flexible regarding the international regional LoRaWAN specifications.

The updates are published, you will get notifications in Arduino IDE about the update in the next few days (after April 12th 2021).

Here you can find more details about the changes and how to handle them:

Update notes

And another important news:

And another change. As we will bring out more WisBlock Core modules with Arduino support, we were looking in an easier way to install the RAK module Arduino BSP.

Please read how our new Arduino BSP support is working:
RAKwireless-Arduino-BSP-Index

1 Like