Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [leshan-dev] Integer resource with no value

Thanks Julien,

Filed there as issue 25.

Leshan also throws an error if it gets a Multiple Resource with no Resource Instances (i.e. an empty array). It's a similar situation I guess.

Regards,
Bill

On 14/02/15 01:04, Julien Vermillard wrote:
Hi Bill,
I tried to check in the spec, but it's really not helping :(
For getting a single optional resource not present (eg. /7/0/2), I think 404 is right. For a TLV format when reading whole object instance, I think you should omit the TLV for the corresponding resource.

Anyway I think you should fill an issue here: https://github.com/OpenMobileAlliance/OMA-LwM2M-Public-Review/issues




Back to the top