Code Monkey home page Code Monkey logo

Comments (2)

hannestschofenig avatar hannestschofenig commented on June 16, 2024

The Firmware Update Object should be seen as a delivery mechanism. We agree that having multiple instances of this Object would be nice. This was overlooked when creating the Object for LwM2M 1.0. For your particular use case, the package could contain indication on the recipient of the update. Please have a look at the SUIT manifest https://datatracker.ietf.org/doc/draft-ietf-suit-manifest/.

from lwm2m-registry.

SeppoTakalo avatar SeppoTakalo commented on June 16, 2024

Hi @hannestschofenig and thank you for your answer.

It is true that delivered package could contain metadata required to identify which target it is meant for. However, in my opinion, this feels a bit hacky for two reasons. Firstly, the firmware object exposes version string, but if you can deliver multiple images, which version this is, or should it be a combined string of all version numbers? Secondly, usually manufacturer or the update software already dictates the binary format, and might already contain verification of correct image. Feels unnecessary to pack signed image to another package which then should be processed and unpacked on limited resource device. Sometimes the components that we could update, have nothing in common. For example MCUboot could be used for application image, so it dictates which verification and signing is used for application. Then modem manufacturer have their own binary format and own signing mechanism, which it verifies.

For those two reasons, I would strongly prefer the simplicity of firmware object allowing me to transfer binaries in native format and if multiple instances would be allowed I could expose versions of each components as well.

I'm sorry I'm not aware of correct process, but what would it take to propose a change that Firmware Update object would be marked as multiple instance? Am I right on assuming that object definitions can be updated without touching the LwM2M specification?

from lwm2m-registry.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.