Comments (7)
FYI @mlnx
from mbed-client-c.
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.
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.
ARM Internal Ref: IOTCLT-729
from mbed-client-c.
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.
mbed client blockwise do not work
from mbed-client-c.
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)
- stuck in while loop HOT 5
- Link in mbed-coap.lib does not exists HOT 4
- sn_grs.c interface unused param with wrong description HOT 2
- Error in passing external memory block to application HOT 3
- obs not compatible with Leshan HOT 2
- Use updated module version definitions HOT 2
- Allow for config of SN_COAP_DUPLICATION_MAX_MSGS_COUNT using yotta config HOT 9
- mbed-client-c porting HOT 12
- mbed client blockwise do not work HOT 3
- Message ID duplication not detected HOT 14
- Feature request: Multicast message resend to improve reliability HOT 3
- CoAP block transfer invalid payload bytes HOT 8
- Random CoAP message ID HOT 12
- module not able to build with armcc 5.06 HOT 4
- Confirmable messages sending HOT 4
- Enhanced 'alloc' and 'free' function HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mbed-client-c.