Skip to main content

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

Hi David,

Thank you for your prompt reply.  :)

I fixed my coding error and got correct response from leshan. But the test object seems to be leshan server problem.

Could you recommend any server besides leshan?

2016-02-15 22:19 GMT+08:00 Navarro, David <david.navarro@xxxxxxxxx>:

Hi,

 

You should ask on the leshan mailing list. The Read operation works on all other objects but Firmware Update. Thus it is not an issue with the JSON encoding or the content-type not matching.

 

Regards,

David Navarro

 

From: wakaama-dev-bounces@xxxxxxxxxxx [mailto:wakaama-dev-bounces@xxxxxxxxxxx] On Behalf Of Ricky Liu
Sent: Monday, 15 February, 2016 07:20
To: wakaama-dev@xxxxxxxxxxx
Subject: [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

---------------------------------------------------------------------
Intel Corporation SAS (French simplified joint stock company)
Registered headquarters: "Les Montalets"- 2, rue de Paris,
92196 Meudon Cedex, France
Registration Number:  302 456 199 R.C.S. NANTERRE
Capital: 4,572,000 Euros

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.


_______________________________________________
wakaama-dev mailing list
wakaama-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/wakaama-dev



--
RickyLiu

Back to the top