1) First of all, We don't really support object version. I mean we don't try to implement it.
But You could probably implement your own LwM2mModelProvider which support that. (using data in registration.getObjectLinks())
2 ) About, the syntax, you're right the specification is not clear about that. In Leshan when we serialize String attribute we add quotes, when we deserialize we support both.
Hi devs,
Regarding LwM2M with Leshan Server, and regarding OMA LwM2M release 1.0 document
I’m implementing the ver= in ‘register’ and ‘discover’ APIs as defined in OMA LwM2M release 1.0
As described in 6.2.3 of the document (example: ep=nodename,</1/0>,</1/1>,</3/0>,</44>;ver= “2.2”,</44/0>)
I have 3 questions:
1.
From what I tested, any version I put in register operation accepted (not rejected) by the Leshan Server. Is it OK?
2.
In the document I see 2 examples, one ver=”2.2” and one ver=1.9 : Do I need to add “” ?
a.
in 6.2.3: </44>;ver= “2.2”,
b.
in 5.2.7.3: </55>;ver=1.9,
3.
I didn’t see ‘discover’ option in the Leshan Server web UI: any other option? Working on it?
Thanks in advance.
Amir Kaplan
---------------------------------------------------------------------
A member of the Intel Corporation group of companies
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
_______________________________________________
leshan-dev mailing list
leshan-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/leshan-dev