• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

boards/29-Dec-2025-61

src/29-Dec-2025-14884

sysbuild/29-Dec-2025-52

CMakeLists.txtD29-Dec-2025231 106

README.rstD29-Dec-20251.5 KiB4027

prj.confD29-Dec-2025772 3521

sample.yamlD29-Dec-2025741 2220

sysbuild.confD29-Dec-2025109 51

README.rst

1.. zephyr:code-sample:: lorawan-fuota
2   :name: LoRaWAN FUOTA
3   :relevant-api: lorawan_api
4
5   Perform a LoRaWAN firmware-upgrade over the air (FUOTA) operation.
6
7Overview
8********
9
10An application to demonstrate firmware-upgrade over the air (FUOTA) over LoRaWAN.
11
12The following services specified by the LoRa Alliance are used:
13
14- Application Layer Clock Synchronization (`TS003-2.0.0`_)
15- Remote Multicast Setup (`TS005-1.0.0`_)
16- Fragmented Data Block Transport (`TS004-1.0.0`_)
17
18The FUOTA process is started by the application and afterwards runs in the background in its own
19work queue thread. After a firmware upgrade is successfully received, the application is notified
20via a callback and can reboot the device into MCUboot to apply the upgrade.
21
22A LoRaWAN Application Server implementing the relevant services is required for this sample to work.
23
24.. _`TS003-2.0.0`: https://resources.lora-alliance.org/technical-specifications/ts003-2-0-0-application-layer-clock-synchronization
25.. _`TS005-1.0.0`: https://resources.lora-alliance.org/technical-specifications/lorawan-remote-multicast-setup-specification-v1-0-0
26.. _`TS004-1.0.0`: https://resources.lora-alliance.org/technical-specifications/lorawan-fragmented-data-block-transport-specification-v1-0-0
27
28Building and Running
29********************
30
31Before building the sample, make sure to select the correct region in the ``prj.conf`` file.
32
33The following commands build and flash the sample.
34
35.. zephyr-app-commands::
36   :zephyr-app: samples/subsys/lorawan/fuota
37   :board: nucleo_wl55jc
38   :goals: build flash
39   :compact:
40