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

[3.3.3] correct sending lwm2m logs / device update improvements #5878

Merged
merged 2 commits into from
Jan 13, 2022

Conversation

YevhenBondarenko
Copy link
Contributor

@YevhenBondarenko YevhenBondarenko commented Jan 13, 2022

  • Condition if (response instanceof LwM2mResponse && !(response instanceof ReadResponse)) is incorrect because ObserveResponse extends ReadResponse and we cant send the ObserveResponse logs.

  • Condition if (md.getSessionInfo().getDeviceProfileIdMSB() != deviceProfileIdMSB && md.getSessionInfo().getDeviceProfileIdLSB() != deviceProfileIdLSB) is incorect because for example we have 2 different UUIDs: "ad1dbb20-6a1f-11ec-b273-15d4f8a71990" and "1bba1e10-6a21-11ec-b273-15d4f8a71990" but least significant bits are the same.

@ashvayka ashvayka merged commit d1053dd into thingsboard:master Jan 13, 2022
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.

2 participants