RadioLib/examples/LoRaWAN
StevenCellist f2fbd73044
[LoRaWAN] Provide support for TSxxx packages (including TS009 reference implementation) (#1528)
* [LoRaWAN] Fix for incorrect use of dutycycle function

* [LoRaWAN] Implement TSxxx package support

And fix an MIC problem for >16-bit downlink FCnt

* Revert unused error code

* [LoRaWAN] Add TS009 example

* [LoRaWAN] Comment a platform dependency in TS009 header

* [LoRaWAN] Make TSxxx example platform independent

* [LoRaWAN] Remove unused variable

* [LoRaWAN] Remove printf from example

* [LoRaWAN] Fix scope of variables

* [LoRaWAN] Remove printf from example

* [LoRaWAN] Fix cppcheck issue

* [LoRaWAN] Feedback improvements
2025-06-21 15:48:30 +02:00
..
LoRaWAN_ABP [LoRaWAN] Implement Class C (including multicast) (#1504) 2025-05-29 21:08:24 +02:00
LoRaWAN_Class_C [LoRaWAN] Fix variable redefinition 2025-06-01 10:06:25 +02:00
LoRaWAN_Multicast [LoRaWAN] Fix variable redefinition 2025-06-01 10:06:25 +02:00
LoRaWAN_Reference [LoRaWAN] Implement Class C (including multicast) (#1504) 2025-05-29 21:08:24 +02:00
LoRaWAN_Starter [LoRaWAN] Implement Class C (including multicast) (#1504) 2025-05-29 21:08:24 +02:00
LoRaWAN_TS_Packages [LoRaWAN] Provide support for TSxxx packages (including TS009 reference implementation) (#1528) 2025-06-21 15:48:30 +02:00
README.md Add new LoRaWAN examples to the LoRaWAN README 2025-06-16 10:56:38 +02:00

README.md

LoRaWAN examples

RadioLib LoRaWAN examples.

  • LoRaWAN_Starter: this is the recommended entry point for new users. Please read the notes that come with this example to learn more about LoRaWAN and how to use it in RadioLib!
  • LoRaWAN_Reference: this sketch showcases most of the available API for LoRaWAN in RadioLib. Be frightened by the possibilities! It is recommended you have read all the notes for the Starter sketch first, as well as the Learn section on The Things Network!
  • LoRaWAN_ABP: if you wish to use ABP instead of OTAA, this example shows how you can do this using RadioLib. However, to comply with the specification, the full session must persist through resets and power loss - you would need proper NVM for this. Really, we recommend using OTAA.
  • LoRaWAN_Class_C: this shows how to use Class C on top of Class A. This is useful for continuously-powered devices (no batteries) such as lights. If you deploy multiple similar devices, please use Multicast instead.
  • LoRaWAN_Multicast: a showcase of Multicast over Class C. This is particularly useful for groups of devices such as a series of street lights.

[!CAUTION] These examples are quick wins during development. However, for production devices, you will need to add persistence to your device. See the wiki for more details, or head straight to some persistence examples.

[!TIP] Refer to the Wiki for guides and information, for example on LoRaWAN versions, registering your device and more.