Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[wakaama-dev] test object can't be read from leshan server

Hi,

I try to read test object resource in the client demo code form leshan server (http://leshan.eclipse.org/) but get this error:
"Unable to read instance /1024/10 for testlwm2mclient : 400 Value does not match the given datatype"

I also try to write custom object to read a string.  It works on wakaama server but get error from leshan.eclipse.org
"400 The validated object is null"

Anything wrong with wakaama or leshan?  or did I miss any config?

Thanks.

PS:  If I use wakaama server, /1024/10 can be read by wakaama server.
Client #0 1024/10 : 2.05 (COAP_205_CONTENT)
    42 bytes received of type application/vnd.oma.lwm2m+json:
    {"e":[{"n":"1","v":20},{"n":"3","v":-30}]}


--
RickyLiu

Back to the top