zephyr/samples/subsys/lorawan/class_a
Martin Jäger 60c58fe918 samples: subsys: lorawan: class_a: add multicast support
This is mainly to make sure that the multicast code is built in CI.

Signed-off-by: Martin Jäger <martin@libre.solar>
2024-01-30 14:14:05 +00:00
..
src lorawan: Set dev_nonce to 0 during join_cfg initialization 2023-09-26 08:38:05 +02:00
CMakeLists.txt
overlay-clock-sync.conf samples: subsys: lorawan: class_a: add clock sync option 2023-01-23 10:05:49 +00:00
overlay-multicast.conf samples: subsys: lorawan: class_a: add multicast support 2024-01-30 14:14:05 +00:00
prj.conf lora: compile drivers based on devicetree 2023-03-31 09:20:22 +02:00
README.rst samples: subsys: lorawan: class_a: add multicast support 2024-01-30 14:14:05 +00:00
sample.yaml samples: subsys: lorawan: class_a: add multicast support 2024-01-30 14:14:05 +00:00

.. zephyr:code-sample:: lorawan-class-a
   :name: LoRaWAN class A device
   :relevant-api: lorawan_api

   Join a LoRaWAN network and send a message periodically.

Overview
********

A simple application to demonstrate the :ref:`LoRaWAN subsystem <lorawan_api>` of Zephyr.

Building and Running
********************

This sample can be found under
:zephyr_file:`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.

.. zephyr-app-commands::
   :zephyr-app: samples/subsys/lorawan/class_a
   :board: nucleo_wl55jc
   :goals: build flash
   :compact:

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.

.. zephyr-app-commands::
   :zephyr-app: samples/subsys/lorawan/class_a
   :board: nucleo_wl55jc
   :goals: build flash
   :gen-args: -DEXTRA_CONF_FILE=overlay-clock-sync.conf
   :compact:

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

.. zephyr-app-commands::
   :zephyr-app: samples/subsys/lorawan/class_a
   :board: nucleo_wl55jc
   :goals: build flash
   :gen-args: -DEXTRA_CONF_FILE=overlay-multicast.conf
   :compact: