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>
Indicates current state with respect to this
firmware update. This value is set by the
LWM2M Client.
0: Idle (before downloading or after
successful updating)
1: Downloading (The data sequence is on
the way)
2: Downloaded
3: Updating
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: