jvermillard / leshan

OMA Lightweight M2M java implementation - LWM2M
40 stars 25 forks source link

Reading individual resources assumes text/plain #27

Closed cburger-scheidlin closed 10 years ago

cburger-scheidlin commented 10 years ago

I have a device that responds to reading individual resources with a TLV encoded payload. This is not displayed correctly on the leshan web ui. Instead of showing just the value, the web ui seems to serialize the entire TLV entry (e.g. '[{"id":1, "type":"RESOURCE_VALUE","value":"Test Client"}]' instead of just 'Test Client')

sbernard31 commented 10 years ago

It should be fixed now (commit : a627a7b0383573a4377290882deef6fcb08fc553) Could you test it on http://54.228.25.31/ and tell us if it's ok ?

cburger-scheidlin commented 10 years ago

I don't have access to the device right now. I will test tomorrow and provide feedback.

cburger-scheidlin commented 10 years ago

Works correctly against 54.228.25.31