-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
net: lwm2m: Add support for blockwise GET and FETCH #61858
net: lwm2m: Add support for blockwise GET and FETCH #61858
Commits on Sep 21, 2023
-
net: lwm2m: Allow content formats to support only some data types
Partial content format support is required to have a proper support for content format OPAQUE instead of threading it as a part of plain text format. Signed-off-by: Seppo Takalo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ab97ae8 - Browse repository at this point
Copy the full SHA ab97ae8View commit details -
net: lwm2m: Separate opaque content format into its own
Opaque content format is not part of clear-text, so it should be separated into its own file. Signed-off-by: Seppo Takalo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ad5d752 - Browse repository at this point
Copy the full SHA ad5d752View commit details -
net: lwm2m: Only parse block1 option for WRITE operation
In reality, single-write is the only operation that handles BLOCK1 operations when receiving paylod. Signed-off-by: Seppo Takalo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2f94e5b - Browse repository at this point
Copy the full SHA 2f94e5bView commit details -
net: lwm2m: Remove unneeded function pointer parameter
lwm2m_udp_receive() is only called with same function pointer, so there no need to carry that in the parameter. Signed-off-by: Seppo Takalo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c6de7d6 - Browse repository at this point
Copy the full SHA c6de7d6View commit details -
net: lwm2m: Refactor blockwise SEND to support GET and FETCH
Allow blockwise-send buffers to be used with GET and FETCH queries as well. When outgoing packet is split into multiple blocks, don't free it when first block is send. Keep it in memory until some other requests come. Following queries to next block are matched using CoAP token. However, this required Leshan to use COAP.BLOCKWISE_REUSE_TOKEN=true option from Californium. Signed-off-by: Seppo Takalo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 994470f - Browse repository at this point
Copy the full SHA 994470fView commit details -
net: lwm2m: Fix composite read on SenML-CBOR
Composite read was incorrectly trying to parse CoAP packet instead of payload of the packet. Signed-off-by: Seppo Takalo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 847d85f - Browse repository at this point
Copy the full SHA 847d85fView commit details -
net: lwm2m: Append CoAP Etag to protect integrity of blockwise
To protect the integrity of outgoing block-wise transfers, append Etag option that allows client to see if the received block is generated from same content as it is expecting. Signed-off-by: Seppo Takalo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c496470 - Browse repository at this point
Copy the full SHA c496470View commit details -
net: lwm2m: Generate new tokens for LwM2M SEND blocks
Previously each piece of LwM2M SEND was using token length of zero. I think this was unintentional. Signed-off-by: Seppo Takalo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 42a30c5 - Browse repository at this point
Copy the full SHA 42a30c5View commit details