-
Notifications
You must be signed in to change notification settings - Fork 408
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 add a object to client? #570
Comments
Each Object is described by a model. This model should be described in a ddf format defined by OMA (.xml). If you are using leshan-client-demo, it does not support object 19. If you are coding your own client using leshan your need to get the xml file (available following the link above), load this model and implement the corresponding object. To load the code you can use // Load the default model defined in the core specification 1.0
List<ObjectModel> models = ObjectLoader.loadDefault(); specification.
// Load the object 19 model
models.addAll(ObjectLoader.load...); Then use
|
@bujingyun8 could we close this issue ? |
I added more information about that in the F.A.Q. I think we can close this issue. |
I want to add the object 19 to my demo client ,but cann't add successfully.Is there a xml file for leshan?
The text was updated successfully, but these errors were encountered: