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

Add support of empty multi instance resource to SenML format #915

Closed
sbernard31 opened this issue Oct 26, 2020 · 1 comment · Fixed by #1116
Closed

Add support of empty multi instance resource to SenML format #915

sbernard31 opened this issue Oct 26, 2020 · 1 comment · Fixed by #1116
Labels
client Impact LWM2M client server Impact LWM2M server

Comments

@sbernard31
Copy link
Contributor

Wait clarification from OMA : OpenMobileAlliance/OMA_LwM2M_for_Developers#494

@sbernard31
Copy link
Contributor Author

sbernard31 commented Oct 19, 2021

As we don't succeed to get a clarification about that from the OMA, we decide to consider "empty payload" or "empty array" [ ] as empty multi instance resource for both SenML format.

So,

  • at de-serialization time we support both
  • at serialization time we encode in empty array.

Hope this will be understood in the same way by other implementation.

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

Successfully merging a pull request may close this issue.

1 participant