Skip to content

Commit 4d8ca18

Browse files
SeppoTakalorlubos
authored andcommitted
doc: lwm2m_client: Fix the Leshan FOTA process
Documentation for Firmware Update using Leshan is just copy-pasted from Coiote and therefore it is wrong. Fix the documentation to reflect Leshan Demo UI. Signed-off-by: Seppo Takalo <[email protected]>
1 parent 0e0da95 commit 4d8ca18

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

samples/cellular/lwm2m_client/sample_description.rst

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -808,18 +808,15 @@ To update the firmware, complete the following steps:
808808
.. group-tab:: Leshan Firmware update
809809

810810
1. Identify the firmware image file to be uploaded to the device. See :ref:`lte_modem` and :ref:`nrf91_fota` for more information.
811-
#. Open `Coiote Device Management server`_ and click :guilabel:`LwM2M firmware`.
812-
#. Click :guilabel:`Schedule new firmware upgrade`.
813-
#. Click :guilabel:`Upload file` in the bottom left corner and upload the firmware image file.
814-
#. Configure the necessary firmware update settings in the menu to the right.
815-
#. Click :guilabel:`Upgrade`.
811+
#. Open `Leshan Demo Server`_ and select :guilabel:`Firmware Update` from the left.
812+
#. Click :guilabel:`OBS` to observe the firmware update object.
813+
#. Upload the firmware image onto the :guilabel:`Package 5/0/0` resource or write the URL to the :guilabel:`Package URI 5/0/1` resource.
816814
#. Observe in the terminal window that the image file is being downloaded.
817815
The download will take some time.
818-
If you do not increase the server lifetime, the Coiote server might drop the connection to the device.
819-
The device reconnects later.
820-
#. When the download is complete, the device restarts on its own after installing the firmware.
821-
Restart the device manually if it has not started automatically.
822-
The device runs the updated firmware and reconnects to Coiote Device Management server automatically.
816+
#. If the observation was successful, you should see that the :guilabel:`State 5/0/3` resource changed to `1`, which means the download is in progress.
817+
#. When the download has completed, you should see that the :guilabel:`State 5/0/3` resource changed to `2`, which means the download is complete.
818+
#. Click the :guilabel:`Update 5/0/2` resource to start the update process.
819+
#. The firmware of the device now updates and the device reconnects or reboots when the update is complete.
823820

824821

825822
Dependencies

0 commit comments

Comments
 (0)