models.3338.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>Buzzer</Name> <Description1>This IPSO object should be used to actuate an audible alarm such as a buzzer, beeper, or vibration alarm. There is a dimmer control for setting the relative loudness of the alarm, and an optional duration control to limit the length of time the alarm sounds when turned on. Each time a “1” is written to the On/Off resource, the alarm will sound again for the configured duration. If no duration is programmed or the setting is zero, writing a “1” to the On/Off resource will result in the alarm sounding continuously until a “0” is written to the On/Off resource. </Description1> <ObjectID>3338</ObjectID> <ObjectURN>urn:oma:lwm2m:ext:3338</ObjectURN> <MultipleInstances>Multiple</MultipleInstances> <Mandatory>Optional</Mandatory> <Resources> <Item ID="5850"> <Name>On/Off</Name> <Operations>RW</Operations> <MultipleInstances>Single</MultipleInstances> <Mandatory>Mandatory</Mandatory> <Type>Boolean</Type> <RangeEnumeration></RangeEnumeration> <Units></Units> <Description>On/Off control, 0=OFF, 1=ON.</Description> </Item> <Item ID="5548"> <Name>Level</Name> <Operations>RW</Operations> <MultipleInstances>Single</MultipleInstances> <Mandatory>Optional</Mandatory> <Type>Float</Type> <RangeEnumeration>0-100</RangeEnumeration> <Units>%</Units> <Description>Audio volume control, float value between 0 and 100 as a percentage.</Description> </Item> <Item ID="5521"> <Name>Delay Duration</Name> <Operations>RW</Operations> <MultipleInstances>Single</MultipleInstances> <Mandatory>Optional</Mandatory> <Type>Float</Type> <RangeEnumeration></RangeEnumeration> <Units>s</Units> <Description>The duration of the time delay.</Description> </Item> <Item ID="5525"> <Name>Minimum Off-time</Name> <Operations>RW</Operations> <MultipleInstances>Single</MultipleInstances> <Mandatory>Mandatory</Mandatory> <Type>Float</Type> <RangeEnumeration></RangeEnumeration> <Units>s</Units> <Description>The off time when On/Off control remains on.</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>