Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[leshan-dev] Fwd: Leshan - problems writing resource with multiple instance



Hello,

I'm building an interface to enable an user to access a lwm2m device and read/write/execute its resources similarly to what the Leshan Server Demo provides.

I've been successful so far, and i can easily read/write/execute any resource properly, as long as it's not a Multiple Instance resource. In this case, i used LwM2mReource getValues() and got all the instances in the read method, although, when i try to write a map of values to the resource, i get an update successful message from the server, but the values where sent incorrectly. If i read the resource again, it'll have a single instance (even if it had several)  with key and value wrong.

I used OMA lwm2m DevKit extension for firefox, and tested the object "LWM2M Access Control" on resource ACL.

Thank you for the attention,


--
Bruno Andretto
Desenvolvedor de Software | DEV Tecnologia
www.devtecnologia.com.br
Cel: (+55 11) 99885 - 4071

Back to the top