Skip to content
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

Support for sub-resource opaque. #24

Open
joakimeriksson opened this issue Dec 5, 2017 · 1 comment
Open

Support for sub-resource opaque. #24

joakimeriksson opened this issue Dec 5, 2017 · 1 comment

Comments

@joakimeriksson
Copy link

We need to support sub-resource opaques in the LWM2M engine. Suggested model is:

  • Added argument for the enter / exit sub-resources with a struct that defines the sub-resource type, and an array of lengths (and the length of the array) so that it is possible to predict the total overhead for the data and generate a correct TLV.
  • Export of opaque sub-resource TLV will be made by just exporting multiple opaques via the same opaque callback as used today. The Opaque callback will have to know when to export the next TLV.
@joakimeriksson
Copy link
Author

We should likely also make a support-function for this - that makes life easy for anyone who needs to do a multi-instance resource opaque (or string).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant