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

Remove default support of OLD TLV and JSON code #720

Merged
merged 3 commits into from Aug 9, 2019
Merged

Conversation

sbernard31
Copy link
Contributor

Leshan support old TLV and JSON code. This old code was used by the past because official code was not yet declared to iana.

The LWM2M specification is out since a February 2017 and old code should not be used anymore.
So this PR deactivate the support of those codes be default, but this is still possible to activate it like this :

LeshanServerBuilder builder = new LeshanServerBuilder();
builder.setEncoder(new DefaultLwM2mNodeEncoder(true));

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

Successfully merging this pull request may close these issues.

None yet

2 participants