You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
samples: cellular: nrf_cloud_rest_fota: Refactor sample to use conn_mgr
Removed JITP and included Zephyr's Connection Manager
Fixed SMP, it was not able to compile as BOOTUTIL library was missing.
Manually tested modem, app and fmfu FOTA on nRF9160 and nRF9151.
Also, tested SMP FOTA using nRF9160.
IRIS-5713
Signed-off-by: Pascal Hernandez <[email protected]>
Copy file name to clipboardExpand all lines: samples/cellular/nrf_cloud_rest_fota/README.rst
+32-30Lines changed: 32 additions & 30 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,9 @@ Cellular: nRF Cloud REST FOTA
7
7
:local:
8
8
:depth: 2
9
9
10
-
The REST FOTA sample demonstrates how to use the `nRF Cloud REST API`_ to perform Firmware Over-the-Air (FOTA) updates on your device.
10
+
The REST FOTA sample demonstrates how to use the `nRF Cloud REST API`_ to perform Firmware Over-the-Air (FOTA) updates over REST on your device.
11
+
This covers modem, application, and full modem FOTA updates (FMFU).
12
+
Also, with the nRF9160 DK, it supports SMP FOTA updates.
11
13
12
14
Requirements
13
15
************
@@ -18,13 +20,19 @@ The sample supports the following development kits:
18
20
19
21
.. include:: /includes/tfm.txt
20
22
21
-
The sample requires an `nRF Cloud`_ account and modem firmware v1.3.x or later for an nRF9160 DK, or modem firmware v2.x.x for the nRF91x1 DKs.
23
+
The sample requires an `nRF Cloud`_ account.
24
+
25
+
Your device must be onboarded to nRF Cloud.
26
+
If it is not, follow the instructions in `Device on-boarding <nrf_cloud_rest_fota_onboarding_>`_.
22
27
23
28
.. note::
24
-
Full modem FOTA requires development kit version 0.14.0 or higher if you are using an nRF9160 DK.
29
+
This sample requires modem firmware v1.3.x or later for an nRF9160 SiP and v2.0.0 or later for nRF91x1 SiPs.
25
30
26
31
.. include:: /includes/external_flash_nrf91.txt
27
32
33
+
.. note::
34
+
Full modem FOTA requires development kit version 0.14.0 or higher if you are using an nRF9160 DK.
35
+
28
36
Overview
29
37
********
30
38
@@ -40,14 +48,21 @@ Without a valid date and time, the modem cannot generate JWTs with an expiration
40
48
User interface
41
49
**************
42
50
43
-
If you want to perform an update check immediately, press the button configured by the Kconfig option :ref:`CONFIG_REST_FOTA_BUTTON_EVT_NUM <CONFIG_REST_FOTA_BUTTON_EVT_NUM>`.
51
+
Once the device is onboarded and connected, if you want to perform an update check immediately, press **Button 1**.
44
52
This will bypass the wait time specified by the :ref:`CONFIG_REST_FOTA_JOB_CHECK_RATE_MIN <CONFIG_REST_FOTA_JOB_CHECK_RATE_MIN>` option.
53
+
**Button 1** is configured by the :ref:`CONFIG_REST_FOTA_BUTTON_EVT_NUM <CONFIG_REST_FOTA_BUTTON_EVT_NUM>` option.
54
+
55
+
The configured LTE LED (**LED 1** by default, :ref:`CONFIG_REST_FOTA_LTE_LED_NUM <CONFIG_REST_FOTA_LTE_LED_NUM>`) is lit once an LTE connection is established.
56
+
57
+
.. _nrf_cloud_rest_fota_onboarding:
58
+
59
+
Onboarding your device to nRF Cloud
60
+
***********************************
45
61
46
-
If you have the option :ref:`CONFIG_REST_FOTA_DO_JITP <CONFIG_REST_FOTA_DO_JITP>` enabled and you press the button configured by the :ref:`CONFIG_REST_FOTA_BUTTON_EVT_NUM <CONFIG_REST_FOTA_BUTTON_EVT_NUM>` option when prompted at startup, it will request just-in-time provisioning (JITP) through REST with nRF Cloud.
47
-
This is useful when initially provisioning and associating a device on nRF Cloud.
62
+
You must onboard your device to nRF Cloud for this sample to function.
48
63
You only need to do this once for each device.
49
64
50
-
If you have enabled the :ref:`CONFIG_REST_FOTA_ENABLE_LED <CONFIG_REST_FOTA_ENABLE_LED>` option, an LED configured by the :ref:`CONFIG_REST_FOTA_LED_NUM <CONFIG_REST_FOTA_LED_NUM>` option indicates the state of the connection to the LTE network.
65
+
To onboard your device, install `nRF Cloud Utils`_ and follow the instructions in the README.
51
66
52
67
Configuration
53
68
*************
@@ -61,34 +76,19 @@ Check and configure the following configuration options for the sample:
0 commit comments