Skip to content

Commit d147461

Browse files
author
Sean Mcilroy
authored
Merge pull request #508 from OpenMobileAlliance/BoD_July_20
[Adming] BoD july 20
2 parents 47cc10e + 1f70dbd commit d147461

File tree

3 files changed

+664
-8
lines changed

3 files changed

+664
-8
lines changed

502.xml

Lines changed: 218 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,218 @@
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
3+
<!--
4+
FILE INFORMATION
5+
OMA Permanent Document
6+
File: OMA-SUP-XML_502-V1_0-20200717-A
7+
Type: xml
8+
Date: 2020-Jul-17
9+
Public Reachable Information
10+
Path: https://github.com/OpenMobileAlliance/lwm2m-registry
11+
Name: 502.xml
12+
NORMATIVE INFORMATION
13+
Send comments to https://github.com/OpenMobileAlliance/OMA_LwM2M_for_Developers/issues
14+
LEGAL DISCLAIMER
15+
Copyright 2020 Open Mobile Alliance.
16+
Redistribution and use in source and binary forms, with or without
17+
modification, are permitted provided that the following conditions
18+
are met:
19+
1. Redistributions of source code must retain the above copyright
20+
notice, this list of conditions and the following disclaimer.
21+
2. Redistributions in binary form must reproduce the above copyright
22+
notice, this list of conditions and the following disclaimer in the
23+
documentation and/or other materials provided with the distribution.
24+
3. Neither the name of the copyright holder nor the names of its
25+
contributors may be used to endorse or promote products derived
26+
from this software without specific prior written permission.
27+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
28+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
29+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
30+
FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
31+
COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
32+
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
33+
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
34+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
35+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
36+
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
37+
ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
38+
POSSIBILITY OF SUCH DAMAGE.
39+
The above license is used as a license under copyright only. Please
40+
reference the OMA IPR Policy for patent licensing terms:
41+
https://www.omaspecworks.org/about/intellectual-property-rights/
42+
-->
43+
44+
<LWM2M xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://openmobilealliance.org/tech/profiles/LWM2M-v1_1.xsd">
45+
<Object ObjectType="MODefinition">
46+
<Name>CO Detector</Name>
47+
<Description1><![CDATA[This is an alarm that should be raised if the sensor detects a higher than threshold CO level.]]></Description1>
48+
<ObjectID>502</ObjectID>
49+
<ObjectURN>urn:oma:lwm2m:oma:502</ObjectURN>
50+
<LWM2MVersion></LWM2MVersion>
51+
<ObjectVersion>1.0</ObjectVersion>
52+
<MultipleInstances>Multiple</MultipleInstances>
53+
<Mandatory>Optional</Mandatory>
54+
<Resources>
55+
<Item ID="0">
56+
<Name>CO Sensor Location Tag</Name>
57+
<Operations>RW</Operations>
58+
<MultipleInstances>Single</MultipleInstances>
59+
<Mandatory>Optional</Mandatory>
60+
<Type>String</Type>
61+
<RangeEnumeration></RangeEnumeration>
62+
<Units></Units>
63+
<Description><![CDATA[Verbose identification of the location of the CO sensor.]]></Description>
64+
</Item>
65+
<Item ID="1">
66+
<Name>CO Detected</Name>
67+
<Operations>R</Operations>
68+
<MultipleInstances>Single</MultipleInstances>
69+
<Mandatory>Mandatory</Mandatory>
70+
<Type>Boolean</Type>
71+
<RangeEnumeration></RangeEnumeration>
72+
<Units></Units>
73+
<Description><![CDATA[0 = false (CO NOT detected), 1 = true (CO Detected)]]></Description>
74+
</Item>
75+
<Item ID="2">
76+
<Name>Ambient CO Value</Name>
77+
<Operations>RW</Operations>
78+
<MultipleInstances>Single</MultipleInstances>
79+
<Mandatory>Optional</Mandatory>
80+
<Type>Float</Type>
81+
<RangeEnumeration>0..12800</RangeEnumeration>
82+
<Units>ppm</Units>
83+
<Description><![CDATA[CO value (in ppm) received for the area.]]></Description>
84+
</Item>
85+
<Item ID="3">
86+
<Name>CO Value</Name>
87+
<Operations>R</Operations>
88+
<MultipleInstances>Single</MultipleInstances>
89+
<Mandatory>Mandatory</Mandatory>
90+
<Type>Float</Type>
91+
<RangeEnumeration>0..12800</RangeEnumeration>
92+
<Units>ppm</Units>
93+
<Description><![CDATA[Last or Current Measured CO Value (in ppm) from the Sensor.]]></Description>
94+
</Item>
95+
<Item ID="4">
96+
<Name>Min CO Range Value</Name>
97+
<Operations>R</Operations>
98+
<MultipleInstances>Single</MultipleInstances>
99+
<Mandatory>Optional</Mandatory>
100+
<Type>Float</Type>
101+
<RangeEnumeration>0..12800</RangeEnumeration>
102+
<Units>ppm</Units>
103+
<Description><![CDATA[The minimum value that can be measured by the sensor (in ppm).]]></Description>
104+
</Item>
105+
<Item ID="5">
106+
<Name>Max CO Range Value</Name>
107+
<Operations>R</Operations>
108+
<MultipleInstances>Single</MultipleInstances>
109+
<Mandatory>Optional</Mandatory>
110+
<Type>Float</Type>
111+
<RangeEnumeration>0..12800</RangeEnumeration>
112+
<Units>ppm</Units>
113+
<Description><![CDATA[The maximum value that can be measured by the sensor.]]></Description>
114+
</Item>
115+
<Item ID="6">
116+
<Name>CO Detection Accuracy</Name>
117+
<Operations>R</Operations>
118+
<MultipleInstances>Single</MultipleInstances>
119+
<Mandatory>Optional</Mandatory>
120+
<Type>Float</Type>
121+
<RangeEnumeration>0..12800</RangeEnumeration>
122+
<Units>ppm</Units>
123+
<Description><![CDATA[Indicate range of the accuracy for the temperature Sensor.]]></Description>
124+
</Item>
125+
<Item ID="7">
126+
<Name>Minimum Measured CO Value</Name>
127+
<Operations>R</Operations>
128+
<MultipleInstances>Single</MultipleInstances>
129+
<Mandatory>Optional</Mandatory>
130+
<Type>Float</Type>
131+
<RangeEnumeration>0..12800</RangeEnumeration>
132+
<Units>ppm</Units>
133+
<Description><![CDATA[The minimum CO value (in ppm) measured by the sensor since power ON or reset.]]></Description>
134+
</Item>
135+
<Item ID="8">
136+
<Name>Maximum Measured CO Value</Name>
137+
<Operations>R</Operations>
138+
<MultipleInstances>Single</MultipleInstances>
139+
<Mandatory>Optional</Mandatory>
140+
<Type>Float</Type>
141+
<RangeEnumeration>0..12800</RangeEnumeration>
142+
<Units>ppm</Units>
143+
<Description><![CDATA[The maximum CO value measured (in ppm) by the sensor since power ON or reset]]></Description>
144+
</Item>
145+
<Item ID="9">
146+
<Name>Upper CO Threshold</Name>
147+
<Operations>RW</Operations>
148+
<MultipleInstances>Single</MultipleInstances>
149+
<Mandatory>Optional</Mandatory>
150+
<Type>Float</Type>
151+
<RangeEnumeration>0..12800</RangeEnumeration>
152+
<Units>ppm</Units>
153+
<Description><![CDATA[Indicate the Upper threshold for the CO Value (in ppm).]]></Description>
154+
</Item>
155+
<Item ID="10">
156+
<Name>Reset</Name>
157+
<Operations>E</Operations>
158+
<MultipleInstances>Single</MultipleInstances>
159+
<Mandatory>Optional</Mandatory>
160+
<Type></Type>
161+
<RangeEnumeration></RangeEnumeration>
162+
<Units></Units>
163+
<Description><![CDATA[Reset the "CO" object related parameters to default]]></Description>
164+
</Item>
165+
<Item ID="6048">
166+
<Name>Alarm loudness</Name>
167+
<Operations>R</Operations>
168+
<MultipleInstances>Single</MultipleInstances>
169+
<Mandatory>Optional</Mandatory>
170+
<Type>Float</Type>
171+
<RangeEnumeration></RangeEnumeration>
172+
<Units>dB</Units>
173+
<Description><![CDATA[Indicate the loudness of the alarm.]]></Description>
174+
</Item>
175+
<Item ID="5514">
176+
<Name>Latitude</Name>
177+
<Operations>R</Operations>
178+
<MultipleInstances>Single</MultipleInstances>
179+
<Mandatory>Optional</Mandatory>
180+
<Type>String</Type>
181+
<RangeEnumeration></RangeEnumeration>
182+
<Units></Units>
183+
<Description><![CDATA[The decimal notation of latitude, e.g. -43.5723 (World Geodetic System 1984).]]></Description>
184+
</Item>
185+
<Item ID="5515">
186+
<Name>Longitude</Name>
187+
<Operations>R</Operations>
188+
<MultipleInstances>Single</MultipleInstances>
189+
<Mandatory>Optional</Mandatory>
190+
<Type>String</Type>
191+
<RangeEnumeration></RangeEnumeration>
192+
<Units></Units>
193+
<Description><![CDATA[The decimal notation of longitude, e.g. 153.21760 (World Geodetic System 1984).]]></Description>
194+
</Item>
195+
<Item ID="6039">
196+
<Name>Altitude</Name>
197+
<Operations>R</Operations>
198+
<MultipleInstances>Single</MultipleInstances>
199+
<Mandatory>Optional</Mandatory>
200+
<Type>Float</Type>
201+
<RangeEnumeration></RangeEnumeration>
202+
<Units>m</Units>
203+
<Description><![CDATA[Altitude above sea level in meters.]]></Description>
204+
</Item>
205+
<Item ID="6044">
206+
<Name>Battery Percentage</Name>
207+
<Operations>R</Operations>
208+
<MultipleInstances>Single</MultipleInstances>
209+
<Mandatory>Optional</Mandatory>
210+
<Type>Float</Type>
211+
<RangeEnumeration>0.00..100.00</RangeEnumeration>
212+
<Units></Units>
213+
<Description><![CDATA[Current remaining battery level.]]></Description>
214+
</Item>
215+
</Resources>
216+
<Description2><![CDATA[]]></Description2>
217+
</Object>
218+
</LWM2M>

0 commit comments

Comments
 (0)