OpenMobileAlliance / OMA_LwM2M_for_Developers

OMA LightweightM2M public resources.
http://openmobilealliance.github.io/OMA_LwM2M_for_Developers/
Other
239 stars 52 forks source link

Documentation mismatch #174

Closed mhereu closed 7 years ago

mhereu commented 7 years ago

I was comparing two sources for LWM2M specs: OMA-TS-LightweightM2M-V1_0-20160407-C.pdf http://technical.openmobilealliance.org/tech/profiles/LWM2M_Firmware_Update-v1_0.xml

For Firmware object, resource State I found a mismatch in the state values.

LWM2M_Firmware_Update-v1_0.xml I see:

<Item ID="3">
<Name>State</Name>
<Operations>R</Operations>
<MultipleInstances>Single</MultipleInstances>
<Mandatory>Mandatory</Mandatory>
<Type>Integer</Type>
<RangeEnumeration>1-3</RangeEnumeration>
<Units/>
<Description>
<![CDATA[
Indicates current state with respect to this firmware update. This value is set by the LWM2M Client.
 1: Idle (before downloading or after updating)
 2: Downloading (The data sequence is on the way)
 3: Downloaded If writing the firmware package to Package Resource is done, or, if the device has downloaded the firmware package from the Package URI the state changes to Downloaded. If writing an empty string to Package Resource is done or writing an empty string to Package URI is done, the state changes to Idle. If performing the Update Resource failed, the state remains at Downloaded. If performing the Update Resource was successful, the state changes from Downloaded to Idle.
]]>
</Description>
</Item>
hannestschofenig commented 7 years ago

With the publication of LwM2M v1.0 in February 2017 the specification as well as the object repository was updated.