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 of "epmin" and "epmax" attributes #1026

Closed
ashvayka opened this issue Jun 9, 2021 · 3 comments
Closed

Support of "epmin" and "epmax" attributes #1026

ashvayka opened this issue Jun 9, 2021 · 3 comments
Labels
new feature New feature from LWM2M specification server Impact LWM2M server

Comments

@ashvayka
Copy link

ashvayka commented Jun 9, 2021

Greetings!

It looks like the current version in the main branch (M4) does not support "epmin" and "epmax" attributes. See Attribute.java and specification (see 5.1.2).

From the specs: "The Minimum Evaluation Period Attribute indicates the minimum time in seconds the LwM2M Client MUST wait between two evaluations of reporting criteria. In the absence of this parameter, the Evaluation Minimum Period is not defined."

Do I miss something or this is a valid issue? If this is valid, we will be happy to contribute to this improvement.

@sbernard31
Copy link
Contributor

Do I miss something or this is a valid issue?

Correct, this is currently not implemented.

If this is valid, we will be happy to contribute to this improvement.

You're welcome 🙂
(Maybe take a look at https://github.com/eclipse/leshan/wiki/How-to-contribute before especially the legal part)

Some more information :

  • Just to let you know currently Write-attribute are not supported at Leshan client side.
  • When you refer the LWM2M specification you can use the HTML version this way with anchor you can link directly to the paragraph like : v1.1-core§Table: 5.1.2.-2 class Attributes

@sbernard31 sbernard31 added new feature New feature from LWM2M specification server Impact LWM2M server labels Jun 9, 2021
@ashvayka
Copy link
Author

Thank you! I have noticed Wakama sample client behave strangely when I try to configure it to report a battery level that is greater than 0. It simply stops sending updates. I will try to investigate this as well, but can't provide the exact timeframe for the contribution.

@sbernard31
Copy link
Contributor

Implemented by #1029, integrated now in master.

Thx a lot guys 🙏 !

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

No branches or pull requests

2 participants