Skip to content

Commit 1777948

Browse files
authored
ipso objects
1 parent 560d631 commit 1777948

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+5219
-0
lines changed

3200.xml

+108
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
3+
<!-- MIT License
4+
5+
Copyright (c) 2018 IPSO.
6+
7+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
8+
9+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
10+
11+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -->
12+
13+
<LWM2M xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://openmobilealliance.org/tech/profiles/LWM2M.xsd">
14+
15+
<Object ObjectType="MODefinition">
16+
<Name>Digital Input</Name>
17+
<Description1>Generic digital input for non-specific sensors</Description1>
18+
<ObjectID>3200</ObjectID>
19+
<ObjectURN>urn:oma:lwm2m:ext:3200</ObjectURN>
20+
<LWM2MVersion>1.0</LWM2MVersion>
21+
<ObjectVersion>1.0</ObjectVersion>
22+
<MultipleInstances>Multiple</MultipleInstances>
23+
<Mandatory>Optional</Mandatory>
24+
<Resources>
25+
<Item ID="5500">
26+
<Name>Digital Input State</Name>
27+
<Operations>R</Operations>
28+
<MultipleInstances>Single</MultipleInstances>
29+
<Mandatory>Mandatory</Mandatory>
30+
<Type>Boolean</Type>
31+
<RangeEnumeration></RangeEnumeration>
32+
<Units></Units>
33+
<Description>The current state of a digital input.</Description>
34+
</Item>
35+
<Item ID="5501">
36+
<Name>Digital Input Counter</Name>
37+
<Operations>R</Operations>
38+
<MultipleInstances>Single</MultipleInstances>
39+
<Mandatory>Optional</Mandatory>
40+
<Type>Integer</Type>
41+
<RangeEnumeration></RangeEnumeration>
42+
<Units></Units>
43+
<Description>The cumulative value of active state detected.</Description>
44+
</Item>
45+
<Item ID="5502">
46+
<Name>Digital Input Polarity</Name>
47+
<Operations>RW</Operations>
48+
<MultipleInstances>Single</MultipleInstances>
49+
<Mandatory>Optional</Mandatory>
50+
<Type>Boolean</Type>
51+
<RangeEnumeration></RangeEnumeration>
52+
<Units></Units>
53+
<Description>The polarity of the digital input as a Boolean (0 = Normal, 1= Reversed)</Description>
54+
</Item>
55+
<Item ID="5503">
56+
<Name>Digital Input Debounce</Name>
57+
<Operations>RW</Operations>
58+
<MultipleInstances>Single</MultipleInstances>
59+
<Mandatory>Optional</Mandatory>
60+
<Type>Integer</Type>
61+
<RangeEnumeration></RangeEnumeration>
62+
<Units>ms</Units>
63+
<Description>The debounce period in ms. .</Description>
64+
</Item>
65+
<Item ID="5504">
66+
<Name>Digital Input Edge Selection</Name>
67+
<Operations>RW</Operations>
68+
<MultipleInstances>Single</MultipleInstances>
69+
<Mandatory>Optional</Mandatory>
70+
<Type>Integer</Type>
71+
<RangeEnumeration>1-3</RangeEnumeration>
72+
<Units></Units>
73+
<Description>The edge selection as an integer (1 = Falling edge, 2 = Rising edge, 3 = Both Rising and Falling edge).</Description>
74+
</Item>
75+
<Item ID="5505">
76+
<Name>Digital Input Counter Reset</Name>
77+
<Operations>E</Operations>
78+
<MultipleInstances>Single</MultipleInstances>
79+
<Mandatory>Optional</Mandatory>
80+
<Type></Type>
81+
<RangeEnumeration></RangeEnumeration>
82+
<Units></Units>
83+
<Description>Reset the Counter value.</Description>
84+
</Item>
85+
<Item ID="5750">
86+
<Name>Application Type</Name>
87+
<Operations>RW</Operations>
88+
<MultipleInstances>Single</MultipleInstances>
89+
<Mandatory>Optional</Mandatory>
90+
<Type>String</Type>
91+
<RangeEnumeration></RangeEnumeration>
92+
<Units></Units>
93+
<Description>The application type of the sensor or actuator as a string, for instance, “Air Pressure”</Description>
94+
</Item>
95+
<Item ID="5751">
96+
<Name>Sensor Type</Name>
97+
<Operations>R</Operations>
98+
<MultipleInstances>Single</MultipleInstances>
99+
<Mandatory>Optional</Mandatory>
100+
<Type>String</Type>
101+
<RangeEnumeration></RangeEnumeration>
102+
<Units></Units>
103+
<Description>The type of the sensor (for instance PIR type)</Description>
104+
</Item>
105+
</Resources>
106+
<Description2></Description2>
107+
</Object>
108+
</LWM2M>

3201.xml

+57
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
3+
<!-- MIT License
4+
5+
Copyright (c) 2018 IPSO.
6+
7+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
8+
9+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
10+
11+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -->
12+
13+
<LWM2M xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://openmobilealliance.org/tech/profiles/LWM2M.xsd">
14+
<Object ObjectType="MODefinition">
15+
<Name>Digital Output</Name>
16+
<Description1>Generic digital output for non-specific actuators</Description1>
17+
<ObjectID>3201</ObjectID>
18+
<ObjectURN>urn:oma:lwm2m:ext:3201</ObjectURN>
19+
<LWM2MVersion>1.0</LWM2MVersion>
20+
<ObjectVersion>1.0</ObjectVersion>
21+
<MultipleInstances>Multiple</MultipleInstances>
22+
<Mandatory>Optional</Mandatory>
23+
<Resources>
24+
<Item ID="5550">
25+
<Name>Digital Output State</Name>
26+
<Operations>RW</Operations>
27+
<MultipleInstances>Single</MultipleInstances>
28+
<Mandatory>Mandatory</Mandatory>
29+
<Type>Boolean</Type>
30+
<RangeEnumeration></RangeEnumeration>
31+
<Units></Units>
32+
<Description>The current state of a digital output.</Description>
33+
</Item>
34+
<Item ID="5551">
35+
<Name>Digital Output Polarity</Name>
36+
<Operations>RW</Operations>
37+
<MultipleInstances>Single</MultipleInstances>
38+
<Mandatory>Optional</Mandatory>
39+
<Type>Boolean</Type>
40+
<RangeEnumeration></RangeEnumeration>
41+
<Units></Units>
42+
<Description>The polarity of a digital ouput as a Boolean (0 = Normal, 1= Reversed).</Description>
43+
</Item>
44+
<Item ID="5750">
45+
<Name>Application Type</Name>
46+
<Operations>RW</Operations>
47+
<MultipleInstances>Single</MultipleInstances>
48+
<Mandatory>Optional</Mandatory>
49+
<Type>String</Type>
50+
<RangeEnumeration></RangeEnumeration>
51+
<Units></Units>
52+
<Description>The application type of the output as a string, for instance, “LED”</Description>
53+
</Item>
54+
</Resources>
55+
<Description2></Description2>
56+
</Object>
57+
</LWM2M>

3202.xml

+107
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
3+
<!-- MIT License
4+
5+
Copyright (c) 2018 IPSO.
6+
7+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
8+
9+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
10+
11+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -->
12+
13+
<LWM2M xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://openmobilealliance.org/tech/profiles/LWM2M.xsd">
14+
<Object ObjectType="MODefinition">
15+
<Name>Analog Input</Name>
16+
<Description1>Generic analog input for non-specific sensors</Description1>
17+
<ObjectID>3202</ObjectID>
18+
<ObjectURN>urn:oma:lwm2m:ext:3202</ObjectURN>
19+
<LWM2MVersion>1.0</LWM2MVersion>
20+
<ObjectVersion>1.0</ObjectVersion>
21+
<MultipleInstances>Multiple</MultipleInstances>
22+
<Mandatory>Optional</Mandatory>
23+
<Resources>
24+
<Item ID="5600">
25+
<Name>Analog Input Current Value</Name>
26+
<Operations>R</Operations>
27+
<MultipleInstances>Single</MultipleInstances>
28+
<Mandatory>Mandatory</Mandatory>
29+
<Type>Float</Type>
30+
<RangeEnumeration></RangeEnumeration>
31+
<Units></Units>
32+
<Description>The current value of the analog input.</Description>
33+
</Item>
34+
<Item ID="5601">
35+
<Name>Min Measured Value</Name>
36+
<Operations>R</Operations>
37+
<MultipleInstances>Single</MultipleInstances>
38+
<Mandatory>Optional</Mandatory>
39+
<Type>Float</Type>
40+
<RangeEnumeration></RangeEnumeration>
41+
<Units></Units>
42+
<Description>The minimum value measured by the sensor since power ON or reset</Description>
43+
</Item>
44+
<Item ID="5602">
45+
<Name>Max Measured Value</Name>
46+
<Operations>R</Operations>
47+
<MultipleInstances>Single</MultipleInstances>
48+
<Mandatory>Optional</Mandatory>
49+
<Type>Float</Type>
50+
<RangeEnumeration></RangeEnumeration>
51+
<Units></Units>
52+
<Description>The maximum value measured by the sensor since power ON or reset</Description>
53+
</Item>
54+
<Item ID="5603">
55+
<Name>Min Range Value</Name>
56+
<Operations>R</Operations>
57+
<MultipleInstances>Single</MultipleInstances>
58+
<Mandatory>Optional</Mandatory>
59+
<Type>Float</Type>
60+
<RangeEnumeration></RangeEnumeration>
61+
<Units></Units>
62+
<Description>The minimum value that can be measured by the sensor</Description>
63+
</Item>
64+
<Item ID="5604">
65+
<Name>Max Range Value</Name>
66+
<Operations>R</Operations>
67+
<MultipleInstances>Single</MultipleInstances>
68+
<Mandatory>Optional</Mandatory>
69+
<Type>Float</Type>
70+
<RangeEnumeration></RangeEnumeration>
71+
<Units></Units>
72+
<Description>The maximum value that can be measured by the sensor</Description>
73+
</Item>
74+
<Item ID="5750">
75+
<Name>Application Type</Name>
76+
<Operations>RW</Operations>
77+
<MultipleInstances>Single</MultipleInstances>
78+
<Mandatory>Optional</Mandatory>
79+
<Type>String</Type>
80+
<RangeEnumeration></RangeEnumeration>
81+
<Units></Units>
82+
<Description>The application type of the sensor or actuator as a string, for instance, “Air Pressure”</Description>
83+
</Item>
84+
<Item ID="5751">
85+
<Name>Sensor Type</Name>
86+
<Operations>R</Operations>
87+
<MultipleInstances>Single</MultipleInstances>
88+
<Mandatory>Optional</Mandatory>
89+
<Type>String</Type>
90+
<RangeEnumeration></RangeEnumeration>
91+
<Units></Units>
92+
<Description>The type of the sensor, for instance PIR type</Description>
93+
</Item>
94+
<Item ID="5605">
95+
<Name>Reset Min and Max Measured Values</Name>
96+
<Operations>E</Operations>
97+
<MultipleInstances>Single</MultipleInstances>
98+
<Mandatory>Optional</Mandatory>
99+
<Type></Type>
100+
<RangeEnumeration></RangeEnumeration>
101+
<Units></Units>
102+
<Description>Reset the Min and Max Measured Values to Current Value</Description>
103+
</Item>
104+
</Resources>
105+
<Description2></Description2>
106+
</Object>
107+
</LWM2M>

3203.xml

+67
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
3+
<!-- MIT License
4+
5+
Copyright (c) 2018 IPSO.
6+
7+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
8+
9+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
10+
11+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -->
12+
13+
<LWM2M xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://openmobilealliance.org/tech/profiles/LWM2M.xsd">
14+
<Object ObjectType="MODefinition">
15+
<Name>Analog Output</Name>
16+
<Description1>This IPSO object is a generic object that can be used with any kind of analog output interface.</Description1>
17+
<ObjectID>3203</ObjectID>
18+
<ObjectURN>urn:oma:lwm2m:ext:3203</ObjectURN>
19+
<LWM2MVersion>1.0</LWM2MVersion>
20+
<ObjectVersion>1.0</ObjectVersion>
21+
<MultipleInstances>Multiple</MultipleInstances>
22+
<Mandatory>Optional</Mandatory>
23+
<Resources>
24+
<Item ID="5650">
25+
<Name>Analog Output Current Value</Name>
26+
<Operations>RW</Operations>
27+
<MultipleInstances>Single</MultipleInstances>
28+
<Mandatory>Mandatory</Mandatory>
29+
<Type>Float</Type>
30+
<RangeEnumeration>0-1</RangeEnumeration>
31+
<Units></Units>
32+
<Description>The current state of the analogue output.</Description>
33+
</Item>
34+
<Item ID="5750">
35+
<Name>Application Type</Name>
36+
<Operations>RW</Operations>
37+
<MultipleInstances>Single</MultipleInstances>
38+
<Mandatory>Optional</Mandatory>
39+
<Type>String</Type>
40+
<RangeEnumeration></RangeEnumeration>
41+
<Units></Units>
42+
<Description>If present, the application type of the actuator as a string, for instance, “Valve”</Description>
43+
</Item>
44+
<Item ID="5603">
45+
<Name>Min Range Value</Name>
46+
<Operations>R</Operations>
47+
<MultipleInstances>Single</MultipleInstances>
48+
<Mandatory>Optional</Mandatory>
49+
<Type>Float</Type>
50+
<RangeEnumeration></RangeEnumeration>
51+
<Units></Units>
52+
<Description>The minimum value that can be set for the output</Description>
53+
</Item>
54+
<Item ID="5604">
55+
<Name>Max Range Value</Name>
56+
<Operations>R</Operations>
57+
<MultipleInstances>Single</MultipleInstances>
58+
<Mandatory>Optional</Mandatory>
59+
<Type>Float</Type>
60+
<RangeEnumeration></RangeEnumeration>
61+
<Units></Units>
62+
<Description>The maximum value that can be set for the output</Description>
63+
</Item>
64+
</Resources>
65+
<Description2></Description2>
66+
</Object>
67+
</LWM2M>

0 commit comments

Comments
 (0)