models.3321.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>Altitude</Name> <Description1>This IPSO object should be used with an altitude sensor to report altitude above sea level in meters. Note that Altitude can be calculated from the measured pressure given the local sea level pressure. It also provides resources for minimum and maximum measured values, as well as the minimum and maximum range that can be measured by the sensor. An example measurement unit is meters (ucum: m). </Description1> <ObjectID>3321</ObjectID> <ObjectURN>urn:oma:lwm2m:ext:3321</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="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="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="5605"> <Name>Reset Min and Max Measured Values</Name> <Operations>E</Operations> <MultipleInstances>Single</MultipleInstances> <Mandatory>Optional</Mandatory> <Type></Type> <RangeEnumeration></RangeEnumeration> <Units></Units> <Description>Reset the Min and Max Measured Values to Current Value</Description> </Item> <Item ID="5821"> <Name>Current Calibration</Name> <Operations>RW</Operations> <MultipleInstances>Single</MultipleInstances> <Mandatory>Optional</Mandatory> <Type>String</Type> <RangeEnumeration></RangeEnumeration> <Units></Units> <Description>Read or Write the current calibration coefficient</Description> </Item> <Item ID="5750"> <Name>Application Type</Name> <Operations>RW</Operations> <MultipleInstances>Single</MultipleInstances> <Mandatory>Optional</Mandatory> <Type>String</Type> <RangeEnumeration></RangeEnumeration> <Units></Units> <Description>The application type of the sensor or actuator as a string depending on the use case</Description> </Item> </Resources> <Description2></Description2> </Object> </LWM2M>