This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

LoRaWAN class A device

Overview

A simple application to demonstrate the LoRaWAN subsystem of Zephyr.

Building and Running

This sample can be found under samples/subsys/lorawan/class_a in the Zephyr tree.

Before building the sample, make sure to select the correct region in the prj.conf file.

The following commands build and flash the sample.

west build -b nucleo_wl55jc samples/subsys/lorawan/class_a
west flash

Extended Configuration

This sample can be configured to run the application-layer clock synchronization service and/or the remote multicast setup service in the background.

The following commands build and flash the sample with clock synchronization enabled.

west build -b nucleo_wl55jc samples/subsys/lorawan/class_a -- -DEXTRA_CONF_FILE=overlay-clock-sync.conf
west flash

The following commands build and flash the sample with remote multicast setup enabled.

west build -b nucleo_wl55jc samples/subsys/lorawan/class_a -- -DEXTRA_CONF_FILE=overlay-multicast.conf
west flash