LilyGo-LoRa-Series/lib/RadioLib/examples/LoRaWAN
2026-04-17 10:15:48 +08:00
..
LoRaWAN_ABP Update RadioLib 2026-04-17 10:15:48 +08:00
LoRaWAN_Class_C Update RadioLib 2026-04-17 10:15:48 +08:00
LoRaWAN_Multicast Update RadioLib 2026-04-17 10:15:48 +08:00
LoRaWAN_Reference Update RadioLib 2026-04-17 10:15:48 +08:00
LoRaWAN_Starter Update RadioLib 2026-04-17 10:15:48 +08:00
LoRaWAN_TS_Packages Update RadioLib 2026-04-17 10:15:48 +08:00
README.md Update RadioLib 2026-04-17 10:15:48 +08:00

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.