Leshan client demo provides a sample random
temperature object at /3303. I wanted to create new instances
of this object and so changed only 1 line in
LeshanClientDemo.java(line
222) to
initializer.setClassForObject(OBJECT_ID_TEMPERATURE_SENSOR,
RandomTemperatureSensor.class);
Even with this change, I am unable to create new
instances of /3303 from Leshan Server UI. Every thing other
than new object creating works. Client continues to get
registered with server and server could read resources from
client. Kindly suggest if there any thing else, that needs
to be done to creating new instances of objects ?
My leshan server and client code is unchanged
from 1.0.0-M1 github tag with the above single line change.
Please note that none of /3303 are mandatory write resources
and so creation should have succeeded( unit test comment
).
Thanks,
Kiran.
_______________________________________________
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