| .. | ||
| LoRaWAN_ABP | ||
| LoRaWAN_Class_C | ||
| LoRaWAN_Multicast | ||
| LoRaWAN_Reference | ||
| LoRaWAN_Starter | ||
| LoRaWAN_TS_Packages | ||
| README.md | ||
LoRaWAN examples
RadioLib LoRaWAN examples.
- LoRaWAN_Starter: this is the recommended entry point for new users. Please read the
notesthat 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
notesfor 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.