2023-09-06 16:25:28 +08:00
|
|
|
.. zephyr:code-sample:: lorawan-class-a
|
|
|
|
:name: LoRaWAN class A device
|
|
|
|
:relevant-api: lorawan_api
|
2022-10-25 00:26:18 +08:00
|
|
|
|
2023-09-06 16:25:28 +08:00
|
|
|
Join a LoRaWAN network and send a message periodically.
|
2022-10-25 00:26:18 +08:00
|
|
|
|
|
|
|
Overview
|
|
|
|
********
|
|
|
|
|
2023-09-06 16:25:28 +08:00
|
|
|
A simple application to demonstrate the :ref:`LoRaWAN subsystem <lorawan_api>` of Zephyr.
|
2022-10-25 00:26:18 +08:00
|
|
|
|
|
|
|
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:
|