models.3303.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of leshan-server-demo Show documentation
Show all versions of leshan-server-demo Show documentation
A LWM2M demonstration server running an embedded Jetty server
<?xml version="1.0" encoding="utf-8"?> <LWM2M xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://openmobilealliance.org/tech/profiles/LWM2M.xsd"> <Object ObjectType="MODefinition"> <Name>Temperature</Name> <Description1>Description: This IPSO object should be used with a temperature sensor to report a temperature measurement. It also provides resources for minimum/maximum measured values and the minimum/maximum range that can be measured by the temperature sensor. An example measurement unit is degrees Celsius (ucum:Cel).</Description1> <ObjectID>3303</ObjectID> <ObjectURN>urn:oma:lwm2m:ext:3303</ObjectURN> <MultipleInstances>Multiple</MultipleInstances> <Mandatory>Optional</Mandatory> <Resources> <Item ID="5700"> <Name>Sensor Value</Name> <Operations>R</Operations> <MultipleInstances>Single</MultipleInstances> <Mandatory>Mandatory</Mandatory> <Type>Float</Type> <RangeEnumeration></RangeEnumeration> <Units>Defined by “Units” resource.</Units> <Description>Last or Current Measured Value from the Sensor</Description> </Item> <Item ID="5601"> <Name>Min Measured Value</Name> <Operations>R</Operations> <MultipleInstances>Single</MultipleInstances> <Mandatory>Optional</Mandatory> <Type>Float</Type> <RangeEnumeration></RangeEnumeration> <Units>Defined by “Units” resource.</Units> <Description>The minimum value measured by the sensor since power ON or reset</Description> </Item> <Item ID="5602"> <Name>Max Measured Value</Name> <Operations>R</Operations> <MultipleInstances>Single</MultipleInstances> <Mandatory>Optional</Mandatory> <Type>Float</Type> <RangeEnumeration></RangeEnumeration> <Units>Defined by “Units” resource.</Units> <Description>The maximum value measured by the sensor since power ON or reset</Description> </Item> <Item ID="5603"> <Name>Min Range Value</Name> <Operations>R</Operations> <MultipleInstances>Single</MultipleInstances> <Mandatory>Optional</Mandatory> <Type>Float</Type> <RangeEnumeration></RangeEnumeration> <Units>Defined by “Units” resource.</Units> <Description>The minimum value that can be measured by the sensor</Description> </Item> <Item ID="5604"> <Name>Max Range Value</Name> <Operations>R</Operations> <MultipleInstances>Single</MultipleInstances> <Mandatory>Optional</Mandatory> <Type>Float</Type> <RangeEnumeration></RangeEnumeration> <Units>Defined by “Units” resource.</Units> <Description>The maximum value that can be measured by the sensor</Description> </Item> <Item ID="5701"> <Name>Sensor Units</Name> <Operations>R</Operations> <MultipleInstances>Single</MultipleInstances> <Mandatory>Optional</Mandatory> <Type>String</Type> <RangeEnumeration></RangeEnumeration> <Units></Units> <Description>Measurement Units Definition e.g. “Cel” for Temperature in Celsius.</Description> </Item> <Item ID="5605"> <Name>Reset Min and Max Measured Values</Name> <Operations>E</Operations> <MultipleInstances>Single</MultipleInstances> <Mandatory>Optional</Mandatory> <Type>String</Type> <RangeEnumeration></RangeEnumeration> <Units></Units> <Description>Reset the Min and Max Measured Values to Current Value</Description> </Item> </Resources> <Description2></Description2> </Object> </LWM2M>