leshan
leshan copied to clipboard
Add Firmware Update to server-demo and leshan-demo
It could be nice to add an easy way to test Firmware Update to leshan-server-demo
and leshan-client-demo
.
We have a work in progress about that in the fwupdate branch.
@sbernard31 Do you have the latest version of firmware upgrade demo?
The branch pointed above is our most recent work on firmware update demo.
@sbernard31 ok,thanks
What's the latest status of this?
There seems no fwupdate branch anymore. If this demo server supports fwupdate on its UI by default, it would make our lives easier, taking care of only client side running on microcontrollers.
Any info would be really apprecaited!!
There seems no fwupdate branch anymore.
Ups this was a mistake ! Thx to reporting that :pray: ! I will try to re-push this branch. (I let you know when it's done)
What's the latest status of this?
No activity on this work since 2016. AFAIK, there is nothing plan at short term to integrate this in master branch. We're currently focusing on deliver the 1.0.0 and so mainly focus on the library itself.
This feature is part of the demo component and seems less essential. This explain there is less activity on it.
But I could find time to review PR eventually.
@ehirdoy the branch should be back now.
Some clarification about Firmware Update :
Firmware update process rely of generic LWM2M features.
This process is described at LWM2M-v1.1.1@core§E.6.1 Firmware Update State Machine.
Leshan (library and demo) supports this generic LWM2M features but does not provide automatic facility to manage this process, so :
- library users should code the process by their own.
- demo users could try to execute request manually using the UI.
- This very old fwupdate branch was a try to provide UI for an automatic process. This branch is based on
0.1.11-M8-SNAPSHOT
version of 2016 .. (really really old ...)
It is also strongly recommended to read : this wiki page.
If you read :point_up:, and choose to server the file using coap
or http
, note Leshan library or server-demo does not provide server to serve that files. So it's up to you to manage this. For coap
eventually you could be interested by demo-apps/cf-simplefile-server from Californium project.