Code Monkey home page Code Monkey logo

Comments (7)

markus-becker-tridonic-com avatar markus-becker-tridonic-com commented on August 16, 2024

FYI @mlnx

from mbed-client-c.

yogpan01 avatar yogpan01 commented on August 16, 2024

Hi, There is a need for providing possibility for application to provide their own memory blocks to handle this case. It is an extension feature that is planned to be implemented. We haven't yet figured out the complete details, if you have any suggestions that you would like to see , please share and we can take that into consideration.

from mbed-client-c.

markus-becker-tridonic-com avatar markus-becker-tridonic-com commented on August 16, 2024

I think the handle should have sn_coap_rx_callback_block_chunk() which if set should be called with information about the chunk number, size and payload (possibly also source port and address). The writing of the chunk to flash should block the transmission of further chunks.

Would be good if this could be combined with the LWM2M object for Firmware Update.

from mbed-client-c.

ciarmcom avatar ciarmcom commented on August 16, 2024

ARM Internal Ref: IOTCLT-729

from mbed-client-c.

yogpan01 avatar yogpan01 commented on August 16, 2024

Thanks for the suggestion. It makes sense to have an API on Firmware Update class to pass the callback function pointer, as well as add a new API on mbed-client-c to support this feature at both layers.

from mbed-client-c.

zhang405744522 avatar zhang405744522 commented on August 16, 2024

mbed client blockwise do not work

from mbed-client-c.

anttiylitokola avatar anttiylitokola commented on August 16, 2024

Feature is now available and documentation how it can be used can be found from mbed-client examples and documentation page.
https://docs.mbed.com/docs/mbed-client-guide/en/latest/Howto/#how-to-create-and-configure-resources-and-resource-instances "Setting an external handler for block-wise messages".

from mbed-client-c.

Related Issues (17)

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.