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

How to implement write Attributes in BaseObjectEnabler? #1450

Closed
Warmek opened this issue May 26, 2023 · 1 comment
Closed

How to implement write Attributes in BaseObjectEnabler? #1450

Warmek opened this issue May 26, 2023 · 1 comment
Labels
question Any question about leshan

Comments

@Warmek
Copy link
Contributor

Warmek commented May 26, 2023

Question

In BaseObjectEnabler.java on line 374 there is a comment, saying that the method should be implemented there, but from what I gathered, to implement this method there has to be Collection of instances, similarly to how it is done here. What sould be done in this situation?

@Warmek Warmek added the question Any question about leshan label May 26, 2023
@sbernard31
Copy link
Contributor

BaseObjectEnabler implements LwM2mObjectEnabler which have a getAvailableInstanceIds() methods, should it help ?

By the way, are you trying to implement write attribute support at client side ?
If yes, you should maybe first try to handle the more challenging part first ? (see #534 (comment))

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

No branches or pull requests

2 participants