Commit 3f4714c2ce64647d0e683c328dc5d591234774f5
Committed by
GitHub
1 parent
207cc8ac
Lwm2m strategy (#4210)
* Lwm2m: back: two strategy * Lwm2m: back: add new models * Lwm2m: back: del new models
Showing
30 changed files
with
13 additions
and
4820 deletions
Too many changes to show.
To preserve performance only 30 of 436 files are displayed.
... | ... | @@ -36,8 +36,8 @@ import org.nustaq.serialization.FSTConfiguration; |
36 | 36 | import org.thingsboard.server.common.data.DeviceProfile; |
37 | 37 | import org.thingsboard.server.common.data.device.profile.Lwm2mDeviceProfileTransportConfiguration; |
38 | 38 | import org.thingsboard.server.common.transport.TransportServiceCallback; |
39 | -import org.thingsboard.server.transport.lwm2m.server.client.LwM2mClientProfile; | |
40 | 39 | import org.thingsboard.server.transport.lwm2m.server.client.LwM2mClient; |
40 | +import org.thingsboard.server.transport.lwm2m.server.client.LwM2mClientProfile; | |
41 | 41 | |
42 | 42 | import java.io.File; |
43 | 43 | import java.io.IOException; |
... | ... | @@ -244,11 +244,6 @@ public class LwM2mTransportHandler { |
244 | 244 | return null; |
245 | 245 | } |
246 | 246 | |
247 | - public static boolean getClientUpdateValueAfterConnect (LwM2mClientProfile profile) { | |
248 | - return profile.getPostClientLwM2mSettings().getAsJsonObject().has("clientUpdateValueAfterConnect") && | |
249 | - profile.getPostClientLwM2mSettings().getAsJsonObject().get("clientUpdateValueAfterConnect").getAsBoolean(); | |
250 | - } | |
251 | - | |
252 | 247 | public static boolean getClientOnlyObserveAfterConnect (LwM2mClientProfile profile) { |
253 | 248 | return profile.getPostClientLwM2mSettings().getAsJsonObject().has("clientOnlyObserveAfterConnect") && |
254 | 249 | profile.getPostClientLwM2mSettings().getAsJsonObject().get("clientOnlyObserveAfterConnect").getAsBoolean(); | ... | ... |
... | ... | @@ -16,7 +16,6 @@ |
16 | 16 | package org.thingsboard.server.transport.lwm2m.server; |
17 | 17 | |
18 | 18 | import com.fasterxml.jackson.core.type.TypeReference; |
19 | -import com.fasterxml.jackson.databind.ObjectMapper; | |
20 | 19 | import com.google.common.collect.Sets; |
21 | 20 | import com.google.gson.Gson; |
22 | 21 | import com.google.gson.JsonArray; |
... | ... | @@ -58,7 +57,6 @@ import org.thingsboard.server.transport.lwm2m.server.client.ResultsAnalyzerParam |
58 | 57 | import org.thingsboard.server.transport.lwm2m.utils.LwM2mValueConverterImpl; |
59 | 58 | |
60 | 59 | import javax.annotation.PostConstruct; |
61 | -import java.io.IOException; | |
62 | 60 | import java.util.ArrayList; |
63 | 61 | import java.util.Arrays; |
64 | 62 | import java.util.Collection; |
... | ... | @@ -446,14 +444,12 @@ public class LwM2mTransportServiceImpl implements LwM2mTransportService { |
446 | 444 | } |
447 | 445 | |
448 | 446 | /** |
449 | - * #1 сlientOnlyObserveAfterConnect == true | |
447 | + * #1 clientOnlyObserveAfterConnect == true | |
450 | 448 | * - Only Observe Request to the client marked as observe from the profile configuration. |
451 | - * #2. сlientOnlyObserveAfterConnect == false & clientUpdateValueAfterConnect == false | |
452 | - * - Request to the client after registration to read the values of the resources marked as attribute or telemetry from the profile configuration. | |
453 | - * - then Observe Request to the client marked as observe from the profile configuration. | |
454 | - * #3. сlientOnlyObserveAfterConnect == false & clientUpdateValueAfterConnect == true | |
455 | - * После регистрации отправляю запрос на read всех ресурсов, котрые послк регистрации, а затем запрос на observe (edited) | |
456 | - * - Request to the client after registration to read all resource values for all objects | |
449 | + * #2. clientOnlyObserveAfterConnect == false | |
450 | + * После регистрации отправляю запрос на read всех ресурсов, которые после регистрации есть у клиента, | |
451 | + * а затем запрос на observe (edited) | |
452 | + * - Read Request to the client after registration to read all resource values for all objects | |
457 | 453 | * - then Observe Request to the client marked as observe from the profile configuration. |
458 | 454 | * |
459 | 455 | * @param registration - Registration LwM2M Client |
... | ... | @@ -464,16 +460,9 @@ public class LwM2mTransportServiceImpl implements LwM2mTransportService { |
464 | 460 | Set<String> clientObjects = this.getAllOjectsInClient(registration); |
465 | 461 | if (clientObjects != null && !LwM2mTransportHandler.getClientOnlyObserveAfterConnect(lwM2MClientProfile)) { |
466 | 462 | // #2 |
467 | - if (!LwM2mTransportHandler.getClientUpdateValueAfterConnect(lwM2MClientProfile)) { | |
468 | - this.initReadAttrTelemetryObserveToClient(registration, lwM2MClient, GET_TYPE_OPER_READ); | |
469 | - | |
470 | - } | |
471 | - // #3 | |
472 | - else { | |
473 | - lwM2MClient.getPendingRequests().addAll(clientObjects); | |
474 | - clientObjects.forEach(path -> lwM2mTransportRequest.sendAllRequest(registration, path, GET_TYPE_OPER_READ, ContentFormat.TLV.getName(), | |
475 | - null, null, this.lwM2mTransportContextServer.getLwM2MTransportConfigServer().getTimeout())); | |
476 | - } | |
463 | + lwM2MClient.getPendingRequests().addAll(clientObjects); | |
464 | + clientObjects.forEach(path -> lwM2mTransportRequest.sendAllRequest(registration, path, GET_TYPE_OPER_READ, ContentFormat.TLV.getName(), | |
465 | + null, null, this.lwM2mTransportContextServer.getLwM2MTransportConfigServer().getTimeout())); | |
477 | 466 | } |
478 | 467 | // #1 |
479 | 468 | this.initReadAttrTelemetryObserveToClient(registration, lwM2MClient, GET_TYPE_OPER_OBSERVE); |
... | ... | @@ -786,17 +775,17 @@ public class LwM2mTransportServiceImpl implements LwM2mTransportService { |
786 | 775 | if (lwM2mClientContext.addUpdateProfileParameters(deviceProfile)) { |
787 | 776 | // #1 |
788 | 777 | JsonArray attributeOld = lwM2MClientProfileOld.getPostAttributeProfile(); |
789 | - Set<String> attributeSetOld = this.convertJsonArrayToSet (attributeOld); | |
778 | + Set<String> attributeSetOld = this.convertJsonArrayToSet(attributeOld); | |
790 | 779 | JsonArray telemetryOld = lwM2MClientProfileOld.getPostTelemetryProfile(); |
791 | - Set<String> telemetrySetOld = this.convertJsonArrayToSet (telemetryOld); | |
780 | + Set<String> telemetrySetOld = this.convertJsonArrayToSet(telemetryOld); | |
792 | 781 | JsonArray observeOld = lwM2MClientProfileOld.getPostObserveProfile(); |
793 | 782 | JsonObject keyNameOld = lwM2MClientProfileOld.getPostKeyNameProfile(); |
794 | 783 | |
795 | 784 | LwM2mClientProfile lwM2MClientProfileNew = lwM2mClientContext.getProfiles().get(deviceProfile.getUuidId()); |
796 | 785 | JsonArray attributeNew = lwM2MClientProfileNew.getPostAttributeProfile(); |
797 | - Set<String> attributeSetNew = this.convertJsonArrayToSet (attributeNew); | |
786 | + Set<String> attributeSetNew = this.convertJsonArrayToSet(attributeNew); | |
798 | 787 | JsonArray telemetryNew = lwM2MClientProfileNew.getPostTelemetryProfile(); |
799 | - Set<String> telemetrySetNew = this.convertJsonArrayToSet (telemetryNew); | |
788 | + Set<String> telemetrySetNew = this.convertJsonArrayToSet(telemetryNew); | |
800 | 789 | JsonArray observeNew = lwM2MClientProfileNew.getPostObserveProfile(); |
801 | 790 | JsonObject keyNameNew = lwM2MClientProfileNew.getPostKeyNameProfile(); |
802 | 791 | ... | ... |
common/transport/lwm2m/src/main/resources/models/10241.xml
deleted
100644 → 0
1 | -<!-- BSD-3 Clause License | |
2 | - | |
3 | -Copyright 2019 ATT. | |
4 | - | |
5 | -Redistribution and use in source and binary forms, with or without | |
6 | -modification, are permitted provided that the following conditions | |
7 | -are met: | |
8 | - | |
9 | -1. Redistributions of source code must retain the above copyright | |
10 | -notice, this list of conditions and the following disclaimer. | |
11 | -2. Redistributions in binary form must reproduce the above copyright | |
12 | -notice, this list of conditions and the following disclaimer in the | |
13 | -documentation and/or other materials provided with the distribution. | |
14 | -3. Neither the name of the copyright holder nor the names of its | |
15 | -contributors may be used to endorse or promote products derived | |
16 | -from this software without specific prior written permission. | |
17 | - | |
18 | -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
19 | -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
20 | -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS | |
21 | -FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE | |
22 | -COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, | |
23 | -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, | |
24 | -BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | |
25 | -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER | |
26 | -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | |
27 | -LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN | |
28 | -ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | |
29 | -POSSIBILITY OF SUCH DAMAGE. | |
30 | ---> | |
31 | - | |
32 | -<LWM2M xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://openmobilealliance.org/tech/profiles/LWM2M.xsd"> | |
33 | - <Object ObjectType="MODefinition"> | |
34 | - <Name>HostDeviceInfo</Name> | |
35 | - <Description1><![CDATA[This LWM2M Object provides a range of host device related information which can be queried by the LWM2M Server. The host device is any integrated device with an embedded cellular radio module.]]></Description1> | |
36 | - <ObjectID>10241</ObjectID> | |
37 | - <ObjectURN>urn:oma:lwm2m:x:10241</ObjectURN> | |
38 | - <LWM2MVersion /> | |
39 | - <ObjectVersion /> | |
40 | - <MultipleInstances>Multiple</MultipleInstances> | |
41 | - <Mandatory>Optional</Mandatory> | |
42 | - <Resources> | |
43 | - <Item ID="5905"><Name>Host Device Manufacturer</Name> | |
44 | - <Operations>R</Operations> | |
45 | - <MultipleInstances>Multiple</MultipleInstances> | |
46 | - <Mandatory>Mandatory</Mandatory> | |
47 | - <Type>String</Type> | |
48 | - <RangeEnumeration></RangeEnumeration> | |
49 | - <Units></Units> | |
50 | - <Description><![CDATA[Human readable host device manufacturer name]]></Description> | |
51 | - </Item> | |
52 | - <Item ID="5906"><Name>Host Device Model Number</Name> | |
53 | - <Operations>R</Operations> | |
54 | - <MultipleInstances>Multiple</MultipleInstances> | |
55 | - <Mandatory>Mandatory</Mandatory> | |
56 | - <Type>String</Type> | |
57 | - <RangeEnumeration></RangeEnumeration> | |
58 | - <Units></Units> | |
59 | - <Description><![CDATA[A host device model identifier (manufacturer specified string)]]></Description> | |
60 | - </Item> | |
61 | - <Item ID="5907"><Name>Host Device Unique ID</Name> | |
62 | - <Operations>R</Operations> | |
63 | - <MultipleInstances>Multiple</MultipleInstances> | |
64 | - <Mandatory>Mandatory</Mandatory> | |
65 | - <Type>String</Type> | |
66 | - <RangeEnumeration></RangeEnumeration> | |
67 | - <Units></Units> | |
68 | - <Description><![CDATA[The host device unique ID as assigned by an OEM, MNO, or other as the Device ID in the onboarding or manufacturing process.]]></Description> | |
69 | - </Item> | |
70 | - <Item ID="5908"><Name>Host Device Software Version</Name> | |
71 | - <Operations>R</Operations> | |
72 | - <MultipleInstances>Multiple</MultipleInstances> | |
73 | - <Mandatory>Mandatory</Mandatory> | |
74 | - <Type>String</Type> | |
75 | - <RangeEnumeration></RangeEnumeration> | |
76 | - <Units></Units> | |
77 | - <Description><![CDATA[Current software version of the host device. (manufacturer specified string).]]></Description> | |
78 | - </Item></Resources> | |
79 | - <Description2 /> | |
80 | - </Object> | |
81 | -</LWM2M> |
common/transport/lwm2m/src/main/resources/models/10242.xml
deleted
100644 → 0
1 | -<?xml version="1.0" encoding="UTF-8"?> | |
2 | - | |
3 | -<!-- BSD-3 Clause License | |
4 | - | |
5 | -Copyright 2019 Odins. | |
6 | -Redistribution and use in source and binary forms, with or without | |
7 | -modification, are permitted provided that the following conditions | |
8 | -are met: | |
9 | -1. Redistributions of source code must retain the above copyright | |
10 | -notice, this list of conditions and the following disclaimer. | |
11 | -2. Redistributions in binary form must reproduce the above copyright | |
12 | -notice, this list of conditions and the following disclaimer in the | |
13 | -documentation and/or other materials provided with the distribution. | |
14 | -3. Neither the name of the copyright holder nor the names of its | |
15 | -contributors may be used to endorse or promote products derived | |
16 | -from this software without specific prior written permission. | |
17 | -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
18 | -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
19 | -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS | |
20 | -FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE | |
21 | -COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, | |
22 | -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, | |
23 | -BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | |
24 | -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER | |
25 | -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | |
26 | -LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN | |
27 | -ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | |
28 | -POSSIBILITY OF SUCH DAMAGE. | |
29 | ---> | |
30 | - | |
31 | -<LWM2M xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://openmobilealliance.org/tech/profiles/LWM2M.xsd" > | |
32 | -<Object ObjectType="MODefinition"> | |
33 | - <Name>3-Phase Power Meter</Name> | |
34 | - <Description1> | |
35 | - <![CDATA[This Object provides the information to represent a generic 3-Phase Power Meter.]]> | |
36 | - </Description1> | |
37 | - <ObjectID>10242</ObjectID> | |
38 | - <ObjectURN>urn:oma:lwm2m:x:10242</ObjectURN> | |
39 | - <LWM2MVersion>1.0</LWM2MVersion> | |
40 | - <ObjectVersion>1.0</ObjectVersion> | |
41 | - <MultipleInstances>Multiple</MultipleInstances> | |
42 | - <Mandatory>Optional</Mandatory> | |
43 | - <Resources> | |
44 | - <Item ID="0"> | |
45 | - <Name>Manufacturer</Name> | |
46 | - <Operations>R</Operations> | |
47 | - <MultipleInstances>Single</MultipleInstances> | |
48 | - <Mandatory>Optional</Mandatory> | |
49 | - <Type>String</Type> | |
50 | - <RangeEnumeration/> | |
51 | - <Units/> | |
52 | - <Description> | |
53 | - <![CDATA[Human readable manufacturer name]]> | |
54 | - </Description> | |
55 | - </Item> | |
56 | - <Item ID="1"> | |
57 | - <Name>Model Number</Name> | |
58 | - <Operations>R</Operations> | |
59 | - <MultipleInstances>Single</MultipleInstances> | |
60 | - <Mandatory>Optional</Mandatory> | |
61 | - <Type>String</Type> | |
62 | - <RangeEnumeration/> | |
63 | - <Units/> | |
64 | - <Description> | |
65 | - <![CDATA[A model identifier (manufacturer specified string)]]> | |
66 | - </Description> | |
67 | - </Item> | |
68 | - <Item ID="2"> | |
69 | - <Name>Serial Number</Name> | |
70 | - <Operations>R</Operations> | |
71 | - <MultipleInstances>Single</MultipleInstances> | |
72 | - <Mandatory>Optional</Mandatory> | |
73 | - <Type>String</Type> | |
74 | - <RangeEnumeration/> | |
75 | - <Units/> | |
76 | - <Description> | |
77 | - <![CDATA[Serial number of the meter]]> | |
78 | - </Description> | |
79 | - </Item> | |
80 | - <Item ID="3"> | |
81 | - <Name>Description</Name> | |
82 | - <Operations>R</Operations> | |
83 | - <MultipleInstances>Single</MultipleInstances> | |
84 | - <Mandatory>Optional</Mandatory> | |
85 | - <Type>String</Type> | |
86 | - <RangeEnumeration/> | |
87 | - <Units/> | |
88 | - <Description> | |
89 | - <![CDATA[Description of the meter]]> | |
90 | - </Description> | |
91 | - </Item> | |
92 | - <Item ID="4"> | |
93 | - <Name>Tension R</Name> | |
94 | - <Operations>R</Operations> | |
95 | - <MultipleInstances>Single</MultipleInstances> | |
96 | - <Mandatory>Mandatory</Mandatory> | |
97 | - <Type>Float</Type> | |
98 | - <RangeEnumeration/> | |
99 | - <Units>V</Units> | |
100 | - <Description> | |
101 | - <![CDATA[Voltage phase 1 (phase to neutral)]]> | |
102 | - </Description> | |
103 | - </Item> | |
104 | - <Item ID="5"> | |
105 | - <Name>Current R</Name> | |
106 | - <Operations>R</Operations> | |
107 | - <MultipleInstances>Single</MultipleInstances> | |
108 | - <Mandatory>Mandatory</Mandatory> | |
109 | - <Type>Float</Type> | |
110 | - <RangeEnumeration/> | |
111 | - <Units>A</Units> | |
112 | - <Description> | |
113 | - <![CDATA[Current phase 1]]> | |
114 | - </Description> | |
115 | - </Item> | |
116 | - <Item ID="6"> | |
117 | - <Name>Active Power R</Name> | |
118 | - <Operations>R</Operations> | |
119 | - <MultipleInstances>Single</MultipleInstances> | |
120 | - <Mandatory>Optional</Mandatory> | |
121 | - <Type>Float</Type> | |
122 | - <RangeEnumeration/> | |
123 | - <Units>kW</Units> | |
124 | - <Description> | |
125 | - <![CDATA[Active Power phase 1]]> | |
126 | - </Description> | |
127 | - </Item> | |
128 | - <Item ID="7"> | |
129 | - <Name>Reactive Power R</Name> | |
130 | - <Operations>R</Operations> | |
131 | - <MultipleInstances>Single</MultipleInstances> | |
132 | - <Mandatory>Optional</Mandatory> | |
133 | - <Type>Float</Type> | |
134 | - <RangeEnumeration/> | |
135 | - <Units>kvar</Units> | |
136 | - <Description> | |
137 | - <![CDATA[Reactive Power phase 1]]> | |
138 | - </Description> | |
139 | - </Item> | |
140 | - <Item ID="8"> | |
141 | - <Name>Inductive Reactive Power R</Name> | |
142 | - <Operations>R</Operations> | |
143 | - <MultipleInstances>Single</MultipleInstances> | |
144 | - <Mandatory>Optional</Mandatory> | |
145 | - <Type>Float</Type> | |
146 | - <RangeEnumeration/> | |
147 | - <Units>kvar</Units> | |
148 | - <Description> | |
149 | - <![CDATA[Inductive Reactive Power phase 1]]> | |
150 | - </Description> | |
151 | - </Item> | |
152 | - <Item ID="9"> | |
153 | - <Name>Capacitive Reactive Power R</Name> | |
154 | - <Operations>R</Operations> | |
155 | - <MultipleInstances>Single</MultipleInstances> | |
156 | - <Mandatory>Optional</Mandatory> | |
157 | - <Type>Float</Type> | |
158 | - <RangeEnumeration/> | |
159 | - <Units>kvar</Units> | |
160 | - <Description> | |
161 | - <![CDATA[Capacitive Reactive Power phase 1]]> | |
162 | - </Description> | |
163 | - </Item> | |
164 | - <Item ID="10"> | |
165 | - <Name>Apparent Power R</Name> | |
166 | - <Operations>R</Operations> | |
167 | - <MultipleInstances>Single</MultipleInstances> | |
168 | - <Mandatory>Optional</Mandatory> | |
169 | - <Type>Float</Type> | |
170 | - <RangeEnumeration/> | |
171 | - <Units>kVA</Units> | |
172 | - <Description> | |
173 | - <![CDATA[Apparent Power phase 1]]> | |
174 | - </Description> | |
175 | - </Item> | |
176 | - <Item ID="11"> | |
177 | - <Name>Power Factor R</Name> | |
178 | - <Operations>R</Operations> | |
179 | - <MultipleInstances>Single</MultipleInstances> | |
180 | - <Mandatory>Optional</Mandatory> | |
181 | - <Type>Float</Type> | |
182 | - <RangeEnumeration>-1..1</RangeEnumeration> | |
183 | - <Units/> | |
184 | - <Description> | |
185 | - <![CDATA[Power Factor phase 1]]> | |
186 | - </Description> | |
187 | - </Item> | |
188 | - <Item ID="12"> | |
189 | - <Name>THD-V R</Name> | |
190 | - <Operations>R</Operations> | |
191 | - <MultipleInstances>Single</MultipleInstances> | |
192 | - <Mandatory>Optional</Mandatory> | |
193 | - <Type>Float</Type> | |
194 | - <RangeEnumeration/> | |
195 | - <Units>/100</Units> | |
196 | - <Description> | |
197 | - <![CDATA[Total Harmonic Distortion phase 1 (Tension)]]> | |
198 | - </Description> | |
199 | - </Item> | |
200 | - <Item ID="13"> | |
201 | - <Name>THD-A R</Name> | |
202 | - <Operations>R</Operations> | |
203 | - <MultipleInstances>Single</MultipleInstances> | |
204 | - <Mandatory>Optional</Mandatory> | |
205 | - <Type>Float</Type> | |
206 | - <RangeEnumeration/> | |
207 | - <Units>/100</Units> | |
208 | - <Description> | |
209 | - <![CDATA[Total Harmonig Distortion phase 1 (Current)]]> | |
210 | - </Description> | |
211 | - </Item> | |
212 | - <Item ID="14"> | |
213 | - <Name>Tension S</Name> | |
214 | - <Operations>R</Operations> | |
215 | - <MultipleInstances>Single</MultipleInstances> | |
216 | - <Mandatory>Mandatory</Mandatory> | |
217 | - <Type>Float</Type> | |
218 | - <RangeEnumeration/> | |
219 | - <Units>V</Units> | |
220 | - <Description> | |
221 | - <![CDATA[Voltage phase 2 (phase to neutral)]]> | |
222 | - </Description> | |
223 | - </Item> | |
224 | - <Item ID="15"> | |
225 | - <Name>Current S</Name> | |
226 | - <Operations>R</Operations> | |
227 | - <MultipleInstances>Single</MultipleInstances> | |
228 | - <Mandatory>Mandatory</Mandatory> | |
229 | - <Type>Float</Type> | |
230 | - <RangeEnumeration/> | |
231 | - <Units>A</Units> | |
232 | - <Description> | |
233 | - <![CDATA[Current phase 2]]> | |
234 | - </Description> | |
235 | - </Item> | |
236 | - <Item ID="16"> | |
237 | - <Name>Active Power S</Name> | |
238 | - <Operations>R</Operations> | |
239 | - <MultipleInstances>Single</MultipleInstances> | |
240 | - <Mandatory>Optional</Mandatory> | |
241 | - <Type>Float</Type> | |
242 | - <RangeEnumeration/> | |
243 | - <Units>kW</Units> | |
244 | - <Description> | |
245 | - <![CDATA[Active Power phase 2]]> | |
246 | - </Description> | |
247 | - </Item> | |
248 | - <Item ID="17"> | |
249 | - <Name>Reactive Power S</Name> | |
250 | - <Operations>R</Operations> | |
251 | - <MultipleInstances>Single</MultipleInstances> | |
252 | - <Mandatory>Optional</Mandatory> | |
253 | - <Type>Float</Type> | |
254 | - <RangeEnumeration/> | |
255 | - <Units>kvar</Units> | |
256 | - <Description> | |
257 | - <![CDATA[Reactive Power phase 2]]> | |
258 | - </Description> | |
259 | - </Item> | |
260 | - <Item ID="18"> | |
261 | - <Name>Inductive Reactive Power S</Name> | |
262 | - <Operations>R</Operations> | |
263 | - <MultipleInstances>Single</MultipleInstances> | |
264 | - <Mandatory>Optional</Mandatory> | |
265 | - <Type>Float</Type> | |
266 | - <RangeEnumeration/> | |
267 | - <Units>kvar</Units> | |
268 | - <Description> | |
269 | - <![CDATA[Inductive Reactive Power phase 2]]> | |
270 | - </Description> | |
271 | - </Item> | |
272 | - <Item ID="19"> | |
273 | - <Name>Capacitive Reactive Power S</Name> | |
274 | - <Operations>R</Operations> | |
275 | - <MultipleInstances>Single</MultipleInstances> | |
276 | - <Mandatory>Optional</Mandatory> | |
277 | - <Type>Float</Type> | |
278 | - <RangeEnumeration/> | |
279 | - <Units>kvar</Units> | |
280 | - <Description> | |
281 | - <![CDATA[Capacitive Reactive Power phase 2]]> | |
282 | - </Description> | |
283 | - </Item> | |
284 | - <Item ID="20"> | |
285 | - <Name>Apparent Power S</Name> | |
286 | - <Operations>R</Operations> | |
287 | - <MultipleInstances>Single</MultipleInstances> | |
288 | - <Mandatory>Optional</Mandatory> | |
289 | - <Type>Float</Type> | |
290 | - <RangeEnumeration/> | |
291 | - <Units>kVA</Units> | |
292 | - <Description> | |
293 | - <![CDATA[Apparent Power phase 2]]> | |
294 | - </Description> | |
295 | - </Item> | |
296 | - <Item ID="21"> | |
297 | - <Name>Power Factor S</Name> | |
298 | - <Operations>R</Operations> | |
299 | - <MultipleInstances>Single</MultipleInstances> | |
300 | - <Mandatory>Optional</Mandatory> | |
301 | - <Type>Float</Type> | |
302 | - <RangeEnumeration>-1..1</RangeEnumeration> | |
303 | - <Units/> | |
304 | - <Description> | |
305 | - <![CDATA[Power Factor phase 2]]> | |
306 | - </Description> | |
307 | - </Item> | |
308 | - <Item ID="22"> | |
309 | - <Name>THD-V S</Name> | |
310 | - <Operations>R</Operations> | |
311 | - <MultipleInstances>Single</MultipleInstances> | |
312 | - <Mandatory>Optional</Mandatory> | |
313 | - <Type>Float</Type> | |
314 | - <RangeEnumeration/> | |
315 | - <Units>/100</Units> | |
316 | - <Description> | |
317 | - <![CDATA[Total Harmonic Distortion phase 2 (Tension)]]> | |
318 | - </Description> | |
319 | - </Item> | |
320 | - <Item ID="23"> | |
321 | - <Name>THD-A S</Name> | |
322 | - <Operations>R</Operations> | |
323 | - <MultipleInstances>Single</MultipleInstances> | |
324 | - <Mandatory>Optional</Mandatory> | |
325 | - <Type>Float</Type> | |
326 | - <RangeEnumeration/> | |
327 | - <Units>/100</Units> | |
328 | - <Description> | |
329 | - <![CDATA[Total Harmonic Distortion phase 2 (Current)]]> | |
330 | - </Description> | |
331 | - </Item> | |
332 | - <Item ID="24"> | |
333 | - <Name>Tension T</Name> | |
334 | - <Operations>R</Operations> | |
335 | - <MultipleInstances>Single</MultipleInstances> | |
336 | - <Mandatory>Mandatory</Mandatory> | |
337 | - <Type>Float</Type> | |
338 | - <RangeEnumeration/> | |
339 | - <Units>V</Units> | |
340 | - <Description> | |
341 | - <![CDATA[Voltage phase 3 (phase to neutral)]]> | |
342 | - </Description> | |
343 | - </Item> | |
344 | - <Item ID="25"> | |
345 | - <Name>Current T</Name> | |
346 | - <Operations>R</Operations> | |
347 | - <MultipleInstances>Single</MultipleInstances> | |
348 | - <Mandatory>Mandatory</Mandatory> | |
349 | - <Type>Float</Type> | |
350 | - <RangeEnumeration/> | |
351 | - <Units>A</Units> | |
352 | - <Description> | |
353 | - <![CDATA[Current phase 3]]> | |
354 | - </Description> | |
355 | - </Item> | |
356 | - <Item ID="26"> | |
357 | - <Name>Active Power T</Name> | |
358 | - <Operations>R</Operations> | |
359 | - <MultipleInstances>Single</MultipleInstances> | |
360 | - <Mandatory>Optional</Mandatory> | |
361 | - <Type>Float</Type> | |
362 | - <RangeEnumeration/> | |
363 | - <Units>kW</Units> | |
364 | - <Description> | |
365 | - <![CDATA[Active Power phase 3]]> | |
366 | - </Description> | |
367 | - </Item> | |
368 | - <Item ID="27"> | |
369 | - <Name>Reactive Power T</Name> | |
370 | - <Operations>R</Operations> | |
371 | - <MultipleInstances>Single</MultipleInstances> | |
372 | - <Mandatory>Optional</Mandatory> | |
373 | - <Type>Float</Type> | |
374 | - <RangeEnumeration/> | |
375 | - <Units>kvar</Units> | |
376 | - <Description> | |
377 | - <![CDATA[Reactive Power phase 3]]> | |
378 | - </Description> | |
379 | - </Item> | |
380 | - <Item ID="28"> | |
381 | - <Name>Inductive Reactive Power T</Name> | |
382 | - <Operations>R</Operations> | |
383 | - <MultipleInstances>Single</MultipleInstances> | |
384 | - <Mandatory>Optional</Mandatory> | |
385 | - <Type>Float</Type> | |
386 | - <RangeEnumeration/> | |
387 | - <Units>kvar</Units> | |
388 | - <Description> | |
389 | - <![CDATA[Inductive Reactive Power phase 3]]> | |
390 | - </Description> | |
391 | - </Item> | |
392 | - <Item ID="29"> | |
393 | - <Name>Capacitive Reactive Power T</Name> | |
394 | - <Operations>R</Operations> | |
395 | - <MultipleInstances>Single</MultipleInstances> | |
396 | - <Mandatory>Optional</Mandatory> | |
397 | - <Type>Float</Type> | |
398 | - <RangeEnumeration/> | |
399 | - <Units>kvar</Units> | |
400 | - <Description> | |
401 | - <![CDATA[Capacitive Reactive Power phase 3]]> | |
402 | - </Description> | |
403 | - </Item> | |
404 | - <Item ID="30"> | |
405 | - <Name>Apparent Power T</Name> | |
406 | - <Operations>R</Operations> | |
407 | - <MultipleInstances>Single</MultipleInstances> | |
408 | - <Mandatory>Optional</Mandatory> | |
409 | - <Type>Float</Type> | |
410 | - <RangeEnumeration/> | |
411 | - <Units>kVA</Units> | |
412 | - <Description> | |
413 | - <![CDATA[Apparent Power phase 3]]> | |
414 | - </Description> | |
415 | - </Item> | |
416 | - <Item ID="31"> | |
417 | - <Name>Power Factor T</Name> | |
418 | - <Operations>R</Operations> | |
419 | - <MultipleInstances>Single</MultipleInstances> | |
420 | - <Mandatory>Optional</Mandatory> | |
421 | - <Type>Float</Type> | |
422 | - <RangeEnumeration>-1..1</RangeEnumeration> | |
423 | - <Units/> | |
424 | - <Description> | |
425 | - <![CDATA[Power Factor phase 3]]> | |
426 | - </Description> | |
427 | - </Item> | |
428 | - <Item ID="32"> | |
429 | - <Name>THD-V T</Name> | |
430 | - <Operations>R</Operations> | |
431 | - <MultipleInstances>Single</MultipleInstances> | |
432 | - <Mandatory>Optional</Mandatory> | |
433 | - <Type>Float</Type> | |
434 | - <RangeEnumeration/> | |
435 | - <Units>/100</Units> | |
436 | - <Description> | |
437 | - <![CDATA[Total Harmonic Distortion phase 3 (Tension)]]> | |
438 | - </Description> | |
439 | - </Item> | |
440 | - <Item ID="33"> | |
441 | - <Name>THD-A T</Name> | |
442 | - <Operations>R</Operations> | |
443 | - <MultipleInstances>Single</MultipleInstances> | |
444 | - <Mandatory>Optional</Mandatory> | |
445 | - <Type>Float</Type> | |
446 | - <RangeEnumeration/> | |
447 | - <Units>/100</Units> | |
448 | - <Description> | |
449 | - <![CDATA[Total Harmonic Distortion phase 3 (Current)]]> | |
450 | - </Description> | |
451 | - </Item> | |
452 | - <Item ID="34"> | |
453 | - <Name>3-Phase Active Power</Name> | |
454 | - <Operations>R</Operations> | |
455 | - <MultipleInstances>Single</MultipleInstances> | |
456 | - <Mandatory>Optional</Mandatory> | |
457 | - <Type>Float</Type> | |
458 | - <RangeEnumeration/> | |
459 | - <Units>kW</Units> | |
460 | - <Description> | |
461 | - <![CDATA[3-Phase Active Power]]> | |
462 | - </Description> | |
463 | - </Item> | |
464 | - <Item ID="35"> | |
465 | - <Name>3-Phase Reactive Power</Name> | |
466 | - <Operations>R</Operations> | |
467 | - <MultipleInstances>Single</MultipleInstances> | |
468 | - <Mandatory>Optional</Mandatory> | |
469 | - <Type>Float</Type> | |
470 | - <RangeEnumeration/> | |
471 | - <Units>kvar</Units> | |
472 | - <Description> | |
473 | - <![CDATA[3-Phase Reactive Power]]> | |
474 | - </Description> | |
475 | - </Item> | |
476 | - <Item ID="36"> | |
477 | - <Name>3-Phase Inductive Reactive Power</Name> | |
478 | - <Operations>R</Operations> | |
479 | - <MultipleInstances>Single</MultipleInstances> | |
480 | - <Mandatory>Optional</Mandatory> | |
481 | - <Type>Float</Type> | |
482 | - <RangeEnumeration/> | |
483 | - <Units>kvar</Units> | |
484 | - <Description> | |
485 | - <![CDATA[3-Phase Inductive Reactive Power]]> | |
486 | - </Description> | |
487 | - </Item> | |
488 | - <Item ID="37"> | |
489 | - <Name>3-Phase Capacitive Reactive Power</Name> | |
490 | - <Operations>R</Operations> | |
491 | - <MultipleInstances>Single</MultipleInstances> | |
492 | - <Mandatory>Optional</Mandatory> | |
493 | - <Type>Float</Type> | |
494 | - <RangeEnumeration/> | |
495 | - <Units>kvar</Units> | |
496 | - <Description> | |
497 | - <![CDATA[3-Phase Capacitive Reactive Power]]> | |
498 | - </Description> | |
499 | - </Item> | |
500 | - <Item ID="38"> | |
501 | - <Name>3-Phase Apparent Power</Name> | |
502 | - <Operations>R</Operations> | |
503 | - <MultipleInstances>Single</MultipleInstances> | |
504 | - <Mandatory>Optional</Mandatory> | |
505 | - <Type>Float</Type> | |
506 | - <RangeEnumeration/> | |
507 | - <Units>kVA</Units> | |
508 | - <Description> | |
509 | - <![CDATA[3-Phase Apparent Power]]> | |
510 | - </Description> | |
511 | - </Item> | |
512 | - <Item ID="39"> | |
513 | - <Name>3-Phase Power Factor</Name> | |
514 | - <Operations>R</Operations> | |
515 | - <MultipleInstances>Single</MultipleInstances> | |
516 | - <Mandatory>Optional</Mandatory> | |
517 | - <Type>Float</Type> | |
518 | - <RangeEnumeration>-1..1</RangeEnumeration> | |
519 | - <Units/> | |
520 | - <Description> | |
521 | - <![CDATA[3-Phase Power Factor]]> | |
522 | - </Description> | |
523 | - </Item> | |
524 | - <Item ID="40"> | |
525 | - <Name>3-Phase phi cosine</Name> | |
526 | - <Operations>R</Operations> | |
527 | - <MultipleInstances>Single</MultipleInstances> | |
528 | - <Mandatory>Optional</Mandatory> | |
529 | - <Type>Float</Type> | |
530 | - <RangeEnumeration>-1..1</RangeEnumeration> | |
531 | - <Units/> | |
532 | - <Description> | |
533 | - <![CDATA[3-Phase phi cosine]]> | |
534 | - </Description> | |
535 | - </Item> | |
536 | - <Item ID="41"> | |
537 | - <Name>Active Energy</Name> | |
538 | - <Operations>R</Operations> | |
539 | - <MultipleInstances>Single</MultipleInstances> | |
540 | - <Mandatory>Optional</Mandatory> | |
541 | - <Type>Float</Type> | |
542 | - <RangeEnumeration/> | |
543 | - <Units>kWh</Units> | |
544 | - <Description> | |
545 | - <![CDATA[Active Energy]]> | |
546 | - </Description> | |
547 | - </Item> | |
548 | - <Item ID="42"> | |
549 | - <Name>Reactive Energy</Name> | |
550 | - <Operations>R</Operations> | |
551 | - <MultipleInstances>Single</MultipleInstances> | |
552 | - <Mandatory>Optional</Mandatory> | |
553 | - <Type>Float</Type> | |
554 | - <RangeEnumeration/> | |
555 | - <Units>kvarh</Units> | |
556 | - <Description> | |
557 | - <![CDATA[Reactive Energy]]> | |
558 | - </Description> | |
559 | - </Item> | |
560 | - <Item ID="43"> | |
561 | - <Name>Inductive Reactive Energy</Name> | |
562 | - <Operations>R</Operations> | |
563 | - <MultipleInstances>Single</MultipleInstances> | |
564 | - <Mandatory>Optional</Mandatory> | |
565 | - <Type>Float</Type> | |
566 | - <RangeEnumeration/> | |
567 | - <Units>kvarh</Units> | |
568 | - <Description> | |
569 | - <![CDATA[Inductive Reactive Energy]]> | |
570 | - </Description> | |
571 | - </Item> | |
572 | - <Item ID="44"> | |
573 | - <Name>Capacitive Reactive Energy</Name> | |
574 | - <Operations>R</Operations> | |
575 | - <MultipleInstances>Single</MultipleInstances> | |
576 | - <Mandatory>Optional</Mandatory> | |
577 | - <Type>Float</Type> | |
578 | - <RangeEnumeration/> | |
579 | - <Units>kvarh</Units> | |
580 | - <Description> | |
581 | - <![CDATA[Capacitive Reactive Energy]]> | |
582 | - </Description> | |
583 | - </Item> | |
584 | - <Item ID="45"> | |
585 | - <Name>Apparent Energy</Name> | |
586 | - <Operations>R</Operations> | |
587 | - <MultipleInstances>Single</MultipleInstances> | |
588 | - <Mandatory>Optional</Mandatory> | |
589 | - <Type>Float</Type> | |
590 | - <RangeEnumeration/> | |
591 | - <Units>kVAh</Units> | |
592 | - <Description> | |
593 | - <![CDATA[Apparent Energy]]> | |
594 | - </Description> | |
595 | - </Item> | |
596 | - <Item ID="46"> | |
597 | - <Name>Tension R-S</Name> | |
598 | - <Operations>R</Operations> | |
599 | - <MultipleInstances>Single</MultipleInstances> | |
600 | - <Mandatory>Optional</Mandatory> | |
601 | - <Type>Float</Type> | |
602 | - <RangeEnumeration/> | |
603 | - <Units>V</Units> | |
604 | - <Description> | |
605 | - <![CDATA[Voltage phase 1 to phase 2]]> | |
606 | - </Description> | |
607 | - </Item> | |
608 | - <Item ID="47"> | |
609 | - <Name>Tension S-T</Name> | |
610 | - <Operations>R</Operations> | |
611 | - <MultipleInstances>Single</MultipleInstances> | |
612 | - <Mandatory>Optional</Mandatory> | |
613 | - <Type>Float</Type> | |
614 | - <RangeEnumeration/> | |
615 | - <Units>V</Units> | |
616 | - <Description> | |
617 | - <![CDATA[Voltage phase 2 to phase 3]]> | |
618 | - </Description> | |
619 | - </Item> | |
620 | - <Item ID="48"> | |
621 | - <Name>Tension T-R</Name> | |
622 | - <Operations>R</Operations> | |
623 | - <MultipleInstances>Single</MultipleInstances> | |
624 | - <Mandatory>Optional</Mandatory> | |
625 | - <Type>Float</Type> | |
626 | - <RangeEnumeration/> | |
627 | - <Units>V</Units> | |
628 | - <Description> | |
629 | - <![CDATA[Voltage phase 3 to phase 1]]> | |
630 | - </Description> | |
631 | - </Item> | |
632 | - <Item ID="49"> | |
633 | - <Name>Frequency</Name> | |
634 | - <Operations>R</Operations> | |
635 | - <MultipleInstances>Single</MultipleInstances> | |
636 | - <Mandatory>Optional</Mandatory> | |
637 | - <Type>Float</Type> | |
638 | - <RangeEnumeration/> | |
639 | - <Units>Hz</Units> | |
640 | - <Description> | |
641 | - <![CDATA[Frequency]]> | |
642 | - </Description> | |
643 | - </Item> | |
644 | - <Item ID="50"> | |
645 | - <Name>Neutral Current</Name> | |
646 | - <Operations>R</Operations> | |
647 | - <MultipleInstances>Single</MultipleInstances> | |
648 | - <Mandatory>Optional</Mandatory> | |
649 | - <Type>Float</Type> | |
650 | - <RangeEnumeration/> | |
651 | - <Units>A</Units> | |
652 | - <Description> | |
653 | - <![CDATA[Neutral Current]]> | |
654 | - </Description> | |
655 | - </Item> | |
656 | - </Resources> | |
657 | - <Description2/> | |
658 | -</Object> | |
659 | -</LWM2M> |
common/transport/lwm2m/src/main/resources/models/10243.xml
deleted
100644 → 0
1 | -<?xml version="1.0" encoding="UTF-8"?> | |
2 | - | |
3 | -<!-- BSD-3 Clause License | |
4 | - | |
5 | -Copyright 2019 Odins. | |
6 | -Redistribution and use in source and binary forms, with or without | |
7 | -modification, are permitted provided that the following conditions | |
8 | -are met: | |
9 | -1. Redistributions of source code must retain the above copyright | |
10 | -notice, this list of conditions and the following disclaimer. | |
11 | -2. Redistributions in binary form must reproduce the above copyright | |
12 | -notice, this list of conditions and the following disclaimer in the | |
13 | -documentation and/or other materials provided with the distribution. | |
14 | -3. Neither the name of the copyright holder nor the names of its | |
15 | -contributors may be used to endorse or promote products derived | |
16 | -from this software without specific prior written permission. | |
17 | -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
18 | -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
19 | -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS | |
20 | -FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE | |
21 | -COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, | |
22 | -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, | |
23 | -BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | |
24 | -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER | |
25 | -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | |
26 | -LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN | |
27 | -ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | |
28 | -POSSIBILITY OF SUCH DAMAGE. | |
29 | ---> | |
30 | - | |
31 | -<LWM2M xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://openmobilealliance.org/tech/profiles/LWM2M.xsd" > | |
32 | -<Object ObjectType="MODefinition"> | |
33 | - <Name>Single-Phase Power Meter</Name> | |
34 | - <Description1> | |
35 | - <![CDATA[This Object provides the information to represent a generic Single-Phase Power Meter.]]> | |
36 | - </Description1> | |
37 | - <ObjectID>10243</ObjectID> | |
38 | - <ObjectURN>urn:oma:lwm2m:x:10243</ObjectURN> | |
39 | - <LWM2MVersion>1.0</LWM2MVersion> | |
40 | - <ObjectVersion>1.0</ObjectVersion> | |
41 | - <MultipleInstances>Multiple</MultipleInstances> | |
42 | - <Mandatory>Optional</Mandatory> | |
43 | - <Resources> | |
44 | - <Item ID="0"> | |
45 | - <Name>Manufacturer</Name> | |
46 | - <Operations>R</Operations> | |
47 | - <MultipleInstances>Single</MultipleInstances> | |
48 | - <Mandatory>Optional</Mandatory> | |
49 | - <Type>String</Type> | |
50 | - <RangeEnumeration/> | |
51 | - <Units/> | |
52 | - <Description> | |
53 | - <![CDATA[Human readable manufacturer name]]> | |
54 | - </Description> | |
55 | - </Item> | |
56 | - <Item ID="1"> | |
57 | - <Name>Model Number</Name> | |
58 | - <Operations>R</Operations> | |
59 | - <MultipleInstances>Single</MultipleInstances> | |
60 | - <Mandatory>Optional</Mandatory> | |
61 | - <Type>String</Type> | |
62 | - <RangeEnumeration/> | |
63 | - <Units/> | |
64 | - <Description> | |
65 | - <![CDATA[A model identifier (manufacturer specified string)]]> | |
66 | - </Description> | |
67 | - </Item> | |
68 | - <Item ID="2"> | |
69 | - <Name>Serial Number</Name> | |
70 | - <Operations>R</Operations> | |
71 | - <MultipleInstances>Single</MultipleInstances> | |
72 | - <Mandatory>Optional</Mandatory> | |
73 | - <Type>String</Type> | |
74 | - <RangeEnumeration/> | |
75 | - <Units/> | |
76 | - <Description> | |
77 | - <![CDATA[Serial number of the meter]]> | |
78 | - </Description> | |
79 | - </Item> | |
80 | - <Item ID="3"> | |
81 | - <Name>Description</Name> | |
82 | - <Operations>R</Operations> | |
83 | - <MultipleInstances>Single</MultipleInstances> | |
84 | - <Mandatory>Optional</Mandatory> | |
85 | - <Type>String</Type> | |
86 | - <RangeEnumeration/> | |
87 | - <Units/> | |
88 | - <Description> | |
89 | - <![CDATA[Description of the meter]]> | |
90 | - </Description> | |
91 | - </Item> | |
92 | - <Item ID="4"> | |
93 | - <Name>Tension</Name> | |
94 | - <Operations>R</Operations> | |
95 | - <MultipleInstances>Single</MultipleInstances> | |
96 | - <Mandatory>Mandatory</Mandatory> | |
97 | - <Type>String</Type> | |
98 | - <RangeEnumeration/> | |
99 | - <Units>V</Units> | |
100 | - <Description> | |
101 | - <![CDATA[Voltage]]> | |
102 | - </Description> | |
103 | - </Item> | |
104 | - <Item ID="5"> | |
105 | - <Name>Current</Name> | |
106 | - <Operations>R</Operations> | |
107 | - <MultipleInstances>Single</MultipleInstances> | |
108 | - <Mandatory>Mandatory</Mandatory> | |
109 | - <Type>Float</Type> | |
110 | - <RangeEnumeration/> | |
111 | - <Units>A</Units> | |
112 | - <Description> | |
113 | - <![CDATA[Current]]> | |
114 | - </Description> | |
115 | - </Item> | |
116 | - <Item ID="6"> | |
117 | - <Name>Active Power</Name> | |
118 | - <Operations>R</Operations> | |
119 | - <MultipleInstances>Single</MultipleInstances> | |
120 | - <Mandatory>Optional</Mandatory> | |
121 | - <Type>Float</Type> | |
122 | - <RangeEnumeration/> | |
123 | - <Units>kW</Units> | |
124 | - <Description> | |
125 | - <![CDATA[Active Power]]> | |
126 | - </Description> | |
127 | - </Item> | |
128 | - <Item ID="7"> | |
129 | - <Name>Reactive Power</Name> | |
130 | - <Operations>R</Operations> | |
131 | - <MultipleInstances>Single</MultipleInstances> | |
132 | - <Mandatory>Optional</Mandatory> | |
133 | - <Type>Float</Type> | |
134 | - <RangeEnumeration/> | |
135 | - <Units>kvar</Units> | |
136 | - <Description> | |
137 | - <![CDATA[Reactive Power]]> | |
138 | - </Description> | |
139 | - </Item> | |
140 | - <Item ID="8"> | |
141 | - <Name>Inductive Reactive Power</Name> | |
142 | - <Operations>R</Operations> | |
143 | - <MultipleInstances>Single</MultipleInstances> | |
144 | - <Mandatory>Optional</Mandatory> | |
145 | - <Type>Float</Type> | |
146 | - <RangeEnumeration/> | |
147 | - <Units>kvar</Units> | |
148 | - <Description> | |
149 | - <![CDATA[Inductive Reactive Power]]> | |
150 | - </Description> | |
151 | - </Item> | |
152 | - <Item ID="9"> | |
153 | - <Name>Capacitive Reactive Power</Name> | |
154 | - <Operations>R</Operations> | |
155 | - <MultipleInstances>Single</MultipleInstances> | |
156 | - <Mandatory>Optional</Mandatory> | |
157 | - <Type>Float</Type> | |
158 | - <RangeEnumeration/> | |
159 | - <Units>kvar</Units> | |
160 | - <Description> | |
161 | - <![CDATA[Capacitive Reactive Power]]> | |
162 | - </Description> | |
163 | - </Item> | |
164 | - <Item ID="10"> | |
165 | - <Name>Apparent Power</Name> | |
166 | - <Operations>R</Operations> | |
167 | - <MultipleInstances>Single</MultipleInstances> | |
168 | - <Mandatory>Optional</Mandatory> | |
169 | - <Type>Float</Type> | |
170 | - <RangeEnumeration/> | |
171 | - <Units>kVA</Units> | |
172 | - <Description> | |
173 | - <![CDATA[Apparent Power]]> | |
174 | - </Description> | |
175 | - </Item> | |
176 | - <Item ID="11"> | |
177 | - <Name>Power Factor</Name> | |
178 | - <Operations>R</Operations> | |
179 | - <MultipleInstances>Single</MultipleInstances> | |
180 | - <Mandatory>Optional</Mandatory> | |
181 | - <Type>Float</Type> | |
182 | - <RangeEnumeration>-1..1</RangeEnumeration> | |
183 | - <Units/> | |
184 | - <Description> | |
185 | - <![CDATA[Power Factor]]> | |
186 | - </Description> | |
187 | - </Item> | |
188 | - <Item ID="12"> | |
189 | - <Name>THD-V</Name> | |
190 | - <Operations>R</Operations> | |
191 | - <MultipleInstances>Single</MultipleInstances> | |
192 | - <Mandatory>Optional</Mandatory> | |
193 | - <Type>Float</Type> | |
194 | - <RangeEnumeration/> | |
195 | - <Units>/100</Units> | |
196 | - <Description> | |
197 | - <![CDATA[Total Harmonic Distortion (Tension)]]> | |
198 | - </Description> | |
199 | - </Item> | |
200 | - <Item ID="13"> | |
201 | - <Name>THD-A</Name> | |
202 | - <Operations>R</Operations> | |
203 | - <MultipleInstances>Single</MultipleInstances> | |
204 | - <Mandatory>Optional</Mandatory> | |
205 | - <Type>Float</Type> | |
206 | - <RangeEnumeration/> | |
207 | - <Units>/100</Units> | |
208 | - <Description> | |
209 | - <![CDATA[Total Harmonic Distortion (Current)]]> | |
210 | - </Description> | |
211 | - </Item> | |
212 | - <Item ID="14"> | |
213 | - <Name>Active Energy</Name> | |
214 | - <Operations>R</Operations> | |
215 | - <MultipleInstances>Single</MultipleInstances> | |
216 | - <Mandatory>Optional</Mandatory> | |
217 | - <Type>Float</Type> | |
218 | - <RangeEnumeration/> | |
219 | - <Units>kWh</Units> | |
220 | - <Description> | |
221 | - <![CDATA[Active Energy]]> | |
222 | - </Description> | |
223 | - </Item> | |
224 | - <Item ID="15"> | |
225 | - <Name>Reactive Energy</Name> | |
226 | - <Operations>R</Operations> | |
227 | - <MultipleInstances>Single</MultipleInstances> | |
228 | - <Mandatory>Optional</Mandatory> | |
229 | - <Type>Float</Type> | |
230 | - <RangeEnumeration/> | |
231 | - <Units>kvarh</Units> | |
232 | - <Description> | |
233 | - <![CDATA[Reactive Energy]]> | |
234 | - </Description> | |
235 | - </Item> | |
236 | - <Item ID="16"> | |
237 | - <Name>Apparent Energy</Name> | |
238 | - <Operations>R</Operations> | |
239 | - <MultipleInstances>Single</MultipleInstances> | |
240 | - <Mandatory>Optional</Mandatory> | |
241 | - <Type>Float</Type> | |
242 | - <RangeEnumeration/> | |
243 | - <Units>kVAh</Units> | |
244 | - <Description> | |
245 | - <![CDATA[Apparent Energy]]> | |
246 | - </Description> | |
247 | - </Item> | |
248 | - <Item ID="17"> | |
249 | - <Name>Frequency</Name> | |
250 | - <Operations>R</Operations> | |
251 | - <MultipleInstances>Single</MultipleInstances> | |
252 | - <Mandatory>Optional</Mandatory> | |
253 | - <Type>Float</Type> | |
254 | - <RangeEnumeration/> | |
255 | - <Units>Hz</Units> | |
256 | - <Description> | |
257 | - <![CDATA[Frequency]]> | |
258 | - </Description> | |
259 | - </Item> | |
260 | - </Resources> | |
261 | - <Description2/> | |
262 | -</Object> | |
263 | -</LWM2M> |
common/transport/lwm2m/src/main/resources/models/10244.xml
deleted
100644 → 0
1 | -<?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"> | |
2 | - <Object ObjectType="MODefinition"> | |
3 | - <Name>VehicleControlUnit</Name> | |
4 | - <Description1><![CDATA[This Object provides the information to represent a generic VCU(vehicle control unit).]]></Description1> | |
5 | - <ObjectID>10244</ObjectID> | |
6 | - <ObjectURN>urn:oma:lwm2m:x:10244</ObjectURN> | |
7 | - <MultipleInstances>Single</MultipleInstances> | |
8 | - <Mandatory>Optional</Mandatory> | |
9 | - <Resources> | |
10 | - <Item ID="0"><Name>Vehicle UI State</Name> | |
11 | - <Operations>R</Operations> | |
12 | - <MultipleInstances>Single</MultipleInstances> | |
13 | - <Mandatory>Mandatory</Mandatory> | |
14 | - <Type>Integer</Type> | |
15 | - <RangeEnumeration>0..15</RangeEnumeration> | |
16 | - <Units></Units> | |
17 | - <Description><![CDATA[The UI state of the vehicle. 0: idle 1: driving 2: charging 3: limp-home 4-15: reserved for future use]]></Description> | |
18 | - </Item> | |
19 | - <Item ID="1"><Name>Vehicle Speed</Name> | |
20 | - <Operations>R</Operations> | |
21 | - <MultipleInstances>Single</MultipleInstances> | |
22 | - <Mandatory>Mandatory</Mandatory> | |
23 | - <Type>Integer</Type> | |
24 | - <RangeEnumeration></RangeEnumeration> | |
25 | - <Units>km/h</Units> | |
26 | - <Description><![CDATA[Current speed of the vehicle.]]></Description> | |
27 | - </Item> | |
28 | - <Item ID="2"><Name>Vehicle Shift Status</Name> | |
29 | - <Operations>R</Operations> | |
30 | - <MultipleInstances>Single</MultipleInstances> | |
31 | - <Mandatory>Mandatory</Mandatory> | |
32 | - <Type>Integer</Type> | |
33 | - <RangeEnumeration>0..3</RangeEnumeration> | |
34 | - <Units></Units> | |
35 | - <Description><![CDATA[Current shift status of the vehicle. 0: Neutral 1: Forward 2: Reverse]]></Description> | |
36 | - </Item> | |
37 | - <Item ID="3"><Name>Vehicle AP Position</Name> | |
38 | - <Operations>R</Operations> | |
39 | - <MultipleInstances>Single</MultipleInstances> | |
40 | - <Mandatory>Mandatory</Mandatory> | |
41 | - <Type>Integer</Type> | |
42 | - <RangeEnumeration>0..100</RangeEnumeration> | |
43 | - <Units>/100</Units> | |
44 | - <Description><![CDATA[Current position of the accelerator pedal.]]></Description> | |
45 | - </Item> | |
46 | - <Item ID="4"><Name>Vehicle Power</Name> | |
47 | - <Operations>R</Operations> | |
48 | - <MultipleInstances>Single</MultipleInstances> | |
49 | - <Mandatory>Optional</Mandatory> | |
50 | - <Type>Float</Type> | |
51 | - <RangeEnumeration></RangeEnumeration> | |
52 | - <Units>kW</Units> | |
53 | - <Description><![CDATA[Current power of drive output/regenerative braking.]]></Description> | |
54 | - </Item> | |
55 | - <Item ID="5"><Name>Vehicle Drive Energy</Name> | |
56 | - <Operations>R</Operations> | |
57 | - <MultipleInstances>Single</MultipleInstances> | |
58 | - <Mandatory>Optional</Mandatory> | |
59 | - <Type>Float</Type> | |
60 | - <RangeEnumeration></RangeEnumeration> | |
61 | - <Units>Wh</Units> | |
62 | - <Description><![CDATA[Accumulated drive energy of the vehicle.]]></Description> | |
63 | - </Item> | |
64 | - <Item ID="6"><Name>Vehicle Energy Consumption Efficiency</Name> | |
65 | - <Operations>R</Operations> | |
66 | - <MultipleInstances>Single</MultipleInstances> | |
67 | - <Mandatory>Optional</Mandatory> | |
68 | - <Type>Float</Type> | |
69 | - <RangeEnumeration></RangeEnumeration> | |
70 | - <Units>Wh/km</Units> | |
71 | - <Description><![CDATA[Energy consumption efficiency of the vehicle.]]></Description> | |
72 | - </Item> | |
73 | - <Item ID="7"><Name>Vehicle Estimated Mileage</Name> | |
74 | - <Operations>R</Operations> | |
75 | - <MultipleInstances>Single</MultipleInstances> | |
76 | - <Mandatory>Optional</Mandatory> | |
77 | - <Type>Integer</Type> | |
78 | - <RangeEnumeration></RangeEnumeration> | |
79 | - <Units>km</Units> | |
80 | - <Description><![CDATA[Estimated mileage of current battery capacity.]]></Description> | |
81 | - </Item> | |
82 | - <Item ID="8"><Name>Vehicle Charge Cable Status</Name> | |
83 | - <Operations>R</Operations> | |
84 | - <MultipleInstances>Single</MultipleInstances> | |
85 | - <Mandatory>Mandatory</Mandatory> | |
86 | - <Type>Boolean</Type> | |
87 | - <RangeEnumeration></RangeEnumeration> | |
88 | - <Units></Units> | |
89 | - <Description><![CDATA[Whether the charge cable is connected or not. 0: unconnected 1: connected]]></Description> | |
90 | - </Item> | |
91 | - <Item ID="9"><Name>Vehicle Charge Status</Name> | |
92 | - <Operations>R</Operations> | |
93 | - <MultipleInstances>Single</MultipleInstances> | |
94 | - <Mandatory>Mandatory</Mandatory> | |
95 | - <Type>Integer</Type> | |
96 | - <RangeEnumeration>0..15</RangeEnumeration> | |
97 | - <Units></Units> | |
98 | - <Description><![CDATA[Charging status of the vehicle. 1: non-charge mode 2: charging 3: charge completed 4: charging abort abnormally ]]></Description> | |
99 | - </Item> | |
100 | - <Item ID="10"><Name>Vehicle Charge Voltage</Name> | |
101 | - <Operations>R</Operations> | |
102 | - <MultipleInstances>Single</MultipleInstances> | |
103 | - <Mandatory>Mandatory</Mandatory> | |
104 | - <Type>Float</Type> | |
105 | - <RangeEnumeration></RangeEnumeration> | |
106 | - <Units>V</Units> | |
107 | - <Description><![CDATA[Charging voltage]]></Description> | |
108 | - </Item> | |
109 | - <Item ID="11"><Name>Vehicle Charge Current</Name> | |
110 | - <Operations>R</Operations> | |
111 | - <MultipleInstances>Single</MultipleInstances> | |
112 | - <Mandatory>Mandatory</Mandatory> | |
113 | - <Type>Float</Type> | |
114 | - <RangeEnumeration></RangeEnumeration> | |
115 | - <Units>A</Units> | |
116 | - <Description><![CDATA[Charging current]]></Description> | |
117 | - </Item> | |
118 | - <Item ID="12"><Name>Vehicle Charge Remaining Time</Name> | |
119 | - <Operations>R</Operations> | |
120 | - <MultipleInstances>Single</MultipleInstances> | |
121 | - <Mandatory>Mandatory</Mandatory> | |
122 | - <Type>Integer</Type> | |
123 | - <RangeEnumeration></RangeEnumeration> | |
124 | - <Units>min</Units> | |
125 | - <Description><![CDATA[Remaining charging time]]></Description> | |
126 | - </Item> | |
127 | - <Item ID="13"><Name>Battery Pack Voltage</Name> | |
128 | - <Operations>R</Operations> | |
129 | - <MultipleInstances>Single</MultipleInstances> | |
130 | - <Mandatory>Mandatory</Mandatory> | |
131 | - <Type>Float</Type> | |
132 | - <RangeEnumeration></RangeEnumeration> | |
133 | - <Units>V</Units> | |
134 | - <Description><![CDATA[Voltage of the battery pack]]></Description> | |
135 | - </Item> | |
136 | - <Item ID="14"><Name>Battery Pack Current</Name> | |
137 | - <Operations>R</Operations> | |
138 | - <MultipleInstances>Single</MultipleInstances> | |
139 | - <Mandatory>Mandatory</Mandatory> | |
140 | - <Type>Float</Type> | |
141 | - <RangeEnumeration></RangeEnumeration> | |
142 | - <Units>A</Units> | |
143 | - <Description><![CDATA[Current of the battery pack]]></Description> | |
144 | - </Item> | |
145 | - <Item ID="15"><Name>Battery Pack Remaining Capacity</Name> | |
146 | - <Operations>R</Operations> | |
147 | - <MultipleInstances>Single</MultipleInstances> | |
148 | - <Mandatory>Mandatory</Mandatory> | |
149 | - <Type>Integer</Type> | |
150 | - <RangeEnumeration></RangeEnumeration> | |
151 | - <Units>Ah</Units> | |
152 | - <Description><![CDATA[Remaining capacity of the battery pack]]></Description> | |
153 | - </Item> | |
154 | - <Item ID="16"><Name>Battery Pack SOC</Name> | |
155 | - <Operations>R</Operations> | |
156 | - <MultipleInstances>Single</MultipleInstances> | |
157 | - <Mandatory>Mandatory</Mandatory> | |
158 | - <Type>Integer</Type> | |
159 | - <RangeEnumeration>0..100</RangeEnumeration> | |
160 | - <Units>/100</Units> | |
161 | - <Description><![CDATA[SOC(state of charge) of the battery pack]]></Description> | |
162 | - </Item> | |
163 | - <Item ID="17"><Name>Battery Pack SOH</Name> | |
164 | - <Operations>R</Operations> | |
165 | - <MultipleInstances>Single</MultipleInstances> | |
166 | - <Mandatory>Mandatory</Mandatory> | |
167 | - <Type>Integer</Type> | |
168 | - <RangeEnumeration>0..100</RangeEnumeration> | |
169 | - <Units>/100</Units> | |
170 | - <Description><![CDATA[SOH(state of health) of the battery pack]]></Description> | |
171 | - </Item> | |
172 | - <Item ID="18"><Name>Battery Cell MinVolt</Name> | |
173 | - <Operations>R</Operations> | |
174 | - <MultipleInstances>Single</MultipleInstances> | |
175 | - <Mandatory>Mandatory</Mandatory> | |
176 | - <Type>Integer</Type> | |
177 | - <RangeEnumeration></RangeEnumeration> | |
178 | - <Units>mV</Units> | |
179 | - <Description><![CDATA[Minimum voltage of the battery module (with parallel connection of cells)]]></Description> | |
180 | - </Item> | |
181 | - <Item ID="19"><Name>Battery Cell MaxVolt</Name> | |
182 | - <Operations>R</Operations> | |
183 | - <MultipleInstances>Single</MultipleInstances> | |
184 | - <Mandatory>Mandatory</Mandatory> | |
185 | - <Type>Integer</Type> | |
186 | - <RangeEnumeration></RangeEnumeration> | |
187 | - <Units>mV</Units> | |
188 | - <Description><![CDATA[Maximum voltage of the battery module (with parallel connection of cells)]]></Description> | |
189 | - </Item> | |
190 | - <Item ID="20"><Name>Battery Module MinTemp</Name> | |
191 | - <Operations>R</Operations> | |
192 | - <MultipleInstances>Single</MultipleInstances> | |
193 | - <Mandatory>Mandatory</Mandatory> | |
194 | - <Type>Integer</Type> | |
195 | - <RangeEnumeration></RangeEnumeration> | |
196 | - <Units>Cel</Units> | |
197 | - <Description><![CDATA[Minimum temperature of the battery module]]></Description> | |
198 | - </Item> | |
199 | - <Item ID="21"><Name>Battery Module MaxTemp</Name> | |
200 | - <Operations>R</Operations> | |
201 | - <MultipleInstances>Single</MultipleInstances> | |
202 | - <Mandatory>Mandatory</Mandatory> | |
203 | - <Type>Integer</Type> | |
204 | - <RangeEnumeration></RangeEnumeration> | |
205 | - <Units>Cel</Units> | |
206 | - <Description><![CDATA[Maximum temperature of the battery module]]></Description> | |
207 | - </Item> | |
208 | - <Item ID="22"><Name>Battery Connection Status</Name> | |
209 | - <Operations>R</Operations> | |
210 | - <MultipleInstances>Single</MultipleInstances> | |
211 | - <Mandatory>Mandatory</Mandatory> | |
212 | - <Type>Boolean</Type> | |
213 | - <RangeEnumeration></RangeEnumeration> | |
214 | - <Units></Units> | |
215 | - <Description><![CDATA[Whether the battery is connected or not. 0: unconnected 1: connected]]></Description> | |
216 | - </Item> | |
217 | - | |
218 | - <Item ID="24"><Name>MCU Voltage</Name> | |
219 | - <Operations>R</Operations> | |
220 | - <MultipleInstances>Single</MultipleInstances> | |
221 | - <Mandatory>Mandatory</Mandatory> | |
222 | - <Type>Integer</Type> | |
223 | - <RangeEnumeration></RangeEnumeration> | |
224 | - <Units>V</Units> | |
225 | - <Description><![CDATA[Voltage of the MCU(motor control unit)]]></Description> | |
226 | - </Item> | |
227 | - <Item ID="25"><Name>MCU Temperature</Name> | |
228 | - <Operations>R</Operations> | |
229 | - <MultipleInstances>Single</MultipleInstances> | |
230 | - <Mandatory>Mandatory</Mandatory> | |
231 | - <Type>Integer</Type> | |
232 | - <RangeEnumeration></RangeEnumeration> | |
233 | - <Units>Cel</Units> | |
234 | - <Description><![CDATA[Temperature of MCU(motor control unit)]]></Description> | |
235 | - </Item> | |
236 | - <Item ID="26"><Name>Motor Speed</Name> | |
237 | - <Operations>R</Operations> | |
238 | - <MultipleInstances>Single</MultipleInstances> | |
239 | - <Mandatory>Mandatory</Mandatory> | |
240 | - <Type>Integer</Type> | |
241 | - <RangeEnumeration></RangeEnumeration> | |
242 | - <Units>1/min</Units> | |
243 | - <Description><![CDATA[Rotational speed of the motor]]></Description> | |
244 | - </Item> | |
245 | - <Item ID="27"><Name>Motor Temperature</Name> | |
246 | - <Operations>R</Operations> | |
247 | - <MultipleInstances>Single</MultipleInstances> | |
248 | - <Mandatory>Mandatory</Mandatory> | |
249 | - <Type>Integer</Type> | |
250 | - <RangeEnumeration></RangeEnumeration> | |
251 | - <Units>Cel</Units> | |
252 | - <Description><![CDATA[Temperature of the motor]]></Description> | |
253 | - </Item> | |
254 | - <Item ID="28"><Name>Motor OT Warning</Name> | |
255 | - <Operations>R</Operations> | |
256 | - <MultipleInstances>Single</MultipleInstances> | |
257 | - <Mandatory>Optional</Mandatory> | |
258 | - <Type>Boolean</Type> | |
259 | - <RangeEnumeration></RangeEnumeration> | |
260 | - <Units></Units> | |
261 | - <Description><![CDATA[Whether the motor is OT or not. 0: normal 1: OT warning]]></Description> | |
262 | - </Item> | |
263 | - <Item ID="29"><Name>MCU OT Warning</Name> | |
264 | - <Operations>R</Operations> | |
265 | - <MultipleInstances>Single</MultipleInstances> | |
266 | - <Mandatory>Optional</Mandatory> | |
267 | - <Type>Boolean</Type> | |
268 | - <RangeEnumeration></RangeEnumeration> | |
269 | - <Units></Units> | |
270 | - <Description><![CDATA[Whether the MCU is OT or not. 0: normal 1: OT warning]]></Description> | |
271 | - </Item> | |
272 | - <Item ID="30"><Name>Battery Pack OT Warning</Name> | |
273 | - <Operations>R</Operations> | |
274 | - <MultipleInstances>Single</MultipleInstances> | |
275 | - <Mandatory>Optional</Mandatory> | |
276 | - <Type>Boolean</Type> | |
277 | - <RangeEnumeration></RangeEnumeration> | |
278 | - <Units></Units> | |
279 | - <Description><![CDATA[Whether the battery pack is OT or not. 0: normal 1: OT warning]]></Description> | |
280 | - </Item> | |
281 | - <Item ID="31"><Name>MCU fault</Name> | |
282 | - <Operations>R</Operations> | |
283 | - <MultipleInstances>Single</MultipleInstances> | |
284 | - <Mandatory>Optional</Mandatory> | |
285 | - <Type>Boolean</Type> | |
286 | - <RangeEnumeration></RangeEnumeration> | |
287 | - <Units></Units> | |
288 | - <Description><![CDATA[Status of MCU. 0: normal 1: level 1 minor fault 2: level 2 critical fault]]></Description> | |
289 | - </Item> | |
290 | - <Item ID="32"><Name>Motor Error</Name> | |
291 | - <Operations>R</Operations> | |
292 | - <MultipleInstances>Single</MultipleInstances> | |
293 | - <Mandatory>Optional</Mandatory> | |
294 | - <Type>Boolean</Type> | |
295 | - <RangeEnumeration></RangeEnumeration> | |
296 | - <Units></Units> | |
297 | - <Description><![CDATA[Status of the battery pack. 0: normal 1: level D25 minor fault 2: level 2 critical fault]]></Description> | |
298 | - </Item></Resources> | |
299 | - <Description2><![CDATA[]]></Description2> | |
300 | - </Object> | |
301 | -</LWM2M> |
common/transport/lwm2m/src/main/resources/models/10245.xml
deleted
100644 → 0
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | - | |
3 | -<!-- BSD-3 Clause License | |
4 | - | |
5 | -Copyright 2019 Vodafone Group. | |
6 | - | |
7 | -Redistribution and use in source and binary forms, with or without | |
8 | -modification, are permitted provided that the following conditions | |
9 | -are met: | |
10 | - | |
11 | -1. Redistributions of source code must retain the above copyright | |
12 | -notice, this list of conditions and the following disclaimer. | |
13 | -2. Redistributions in binary form must reproduce the above copyright | |
14 | -notice, this list of conditions and the following disclaimer in the | |
15 | -documentation and/or other materials provided with the distribution. | |
16 | -3. Neither the name of the copyright holder nor the names of its | |
17 | -contributors may be used to endorse or promote products derived | |
18 | -from this software without specific prior written permission. | |
19 | - | |
20 | -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
21 | -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
22 | -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS | |
23 | -FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE | |
24 | -COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, | |
25 | -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, | |
26 | -BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | |
27 | -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER | |
28 | -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | |
29 | -LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN | |
30 | -ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | |
31 | -POSSIBILITY OF SUCH DAMAGE. | |
32 | ---> | |
33 | -<LWM2M xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://openmobilealliance.org/tech/profiles/LWM2M.xsd"> | |
34 | - <Object ObjectType="MODefinition"> | |
35 | - <Name>Relay Management</Name> | |
36 | - <Description1>This LWM2M Object provides a range of eNB related measurements and parameters of which several are changeable. Furthermore, it includes Resources to enable/disable the eNB.</Description1> | |
37 | - <ObjectID>10245</ObjectID> | |
38 | - <ObjectURN>urn:oma:lwm2m:x:10245</ObjectURN> | |
39 | - <LWM2MVersion/> | |
40 | - <ObjectVersion/> | |
41 | - <MultipleInstances>Single</MultipleInstances> | |
42 | - <Mandatory>Optional</Mandatory> | |
43 | - <Resources> | |
44 | - <Item ID="0"> | |
45 | - <Name>eNB Availability</Name> | |
46 | - <Operations>R</Operations> | |
47 | - <MultipleInstances>Single</MultipleInstances> | |
48 | - <Mandatory>Mandatory</Mandatory> | |
49 | - <Type>Boolean</Type> | |
50 | - <RangeEnumeration>AVAILABLE; UNAVAILABLE</RangeEnumeration> | |
51 | - <Units></Units> | |
52 | - <Description>This field indicates to the CCC whether or not the eNB of the CrowdBox is available for activation: AVAILABLE = TRUE; UNAVAILABLE = FALSE This is set by the CrowdBox itself using an algorithm specific to the use case and based on parameters known to the CrowdBox which may not necessarily be signalled to the network. In the absence of a more specific algorithm, this parameter should be set to AVAILABLE, unless a fault is detected which would prevent activation of the eNB, in which case it should be set to UNAVAILABLE.</Description> | |
53 | - </Item> | |
54 | - <Item ID="1"> | |
55 | - <Name>GPS Status</Name> | |
56 | - <Operations>R</Operations> | |
57 | - <MultipleInstances>Single</MultipleInstances> | |
58 | - <Mandatory>Mandatory</Mandatory> | |
59 | - <Type>Boolean</Type> | |
60 | - <RangeEnumeration>UNSYNCHRONISED; SYNCHRONISED</RangeEnumeration> | |
61 | - <Units></Units> | |
62 | - <Description>States whether the CrowdBox GPS receiver is synchronised to GPS time or not: UNSYCHRONISED = FALSE; SYNCHRONISED = TRUE If more than one GPS receiver is used by the CrowdBox, then SYNCHRONISED should be reported only if all receivers are synchronised.</Description> | |
63 | - </Item> | |
64 | - <Item ID="2"> | |
65 | - <Name>Orientation</Name> | |
66 | - <Operations>R</Operations> | |
67 | - <MultipleInstances>Single</MultipleInstances> | |
68 | - <Mandatory>Optional</Mandatory> | |
69 | - <Type>Integer</Type> | |
70 | - <RangeEnumeration>-180..180</RangeEnumeration> | |
71 | - <Units>deg</Units> | |
72 | - <Description>Orientation of CrowdBox with respect to magnetic north. The reference orientation of the CrowdBox shall be the pointing direction of the eNB antenna(s) or, in the case of an omni-directional CrowdBox antenna, as defined in the accompanying product documentation.</Description> | |
73 | - </Item> | |
74 | - <Item ID="3"> | |
75 | - <Name>eNB EARFCN</Name> | |
76 | - <Operations>RW</Operations> | |
77 | - <MultipleInstances>Single</MultipleInstances> | |
78 | - <Mandatory>Mandatory</Mandatory> | |
79 | - <Type>Integer</Type> | |
80 | - <RangeEnumeration>0..65535</RangeEnumeration> | |
81 | - <Units></Units> | |
82 | - <Description>EARFCN currently used by the eNB. Highest valid value in 3GPP is currently 46589. If the requested EARFCN is not supported by the eNB, the response should be "Bad Request". The CrowdBox shall only apply a change of this resource upon execution of the “Enable eNB” command.</Description> | |
83 | - </Item> | |
84 | - <Item ID="4"> | |
85 | - <Name>eNB Bandwidth</Name> | |
86 | - <Operations>RW</Operations> | |
87 | - <MultipleInstances>Single</MultipleInstances> | |
88 | - <Mandatory>Mandatory</Mandatory> | |
89 | - <Type>Integer</Type> | |
90 | - <RangeEnumeration>5, 10, 15, 20</RangeEnumeration> | |
91 | - <Units></Units> | |
92 | - <Description>Bandwidth of the currently used eNB carrier. If the requested bandwidth is not supported by the eNB, the response should be "Bad Request". The CrowdBox shall only apply a change of this resource upon execution of the “Enable eNB” command.</Description> | |
93 | - </Item> | |
94 | - <Item ID="5"> | |
95 | - <Name>Backhaul Primary EARFCN</Name> | |
96 | - <Operations>RW</Operations> | |
97 | - <MultipleInstances>Single</MultipleInstances> | |
98 | - <Mandatory>Mandatory</Mandatory> | |
99 | - <Type>Integer</Type> | |
100 | - <RangeEnumeration>0..65535</RangeEnumeration> | |
101 | - <Units></Units> | |
102 | - <Description>EARFCN of primary cell used for the backhaul. If the requested EARFCN is not supported by the CrowdBox UE, the response should be "Bad Request". The CrowdBox shall only apply a change of this resource upon execution of the “Enable eNB” command.</Description> | |
103 | - </Item> | |
104 | - <Item ID="6"> | |
105 | - <Name>Backhaul Secondary EARFCN</Name> | |
106 | - <Operations>RW</Operations> | |
107 | - <MultipleInstances>Multiple</MultipleInstances> | |
108 | - <Mandatory>Mandatory</Mandatory> | |
109 | - <Type>Integer</Type> | |
110 | - <RangeEnumeration>0..65535</RangeEnumeration> | |
111 | - <Units></Units> | |
112 | - <Description>EARFCN of any secondary cells used for the backhaul, in the event that carrier aggregation is being used. If the requested EARFCN is not supported by the CrowdBox UE, the response should be "Bad Request". The CrowdBox shall only apply a change of this resource upon execution of the “Enable eNB” command.</Description> | |
113 | - </Item> | |
114 | - <Item ID="7"> | |
115 | - <Name>Cumulative Measurement Window</Name> | |
116 | - <Operations>RW</Operations> | |
117 | - <MultipleInstances>Single</MultipleInstances> | |
118 | - <Mandatory>Mandatory</Mandatory> | |
119 | - <Type>Integer</Type> | |
120 | - <RangeEnumeration>0..65535</RangeEnumeration> | |
121 | - <Units>s</Units> | |
122 | - <Description>The current measurement interval over which cumulative statistics are collected for the following resources: Cumulative Number of Unique Users, Cumulative Downlink Throughput per Connected User, Cumulative Uplink Throughput per Connected User. Note that this measurement period is a sliding window rather than a granularity period. Measurements should never be reset, but rather old measurements should be removed from the cumulative total as they fall outside of the window. A value of 0 shall be interpreted as meaning only the current value should be reported. A value of 65535 shall be interpreted as an infinite window size (i.e. old measurements are never discarded).</Description> | |
123 | - </Item> | |
124 | - <Item ID="8"> | |
125 | - <Name>eNB ECI</Name> | |
126 | - <Operations>R</Operations> | |
127 | - <MultipleInstances>Single</MultipleInstances> | |
128 | - <Mandatory>Mandatory</Mandatory> | |
129 | - <Type>Integer</Type> | |
130 | - <RangeEnumeration>0..2^28-1</RangeEnumeration> | |
131 | - <Units></Units> | |
132 | - <Description>A 28 bit E-UTRAN Cell Identifier (ECI)</Description> | |
133 | - </Item> | |
134 | - <Item ID="9"> | |
135 | - <Name>eNB Status</Name> | |
136 | - <Operations>RW</Operations> | |
137 | - <MultipleInstances>Single</MultipleInstances> | |
138 | - <Mandatory>Mandatory</Mandatory> | |
139 | - <Type>Boolean</Type> | |
140 | - <RangeEnumeration></RangeEnumeration> | |
141 | - <Units></Units> | |
142 | - <Description>This resource indicates the current status of the eNB and can be used by the CCC to change the state from enabled to disabled. TRUE = eNB enabled FALSE = eNB disabled</Description> | |
143 | - </Item> | |
144 | - <Item ID="10"> | |
145 | - <Name>Enable eNB</Name> | |
146 | - <Operations>E</Operations> | |
147 | - <MultipleInstances>Single</MultipleInstances> | |
148 | - <Mandatory>Mandatory</Mandatory> | |
149 | - <Type></Type> | |
150 | - <RangeEnumeration></RangeEnumeration> | |
151 | - <Units></Units> | |
152 | - <Description>Enables the eNB. In addition the CrowdBox shall also update its configuration to reflect the current state of other relevant parameters. This might require a reboot.</Description> | |
153 | - </Item> | |
154 | - <Item ID="11"> | |
155 | - <Name>eNB Maximum Power</Name> | |
156 | - <Operations>RW</Operations> | |
157 | - <MultipleInstances>Single</MultipleInstances> | |
158 | - <Mandatory>Mandatory</Mandatory> | |
159 | - <Type>Integer</Type> | |
160 | - <RangeEnumeration>0..63</RangeEnumeration> | |
161 | - <Units>dBm</Units> | |
162 | - <Description>Maximum power for the eNB measured as the sum of input powers to all antenna connectors. The maximum power per antenna port is equal to the maximum eNB power divided by the number of antenna ports. If the requested power is above or below the maximum or minimum power levels of the eNB, then the power level should be set to the maximum or minimum respectively. The CrowdBox shall only apply a change of this resource upon execution of the “Enable eNB” command.</Description> | |
163 | - </Item> | |
164 | - <Item ID="12"> | |
165 | - <Name>Backhaul Primary q-OffsetFreq</Name> | |
166 | - <Operations>RW</Operations> | |
167 | - <MultipleInstances>Single</MultipleInstances> | |
168 | - <Mandatory>Mandatory</Mandatory> | |
169 | - <Type>Integer</Type> | |
170 | - <RangeEnumeration>-24..24</RangeEnumeration> | |
171 | - <Units>dB</Units> | |
172 | - <Description>q-OffsetFreq parameter for the backhaul primary EARFCN in SIB5 of the CrowdBox eNB BCCH. See TS 36.331 for details. Range: dB-24; dB-22 .. dB24 The CrowdBox shall only apply a change of this resource upon execution of the “Enable eNB” command.</Description> | |
173 | - </Item> | |
174 | - <Item ID="13"> | |
175 | - <Name>Backhaul Secondary q-OffsetFreq</Name> | |
176 | - <Operations>RW</Operations> | |
177 | - <MultipleInstances>Multiple</MultipleInstances> | |
178 | - <Mandatory>Mandatory</Mandatory> | |
179 | - <Type>Integer</Type> | |
180 | - <RangeEnumeration>-24..24</RangeEnumeration> | |
181 | - <Units>dB</Units> | |
182 | - <Description>q-OffsetFreq parameter for the backhaul secondary EARFCN in SIB5 of the CrowdBox eNB BCCH. See TS 36.331 for details Range: dB-24; dB-22 .. dB24 The CrowdBox shall only apply a change of this resource upon execution of the “Enable eNB” command.</Description> | |
183 | - </Item> | |
184 | - <Item ID="14"> | |
185 | - <Name>Neighbour CrowdBox EARFCN</Name> | |
186 | - <Operations>RW</Operations> | |
187 | - <MultipleInstances>Multiple</MultipleInstances> | |
188 | - <Mandatory>Mandatory</Mandatory> | |
189 | - <Type>Integer</Type> | |
190 | - <RangeEnumeration>0..66635</RangeEnumeration> | |
191 | - <Units></Units> | |
192 | - <Description>EARFCN of a neighbour CrowdBox. Each instance of this resource relates to the same instance of resource ID 15.</Description> | |
193 | - </Item> | |
194 | - <Item ID="15"> | |
195 | - <Name>Neighbour CrowdBox q-OffsetFreq</Name> | |
196 | - <Operations>RW</Operations> | |
197 | - <MultipleInstances>Multiple</MultipleInstances> | |
198 | - <Mandatory>Mandatory</Mandatory> | |
199 | - <Type>Integer</Type> | |
200 | - <RangeEnumeration>-24..24</RangeEnumeration> | |
201 | - <Units>dB</Units> | |
202 | - <Description>q-OffsetFreq parameter of the Neighbour CrowdBox EARFCN in SIB5 of the Neighbour CrowdBox eNB BCCH. See TS 36.331 for details Range: dB-24; dB-22 .. dB24 Each instance of this resource relates to the same instance of resource ID 14. The CrowdBox shall only apply a change of this resource upon execution of the “Enable eNB” command.</Description> | |
203 | - </Item> | |
204 | - <Item ID="16"> | |
205 | - <Name>Serving Macro eNB cellIndividualOffset</Name> | |
206 | - <Operations>RW</Operations> | |
207 | - <MultipleInstances>Single</MultipleInstances> | |
208 | - <Mandatory>Mandatory</Mandatory> | |
209 | - <Type>Integer</Type> | |
210 | - <RangeEnumeration>-24..24</RangeEnumeration> | |
211 | - <Units>dB</Units> | |
212 | - <Description>Specifies the value of the cellIndividualOffset parameter applicable to the CrowdBox macro serving cell that is to be signalled to connected UEs in their measurement configuration information . See TS 36.331 for details. The CrowdBox shall only apply a change of this resource upon execution of the “Enable eNB” command.</Description> | |
213 | - </Item> | |
214 | - </Resources> | |
215 | - <Description2></Description2> | |
216 | - </Object> | |
217 | -</LWM2M> |
common/transport/lwm2m/src/main/resources/models/10246.xml
deleted
100644 → 0
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | - | |
3 | -<!-- BSD-3 Clause License | |
4 | - | |
5 | -Copyright 2019 Vodafone Group. | |
6 | - | |
7 | -Redistribution and use in source and binary forms, with or without | |
8 | -modification, are permitted provided that the following conditions | |
9 | -are met: | |
10 | - | |
11 | -1. Redistributions of source code must retain the above copyright | |
12 | -notice, this list of conditions and the following disclaimer. | |
13 | -2. Redistributions in binary form must reproduce the above copyright | |
14 | -notice, this list of conditions and the following disclaimer in the | |
15 | -documentation and/or other materials provided with the distribution. | |
16 | -3. Neither the name of the copyright holder nor the names of its | |
17 | -contributors may be used to endorse or promote products derived | |
18 | -from this software without specific prior written permission. | |
19 | - | |
20 | -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
21 | -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
22 | -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS | |
23 | -FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE | |
24 | -COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, | |
25 | -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, | |
26 | -BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | |
27 | -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER | |
28 | -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | |
29 | -LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN | |
30 | -ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | |
31 | -POSSIBILITY OF SUCH DAMAGE. | |
32 | ---> | |
33 | - | |
34 | -<LWM2M xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://openmobilealliance.org/tech/profiles/LWM2M.xsd"> | |
35 | - <Object ObjectType="MODefinition"> | |
36 | - <Name>CrowdBox Measurements</Name> | |
37 | - <Description1>This LWM2M Object provides CrowdBox-related measurements such as serving cell parameters, backhaul timing advance, and neighbour cell reports.</Description1> | |
38 | - <ObjectID>10246</ObjectID> | |
39 | - <ObjectURN>urn:oma:lwm2m:x:10246</ObjectURN> | |
40 | - <LWM2MVersion/> | |
41 | - <ObjectVersion/> | |
42 | - <MultipleInstances>Single</MultipleInstances> | |
43 | - <Mandatory>Optional</Mandatory> | |
44 | - <Resources> | |
45 | - <Item ID="0"> | |
46 | - <Name>Serving Cell ID</Name> | |
47 | - <Operations>R</Operations> | |
48 | - <MultipleInstances>Single</MultipleInstances> | |
49 | - <Mandatory>Mandatory</Mandatory> | |
50 | - <Type>Integer</Type> | |
51 | - <RangeEnumeration>0..2^32-1</RangeEnumeration> | |
52 | - <Units></Units> | |
53 | - <Description>Serving cell ID as specified by the cellIdentity field broadcast in SIB1 of the serving cell (see TS 36.331).</Description> | |
54 | - </Item> | |
55 | - <Item ID="1"> | |
56 | - <Name>Serving Cell RSRP</Name> | |
57 | - <Operations>R</Operations> | |
58 | - <MultipleInstances>Single</MultipleInstances> | |
59 | - <Mandatory>Mandatory</Mandatory> | |
60 | - <Type>Integer</Type> | |
61 | - <RangeEnumeration>0..97</RangeEnumeration> | |
62 | - <Units></Units> | |
63 | - <Description>Serving cell RSRP, as defined in TS 36.133, Section 9.1.4. Range: RSRP_00; RSRP_01 .. RSRP_97</Description> | |
64 | - </Item> | |
65 | - <Item ID="2"> | |
66 | - <Name>Serving Cell RSRQ</Name> | |
67 | - <Operations>R</Operations> | |
68 | - <MultipleInstances>Single</MultipleInstances> | |
69 | - <Mandatory>Mandatory</Mandatory> | |
70 | - <Type>Integer</Type> | |
71 | - <RangeEnumeration>-30..46</RangeEnumeration> | |
72 | - <Units></Units> | |
73 | - <Description>Serving cell RSRQ, as defined in TS 36.133, Section 9.1.7. Range: RSRQ_-30; RSRQ_-29 .. RSRQ_46</Description> | |
74 | - </Item> | |
75 | - <Item ID="3"> | |
76 | - <Name>Serving Cell SINR</Name> | |
77 | - <Operations>R</Operations> | |
78 | - <MultipleInstances>Single</MultipleInstances> | |
79 | - <Mandatory>Mandatory</Mandatory> | |
80 | - <Type>Integer</Type> | |
81 | - <RangeEnumeration>-10..30</RangeEnumeration> | |
82 | - <Units>dB</Units> | |
83 | - <Description>SINR of serving cell as estimated by the CrowdBox. Note that this is a proprietary measurement dependent on the UE chipset manufacturer. The UE chipset used should be stated in the accompanying product documentation.</Description> | |
84 | - </Item> | |
85 | - <Item ID="4"> | |
86 | - <Name>Cumulative Backhaul Timing Advance</Name> | |
87 | - <Operations>R</Operations> | |
88 | - <MultipleInstances>Single</MultipleInstances> | |
89 | - <Mandatory>Optional</Mandatory> | |
90 | - <Type>Integer</Type> | |
91 | - <RangeEnumeration>0..65535</RangeEnumeration> | |
92 | - <Units></Units> | |
93 | - <Description>The cumulative timing advance signalled by the current serving cell to the CrowdBox. This is the sum of the initial timing advance signalled in the MAC payload of the Random Access Response (11 bits, 0 .. 1282) and subsequent adjustments signalled in the MAC PDU of DL-SCH transmissions (6 bits, -31 .. 32). See TS 36.321 for details.</Description> | |
94 | - </Item> | |
95 | - <Item ID="5"> | |
96 | - <Name>Neighbour Cell Report</Name> | |
97 | - <Operations>R</Operations> | |
98 | - <MultipleInstances>Multiple</MultipleInstances> | |
99 | - <Mandatory>Mandatory</Mandatory> | |
100 | - <Type>Objlnk</Type> | |
101 | - <RangeEnumeration></RangeEnumeration> | |
102 | - <Units></Units> | |
103 | - <Description>A link to the "Neighbour Cell Report" object for each neighbour cell of the CrowdBox.</Description> | |
104 | - </Item> | |
105 | - </Resources> | |
106 | - <Description2></Description2> | |
107 | - </Object> | |
108 | -</LWM2M> |
common/transport/lwm2m/src/main/resources/models/10247.xml
deleted
100644 → 0
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | - | |
3 | -<!-- BSD-3 Clause License | |
4 | - | |
5 | -Copyright 2019 Vodafone Group. | |
6 | - | |
7 | -Redistribution and use in source and binary forms, with or without | |
8 | -modification, are permitted provided that the following conditions | |
9 | -are met: | |
10 | - | |
11 | -1. Redistributions of source code must retain the above copyright | |
12 | -notice, this list of conditions and the following disclaimer. | |
13 | -2. Redistributions in binary form must reproduce the above copyright | |
14 | -notice, this list of conditions and the following disclaimer in the | |
15 | -documentation and/or other materials provided with the distribution. | |
16 | -3. Neither the name of the copyright holder nor the names of its | |
17 | -contributors may be used to endorse or promote products derived | |
18 | -from this software without specific prior written permission. | |
19 | - | |
20 | -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
21 | -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
22 | -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS | |
23 | -FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE | |
24 | -COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, | |
25 | -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, | |
26 | -BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | |
27 | -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER | |
28 | -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | |
29 | -LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN | |
30 | -ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | |
31 | -POSSIBILITY OF SUCH DAMAGE. | |
32 | ---> | |
33 | - | |
34 | -<LWM2M xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://openmobilealliance.org/tech/profiles/LWM2M.xsd"> | |
35 | - <Object ObjectType="MODefinition"> | |
36 | - <Name>Neighbour Cell Report</Name> | |
37 | - <Description1>This LWM2M Object provides the neighbour cell report. The CrowdBox Measurements Object and the Connected UE Report Object have both Objlnk Resources pointing to this Object.</Description1> | |
38 | - <ObjectID>10247</ObjectID> | |
39 | - <ObjectURN>urn:oma:lwm2m:x:10247</ObjectURN> | |
40 | - <LWM2MVersion/> | |
41 | - <ObjectVersion/> | |
42 | - <MultipleInstances>Multiple</MultipleInstances> | |
43 | - <Mandatory>Optional</Mandatory> | |
44 | - <Resources> | |
45 | - <Item ID="0"> | |
46 | - <Name>Neighbour PCI</Name> | |
47 | - <Operations>R</Operations> | |
48 | - <MultipleInstances>Single</MultipleInstances> | |
49 | - <Mandatory>Mandatory</Mandatory> | |
50 | - <Type>Integer</Type> | |
51 | - <RangeEnumeration>0..503</RangeEnumeration> | |
52 | - <Units></Units> | |
53 | - <Description>Physical Cell ID of neighbouring LTE cell, as defined in TS 36.211</Description> | |
54 | - </Item> | |
55 | - <Item ID="1"> | |
56 | - <Name>Neighbour Cell ID</Name> | |
57 | - <Operations>R</Operations> | |
58 | - <MultipleInstances>Single</MultipleInstances> | |
59 | - <Mandatory>Optional</Mandatory> | |
60 | - <Type>Integer</Type> | |
61 | - <RangeEnumeration>0..2^32-1</RangeEnumeration> | |
62 | - <Units></Units> | |
63 | - <Description>Neighbour cell ID as specified by the cellIdentity field broadcast in SIB1 of the neighbour cell (see TS 36.331).</Description> | |
64 | - </Item> | |
65 | - <Item ID="2"> | |
66 | - <Name>Neighbour Cell Rank</Name> | |
67 | - <Operations>R</Operations> | |
68 | - <MultipleInstances>Single</MultipleInstances> | |
69 | - <Mandatory>Mandatory</Mandatory> | |
70 | - <Type>Integer</Type> | |
71 | - <RangeEnumeration>0..255</RangeEnumeration> | |
72 | - <Units></Units> | |
73 | - <Description>Current neighbour cell rank. Neighbour cells should be ordered (ranked) by the CrowdBox according to neighbour cell RSRP, with a higher RSRP corresponding to a lower index. Hence the neighbouring cell with the highest RSRP should be neighbour cell 0, the second neighbour cell 1, and so on.</Description> | |
74 | - </Item> | |
75 | - <Item ID="3"> | |
76 | - <Name>Neighbour Cell RSRP</Name> | |
77 | - <Operations>R</Operations> | |
78 | - <MultipleInstances>Single</MultipleInstances> | |
79 | - <Mandatory>Mandatory</Mandatory> | |
80 | - <Type>Integer</Type> | |
81 | - <RangeEnumeration>0..97</RangeEnumeration> | |
82 | - <Units></Units> | |
83 | - <Description>Neighbour cell RSRP, as defined in TS 36.133, Section 9.1.4. Range: RSRP_00; RSRP_01 .. RSRP_97</Description> | |
84 | - </Item> | |
85 | - <Item ID="4"> | |
86 | - <Name>Neighbour Cell RSRQ</Name> | |
87 | - <Operations>R</Operations> | |
88 | - <MultipleInstances>Single</MultipleInstances> | |
89 | - <Mandatory>Mandatory</Mandatory> | |
90 | - <Type>Integer</Type> | |
91 | - <RangeEnumeration>-30..46</RangeEnumeration> | |
92 | - <Units></Units> | |
93 | - <Description>Neighbour cell RSRQ, as defined in TS 36.133, Section 9.1.7. Range: RSRQ_-30; RSRQ_-29 .. RSRQ_46</Description> | |
94 | - </Item> | |
95 | - </Resources> | |
96 | - <Description2></Description2> | |
97 | - </Object> | |
98 | -</LWM2M> |
common/transport/lwm2m/src/main/resources/models/10248.xml
deleted
100644 → 0
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | - | |
3 | -<!-- BSD-3 Clause License | |
4 | - | |
5 | -Copyright 2019 Vodafone Group. | |
6 | - | |
7 | -Redistribution and use in source and binary forms, with or without | |
8 | -modification, are permitted provided that the following conditions | |
9 | -are met: | |
10 | - | |
11 | -1. Redistributions of source code must retain the above copyright | |
12 | -notice, this list of conditions and the following disclaimer. | |
13 | -2. Redistributions in binary form must reproduce the above copyright | |
14 | -notice, this list of conditions and the following disclaimer in the | |
15 | -documentation and/or other materials provided with the distribution. | |
16 | -3. Neither the name of the copyright holder nor the names of its | |
17 | -contributors may be used to endorse or promote products derived | |
18 | -from this software without specific prior written permission. | |
19 | - | |
20 | -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
21 | -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
22 | -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS | |
23 | -FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE | |
24 | -COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, | |
25 | -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, | |
26 | -BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | |
27 | -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER | |
28 | -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | |
29 | -LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN | |
30 | -ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | |
31 | -POSSIBILITY OF SUCH DAMAGE. | |
32 | ---> | |
33 | - | |
34 | -<LWM2M xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://openmobilealliance.org/tech/profiles/LWM2M.xsd"> | |
35 | - <Object ObjectType="MODefinition"> | |
36 | - <Name>Connected UE Measurements</Name> | |
37 | - <Description1>This LWM2M Object provides a range of measurements of connected UEs and provides an Object link to the Connected UE report.</Description1> | |
38 | - <ObjectID>10248</ObjectID> | |
39 | - <ObjectURN>urn:oma:lwm2m:x:10248</ObjectURN> | |
40 | - <LWM2MVersion/> | |
41 | - <ObjectVersion/> | |
42 | - <MultipleInstances>Single</MultipleInstances> | |
43 | - <Mandatory>Optional</Mandatory> | |
44 | - <Resources> | |
45 | - <Item ID="0"> | |
46 | - <Name>Number of Connected Users</Name> | |
47 | - <Operations>R</Operations> | |
48 | - <MultipleInstances>Single</MultipleInstances> | |
49 | - <Mandatory>Mandatory</Mandatory> | |
50 | - <Type>Integer</Type> | |
51 | - <RangeEnumeration>0..255</RangeEnumeration> | |
52 | - <Units></Units> | |
53 | - <Description>The number of different UEs currently connected to the eNB (i.e. in RRC_CONNECTED state).</Description> | |
54 | - </Item> | |
55 | - <Item ID="1"> | |
56 | - <Name>Cumulative Number of Unique Users</Name> | |
57 | - <Operations>R</Operations> | |
58 | - <MultipleInstances>Single</MultipleInstances> | |
59 | - <Mandatory>Mandatory</Mandatory> | |
60 | - <Type>Integer</Type> | |
61 | - <RangeEnumeration>0..65535</RangeEnumeration> | |
62 | - <Units></Units> | |
63 | - <Description>The number of different UEs that have connected to the eNB over the immediately preceding period specified by the "Cumulative Measurement Window" field.</Description> | |
64 | - </Item> | |
65 | - <Item ID="2"> | |
66 | - <Name>Connected UE Report</Name> | |
67 | - <Operations>R</Operations> | |
68 | - <MultipleInstances>Multiple</MultipleInstances> | |
69 | - <Mandatory>Mandatory</Mandatory> | |
70 | - <Type>Objlnk</Type> | |
71 | - <RangeEnumeration></RangeEnumeration> | |
72 | - <Units></Units> | |
73 | - <Description>Provides an Object link to the Connected UE Report which provides a range of information related to the connected UEs.</Description> | |
74 | - </Item> | |
75 | - </Resources> | |
76 | - <Description2></Description2> | |
77 | - </Object> | |
78 | -</LWM2M> |
common/transport/lwm2m/src/main/resources/models/10249.xml
deleted
100644 → 0
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | - | |
3 | -<!-- BSD-3 Clause License | |
4 | - | |
5 | -Copyright 2019 Vodafone Group. | |
6 | - | |
7 | -Redistribution and use in source and binary forms, with or without | |
8 | -modification, are permitted provided that the following conditions | |
9 | -are met: | |
10 | - | |
11 | -1. Redistributions of source code must retain the above copyright | |
12 | -notice, this list of conditions and the following disclaimer. | |
13 | -2. Redistributions in binary form must reproduce the above copyright | |
14 | -notice, this list of conditions and the following disclaimer in the | |
15 | -documentation and/or other materials provided with the distribution. | |
16 | -3. Neither the name of the copyright holder nor the names of its | |
17 | -contributors may be used to endorse or promote products derived | |
18 | -from this software without specific prior written permission. | |
19 | - | |
20 | -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
21 | -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
22 | -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS | |
23 | -FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE | |
24 | -COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, | |
25 | -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, | |
26 | -BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | |
27 | -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER | |
28 | -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | |
29 | -LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN | |
30 | -ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | |
31 | -POSSIBILITY OF SUCH DAMAGE. | |
32 | ---> | |
33 | - | |
34 | -<LWM2M xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://openmobilealliance.org/tech/profiles/LWM2M.xsd"> | |
35 | - <Object ObjectType="MODefinition"> | |
36 | - <Name>Connected UE Report</Name> | |
37 | - <Description1>This LWM2M Object provides a range of information related to the connected UEs.</Description1> | |
38 | - <ObjectID>10249</ObjectID> | |
39 | - <ObjectURN>urn:oma:lwm2m:x:10249</ObjectURN> | |
40 | - <LWM2MVersion/> | |
41 | - <ObjectVersion/> | |
42 | - <MultipleInstances>Multiple</MultipleInstances> | |
43 | - <Mandatory>Optional</Mandatory> | |
44 | - <Resources> | |
45 | - <Item ID="0"> | |
46 | - <Name>Connected User MMEC</Name> | |
47 | - <Operations>R</Operations> | |
48 | - <MultipleInstances>Single</MultipleInstances> | |
49 | - <Mandatory>Mandatory</Mandatory> | |
50 | - <Type>Integer</Type> | |
51 | - <RangeEnumeration>0..255</RangeEnumeration> | |
52 | - <Units></Units> | |
53 | - <Description>MMEC signalled by the UE to the eNB in the RRCConnectionRequest message (see TS 36.331).</Description> | |
54 | - </Item> | |
55 | - <Item ID="1"> | |
56 | - <Name>Connected User M-TMSI</Name> | |
57 | - <Operations>R</Operations> | |
58 | - <MultipleInstances>Single</MultipleInstances> | |
59 | - <Mandatory>Mandatory</Mandatory> | |
60 | - <Type>Integer</Type> | |
61 | - <RangeEnumeration>0..2^32-1</RangeEnumeration> | |
62 | - <Units></Units> | |
63 | - <Description>M-TMSI signalled by the UE to the eNB in the RRCConnectionRequest message (see TS 36.331).</Description> | |
64 | - </Item> | |
65 | - <Item ID="2"> | |
66 | - <Name>Serving Cell (CrowdBox) eNB RSRP</Name> | |
67 | - <Operations>R</Operations> | |
68 | - <MultipleInstances>Single</MultipleInstances> | |
69 | - <Mandatory>Mandatory</Mandatory> | |
70 | - <Type>Integer</Type> | |
71 | - <RangeEnumeration>0..97</RangeEnumeration> | |
72 | - <Units></Units> | |
73 | - <Description>The RSRP of the CrowdBox eNB, as defined in TS 36.133, Section 9.1.4. Range: RSRP_00; RSRP_01 .. RSRP_97</Description> | |
74 | - </Item> | |
75 | - <Item ID="3"> | |
76 | - <Name>Serving Cell (CrowdBox) eNB RSRQ</Name> | |
77 | - <Operations>R</Operations> | |
78 | - <MultipleInstances>Single</MultipleInstances> | |
79 | - <Mandatory>Mandatory</Mandatory> | |
80 | - <Type>Integer</Type> | |
81 | - <RangeEnumeration>-30..46</RangeEnumeration> | |
82 | - <Units></Units> | |
83 | - <Description>The RSRQ of the CrowdBox eNB, as defined in TS 36.133, Section 9.1.7. Range: RSRQ_-30; RSRQ_-29 .. RSRQ_46</Description> | |
84 | - </Item> | |
85 | - <Item ID="4"> | |
86 | - <Name>Cumulative Timing Advance per Connected User</Name> | |
87 | - <Operations>R</Operations> | |
88 | - <MultipleInstances>Single</MultipleInstances> | |
89 | - <Mandatory>Optional</Mandatory> | |
90 | - <Type>Integer</Type> | |
91 | - <RangeEnumeration>0..65535</RangeEnumeration> | |
92 | - <Units></Units> | |
93 | - <Description>The cumulative timing advance signalled by the eNB to each currently connected UE. This is the sum of the initial timing advance signalled in the MAC payload of the Random Access Response (11 bits, 0 .. 1282) and subsequent adjustments signalled in the MAC PDU of DL-SCH transmissions (6 bits, -31 .. 32). See TS 36.321 for details.</Description> | |
94 | - </Item> | |
95 | - <Item ID="5"> | |
96 | - <Name>Last downlink CQI report per Connected User</Name> | |
97 | - <Operations>R</Operations> | |
98 | - <MultipleInstances>Single</MultipleInstances> | |
99 | - <Mandatory>Mandatory</Mandatory> | |
100 | - <Type>Integer</Type> | |
101 | - <RangeEnumeration>0..255</RangeEnumeration> | |
102 | - <Units></Units> | |
103 | - <Description>The last downlink wideband CQI reported by a connected user the eNB. The CQI format is defined in Table 7.2.3-1 of TS 36.213.</Description> | |
104 | - </Item> | |
105 | - <Item ID="6"> | |
106 | - <Name>Cumulative Downlink Throughput per Connected User</Name> | |
107 | - <Operations>R</Operations> | |
108 | - <MultipleInstances>Single</MultipleInstances> | |
109 | - <Mandatory>Mandatory</Mandatory> | |
110 | - <Type>Integer</Type> | |
111 | - <RangeEnumeration>0..2^32-1</RangeEnumeration> | |
112 | - <Units>B</Units> | |
113 | - <Description>The total number of MAC bytes sent to the connected user over the immediately preceding period specified by the "Cumulative Measurement Window" field.</Description> | |
114 | - </Item> | |
115 | - <Item ID="7"> | |
116 | - <Name>Cumulative Uplink Throughput per Connected User</Name> | |
117 | - <Operations>R</Operations> | |
118 | - <MultipleInstances>Single</MultipleInstances> | |
119 | - <Mandatory>Mandatory</Mandatory> | |
120 | - <Type>Integer</Type> | |
121 | - <RangeEnumeration>0..2^32-1</RangeEnumeration> | |
122 | - <Units>B</Units> | |
123 | - <Description>The total number of MAC bytes received from the connected user over the immediately preceding period specified by the "Cumulative Measurement Window" field.</Description> | |
124 | - </Item> | |
125 | - <Item ID="8"> | |
126 | - <Name>Neighbour Cell Report</Name> | |
127 | - <Operations>R</Operations> | |
128 | - <MultipleInstances>Multiple</MultipleInstances> | |
129 | - <Mandatory>Mandatory</Mandatory> | |
130 | - <Type>Objlnk</Type> | |
131 | - <RangeEnumeration></RangeEnumeration> | |
132 | - <Units></Units> | |
133 | - <Description>A link to the "Neighbour Cell Report" object for each neighbour cell reported to the CrowdBox by the connected UE</Description> | |
134 | - </Item> | |
135 | - </Resources> | |
136 | - <Description2></Description2> | |
137 | - </Object> | |
138 | -</LWM2M> |
common/transport/lwm2m/src/main/resources/models/10250.xml
deleted
100644 → 0
1 | -<?xml version="1.0" encoding="utf-8"?><!--BSD 3-Clause License | |
2 | - | |
3 | -Copyright (c) 2018, Huawei | |
4 | -All rights reserved. | |
5 | - | |
6 | -Redistribution and use in source and binary forms, with or without | |
7 | -modification, are permitted provided that the following conditions are met: | |
8 | - | |
9 | -* Redistributions of source code must retain the above copyright notice, this | |
10 | - list of conditions and the following disclaimer. | |
11 | - | |
12 | -* Redistributions in binary form must reproduce the above copyright notice, | |
13 | - this list of conditions and the following disclaimer in the documentation | |
14 | - and/or other materials provided with the distribution. | |
15 | - | |
16 | -* Neither the name of the copyright holder nor the names of its | |
17 | - contributors may be used to endorse or promote products derived from | |
18 | - this software without specific prior written permission. | |
19 | - | |
20 | -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" | |
21 | -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | |
22 | -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | |
23 | -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE | |
24 | -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | |
25 | -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR | |
26 | -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER | |
27 | -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, | |
28 | -OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | |
29 | -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
30 | ---> | |
31 | - | |
32 | -<LWM2M xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://openmobilealliance.org/tech/profiles/LWM2M.xsd"> | |
33 | - <Object ObjectType="MODefinition"> | |
34 | - <Name>App Data Container</Name> | |
35 | - <Description1><![CDATA[This LWM2M Object is used for reporting application data of a device.]]></Description1> | |
36 | - <ObjectID>10250</ObjectID> | |
37 | - <ObjectURN>urn:oma:lwm2m:x:10250</ObjectURN> | |
38 | - <LWM2MVersion>1.0</LWM2MVersion> | |
39 | - <ObjectVersion>1.0</ObjectVersion> | |
40 | - <MultipleInstances>Single</MultipleInstances> | |
41 | - <Mandatory>Optional</Mandatory> | |
42 | - <Resources> | |
43 | - <Item ID="0"> | |
44 | - <Name>UL data</Name> | |
45 | - <Operations>R</Operations> | |
46 | - <MultipleInstances>Single</MultipleInstances> | |
47 | - <Mandatory>Mandatory</Mandatory> | |
48 | - <Type>Opaque</Type> | |
49 | - <RangeEnumeration> | |
50 | - </RangeEnumeration> | |
51 | - <Units> | |
52 | - </Units> | |
53 | - <Description><![CDATA[Uplink application data, e.g. gas meter reporting data.]]></Description> | |
54 | - </Item> | |
55 | - <Item ID="1"> | |
56 | - <Name>DL data</Name> | |
57 | - <Operations>W</Operations> | |
58 | - <MultipleInstances>Single</MultipleInstances> | |
59 | - <Mandatory>Mandatory</Mandatory> | |
60 | - <Type>Opaque</Type> | |
61 | - <RangeEnumeration> | |
62 | - </RangeEnumeration> | |
63 | - <Units> | |
64 | - </Units> | |
65 | - <Description><![CDATA[Downlink application data, e.g. application response message of uplink data.]]></Description> | |
66 | - </Item> | |
67 | - </Resources> | |
68 | - <Description2 /> | |
69 | - </Object> | |
70 | -</LWM2M> |
common/transport/lwm2m/src/main/resources/models/10251.xml
deleted
100644 → 0
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<!--BSD 3-Clause License | |
3 | - | |
4 | -Copyright (c) 2017, Cisco | |
5 | -All rights reserved. | |
6 | - | |
7 | -Redistribution and use in source and binary forms, with or without | |
8 | -modification, are permitted provided that the following conditions are met: | |
9 | - | |
10 | -* Redistributions of source code must retain the above copyright notice, this | |
11 | -list of conditions and the following disclaimer. | |
12 | - | |
13 | -* Redistributions in binary form must reproduce the above copyright notice, | |
14 | -this list of conditions and the following disclaimer in the documentation | |
15 | -and/or other materials provided with the distribution. | |
16 | - | |
17 | -* Neither the name of the copyright holder nor the names of its | |
18 | -contributors may be used to endorse or promote products derived from | |
19 | -this software without specific prior written permission. | |
20 | - | |
21 | -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" | |
22 | -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | |
23 | -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | |
24 | -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE | |
25 | -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | |
26 | -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR | |
27 | -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER | |
28 | -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, | |
29 | -OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | |
30 | -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --> | |
31 | - | |
32 | -<LWM2M xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://openmobilealliance.org/tech/profiles/LWM2M.xsd"> | |
33 | - <Object ObjectType="MODefinition"> | |
34 | - <Name>AT Command</Name> | |
35 | - <Description1><![CDATA[Used to execute an AT command on a cellular modem]]></Description1> | |
36 | - <ObjectID>10251</ObjectID> | |
37 | - <ObjectURN>urn:oma:lwm2m:x:10251</ObjectURN> | |
38 | - <LWM2MVersion>1.0</LWM2MVersion> | |
39 | - <ObjectVersion>1.0</ObjectVersion> | |
40 | - <MultipleInstances>Multiple</MultipleInstances> | |
41 | - <Mandatory>Optional</Mandatory> | |
42 | - <Resources> | |
43 | - <Item ID="0"> | |
44 | - <Name>Command</Name> | |
45 | - <Operations>RW</Operations> | |
46 | - <MultipleInstances>Single</MultipleInstances> | |
47 | - <Mandatory>Mandatory</Mandatory> | |
48 | - <Type>String</Type> | |
49 | - <RangeEnumeration></RangeEnumeration> | |
50 | - <Units></Units> | |
51 | - <Description><![CDATA[The AT command to run. Example: AT+CREG? to query registration status]]></Description> | |
52 | - </Item> | |
53 | - <Item ID="1"> | |
54 | - <Name>Response</Name> | |
55 | - <Operations>R</Operations> | |
56 | - <MultipleInstances>Multiple</MultipleInstances> | |
57 | - <Mandatory>Mandatory</Mandatory> | |
58 | - <Type>String</Type> | |
59 | - <RangeEnumeration></RangeEnumeration> | |
60 | - <Units></Units> | |
61 | - <Description><![CDATA[Response to the AT command. Example: +CREG:0,5 If multiple lines are returned as the modem response, each line will be returned in a separate resource.]]></Description> | |
62 | - </Item> | |
63 | - <Item ID="2"> | |
64 | - <Name>Status</Name> | |
65 | - <Operations>R</Operations> | |
66 | - <MultipleInstances>Multiple</MultipleInstances> | |
67 | - <Mandatory>Mandatory</Mandatory> | |
68 | - <Type>String</Type> | |
69 | - <RangeEnumeration></RangeEnumeration> | |
70 | - <Units></Units> | |
71 | - <Description><![CDATA[Status of the command execution as returned by the modem. Typical values:OK ERROR]]></Description> | |
72 | - </Item> | |
73 | - <Item ID="3"> | |
74 | - <Name>Timeout</Name> | |
75 | - <Operations>RW</Operations> | |
76 | - <MultipleInstances>Single</MultipleInstances> | |
77 | - <Mandatory>Optional</Mandatory> | |
78 | - <Type>Integer</Type> | |
79 | - <RangeEnumeration></RangeEnumeration> | |
80 | - <Units></Units> | |
81 | - <Description><![CDATA[Amount of time in seconds allowed for the modem to respond to the command.]]></Description> | |
82 | - </Item> | |
83 | - <Item ID="4"> | |
84 | - <Name>Run</Name> | |
85 | - <Operations>E</Operations> | |
86 | - <MultipleInstances>Single</MultipleInstances> | |
87 | - <Mandatory>Mandatory</Mandatory> | |
88 | - <Type></Type> | |
89 | - <RangeEnumeration></RangeEnumeration> | |
90 | - <Units></Units> | |
91 | - <Description><![CDATA[Executing this resource will cause the command to be sent to the modem. And the result to be populated using the Response (1) and Status (2) resources]]></Description> | |
92 | - </Item> | |
93 | - </Resources> | |
94 | - <Description2></Description2> | |
95 | - </Object> | |
96 | -</LWM2M> |
common/transport/lwm2m/src/main/resources/models/10252.xml
deleted
100644 → 0
1 | -<!-- | |
2 | - | |
3 | -Apache License | |
4 | -Version 2.0, January 2004 | |
5 | -http://www.apache.org/licenses/ | |
6 | - | |
7 | -TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION | |
8 | - | |
9 | -1. Definitions. | |
10 | - | |
11 | -"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. | |
12 | - | |
13 | -"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. | |
14 | - | |
15 | -"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. | |
16 | - | |
17 | -"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. | |
18 | - | |
19 | -"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. | |
20 | - | |
21 | -"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. | |
22 | - | |
23 | -"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). | |
24 | - | |
25 | -"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. | |
26 | - | |
27 | -"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." | |
28 | - | |
29 | -"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. | |
30 | - | |
31 | -2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. | |
32 | - | |
33 | -3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. | |
34 | - | |
35 | -4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: | |
36 | - | |
37 | - (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and | |
38 | - | |
39 | - (b) You must cause any modified files to carry prominent notices stating that You changed the files; and | |
40 | - | |
41 | - (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and | |
42 | - | |
43 | - (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. | |
44 | - | |
45 | - You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. | |
46 | - | |
47 | -5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. | |
48 | - | |
49 | -6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. | |
50 | - | |
51 | -7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. | |
52 | - | |
53 | -8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. | |
54 | - | |
55 | -9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. | |
56 | - | |
57 | -END OF TERMS AND CONDITIONS | |
58 | - | |
59 | -APPENDIX: How to apply the Apache License to your work. | |
60 | - | |
61 | -To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. | |
62 | - | |
63 | -Copyright 2018 ARM. | |
64 | - | |
65 | -Licensed under the Apache License, Version 2.0 (the "License"); | |
66 | -you may not use this file except in compliance with the License. | |
67 | -You may obtain a copy of the License at | |
68 | - | |
69 | -http://www.apache.org/licenses/LICENSE-2.0 | |
70 | - | |
71 | -Unless required by applicable law or agreed to in writing, software | |
72 | -distributed under the License is distributed on an "AS IS" BASIS, | |
73 | -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
74 | -See the License for the specific language governing permissions and | |
75 | -limitations under the License. | |
76 | - | |
77 | ---> | |
78 | - | |
79 | -<LWM2M xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://openmobilealliance.org/tech/profiles/LWM2M.xsd"> | |
80 | - <Object ObjectType="MODefinition"> | |
81 | - <Name>Manifest</Name> | |
82 | - <Description1><![CDATA[This object provides a range of information related to updating packages on a device]]></Description1> | |
83 | - <ObjectID>10252</ObjectID> | |
84 | - <ObjectURN>urn:oma:lwm2m:x:10252</ObjectURN> | |
85 | - <LWM2MVersion>1.0</LWM2MVersion> | |
86 | - <ObjectVersion>1.0</ObjectVersion> | |
87 | - <MultipleInstances>Single</MultipleInstances> | |
88 | - <Mandatory>Optional</Mandatory> | |
89 | - <Resources> | |
90 | - <Item ID="1"> | |
91 | - <Name>Manifest</Name> | |
92 | - <Operations>W</Operations> | |
93 | - <MultipleInstances>Single</MultipleInstances> | |
94 | - <Mandatory>Mandatory</Mandatory> | |
95 | - <Type>Opaque</Type> | |
96 | - <RangeEnumeration> | |
97 | - </RangeEnumeration> | |
98 | - <Units> | |
99 | - </Units> | |
100 | - <Description><![CDATA[Content of a new manifest]]></Description> | |
101 | - </Item> | |
102 | - <Item ID="2"> | |
103 | - <Name>State</Name> | |
104 | - <Operations>R</Operations> | |
105 | - <MultipleInstances>Single</MultipleInstances> | |
106 | - <Mandatory>Mandatory</Mandatory> | |
107 | - <Type>Integer</Type> | |
108 | - <RangeEnumeration>0..8</RangeEnumeration> | |
109 | - <Units> | |
110 | - </Units> | |
111 | - <Description><![CDATA[Current state of manifest processing | |
112 | -0. Uninitialised | |
113 | -1. Idle | |
114 | -2. Processing manifest | |
115 | -3. Awaiting download approval | |
116 | -4. Downloading | |
117 | -5. Downloaded | |
118 | -6. Awaiting application approval | |
119 | -7. Updating | |
120 | -8. Rebooting | |
121 | -]]></Description> | |
122 | - </Item> | |
123 | - <Item ID="3"> | |
124 | - <Name>Manifest Result</Name> | |
125 | - <Operations>R</Operations> | |
126 | - <MultipleInstances>Single</MultipleInstances> | |
127 | - <Mandatory>Mandatory</Mandatory> | |
128 | - <Type>Integer</Type> | |
129 | - <RangeEnumeration>0..19</RangeEnumeration> | |
130 | - <Units> | |
131 | - </Units> | |
132 | - <Description><![CDATA[Final result of the device processing a manifest. | |
133 | -0. Uninitialised | |
134 | -1. Success | |
135 | -2. Manifest timeout. The Manifest URI has timed-out. | |
136 | -3. Manifest not found. The Manifest URI not found. | |
137 | -4. Manifest failed integrity check. The manifest integrity check failed. | |
138 | -5. Manifest rejected. The Manifest attributes do not apply to this device. | |
139 | -6. Manifest certificate not found | |
140 | -7. Manifest signature failed. The Manifest signature is not recognised by this device. | |
141 | -8. Dependent manifest not found | |
142 | -9. Not enough storage for the new asset | |
143 | -10. Out of memory during download process | |
144 | -11. Connection lost during download process | |
145 | -12. Asset failed integrity check | |
146 | -13. Unsupported asset type | |
147 | -14. Invalid asset URI | |
148 | -15. Timed out downloading asset | |
149 | -16. Unsupported delta format | |
150 | -17. Unsupported encryption format | |
151 | -18. Asset update successfully completed | |
152 | -19. Asset updated successfully after recovery]]></Description> | |
153 | - </Item> | |
154 | - <Item ID="4"> | |
155 | - <Name>Payload Result</Name> | |
156 | - <Operations>R</Operations> | |
157 | - <MultipleInstances>Single</MultipleInstances> | |
158 | - <Mandatory>Mandatory</Mandatory> | |
159 | - <Type>Opaque</Type> | |
160 | - <RangeEnumeration> | |
161 | - </RangeEnumeration> | |
162 | - <Units> | |
163 | - </Units> | |
164 | - <Description><![CDATA[Contains payload-specific errors or output.]]></Description> | |
165 | - </Item> | |
166 | - <Item ID="5"> | |
167 | - <Name>Asset Hash</Name> | |
168 | - <Operations>R</Operations> | |
169 | - <MultipleInstances>Single</MultipleInstances> | |
170 | - <Mandatory>Mandatory</Mandatory> | |
171 | - <Type>Opaque</Type> | |
172 | - <RangeEnumeration> | |
173 | - </RangeEnumeration> | |
174 | - <Units> | |
175 | - </Units> | |
176 | - <Description><![CDATA[Hash of the installed asset.]]></Description> | |
177 | - </Item> | |
178 | - <Item ID="6"> | |
179 | - <Name>Manifest version</Name> | |
180 | - <Operations>R</Operations> | |
181 | - <MultipleInstances>Single</MultipleInstances> | |
182 | - <Mandatory>Mandatory</Mandatory> | |
183 | - <Type>Integer</Type> | |
184 | - <RangeEnumeration> | |
185 | - </RangeEnumeration> | |
186 | - <Units> | |
187 | - </Units> | |
188 | - <Description><![CDATA[Version of the current manifest.]]></Description> | |
189 | - </Item> | |
190 | - <Item ID="7"> | |
191 | - <Name>Asset Installation Progress</Name> | |
192 | - <Operations>R</Operations> | |
193 | - <MultipleInstances>Single</MultipleInstances> | |
194 | - <Mandatory>Mandatory</Mandatory> | |
195 | - <Type>Integer</Type> | |
196 | - <RangeEnumeration> | |
197 | - </RangeEnumeration> | |
198 | - <Units> | |
199 | - </Units> | |
200 | - <Description><![CDATA[Progress update of the asset installation process (in bytes).]]></Description> | |
201 | - </Item> | |
202 | - <Item ID="8"> | |
203 | - <Name>Campaign Id</Name> | |
204 | - <Operations>RW</Operations> | |
205 | - <MultipleInstances>Single</MultipleInstances> | |
206 | - <Mandatory>Mandatory</Mandatory> | |
207 | - <Type>String</Type> | |
208 | - <RangeEnumeration> | |
209 | - </RangeEnumeration> | |
210 | - <Units> | |
211 | - </Units> | |
212 | - <Description><![CDATA[Id of campaign affecting this device. There currently isn’t any logic on the server or the client to handle this. ]]></Description> | |
213 | - </Item> | |
214 | - <Item ID="9"> | |
215 | - <Name>Manual Trigger</Name> | |
216 | - <Operations>E</Operations> | |
217 | - <MultipleInstances>Single</MultipleInstances> | |
218 | - <Mandatory>Mandatory</Mandatory> | |
219 | - <Type></Type> | |
220 | - <RangeEnumeration> | |
221 | - </RangeEnumeration> | |
222 | - <Units> | |
223 | - </Units> | |
224 | - <Description><![CDATA[Manually apply the asset update. This will only have effect if the manifest requires this. The state resource must also be in the downloaded state for the execute command to be actioned.]]></Description> | |
225 | - </Item> | |
226 | - </Resources> | |
227 | - <Description2><![CDATA[]]></Description2> | |
228 | - </Object> | |
229 | -</LWM2M> |
common/transport/lwm2m/src/main/resources/models/10253.xml
deleted
100644 → 0
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | - | |
3 | -<!-- BSD-3 Clause License | |
4 | - | |
5 | -Copyright 2019 Lab R&D Atos Pessac. | |
6 | - | |
7 | -Redistribution and use in source and binary forms, with or without | |
8 | -modification, are permitted provided that the following conditions | |
9 | -are met: | |
10 | - | |
11 | -1. Redistributions of source code must retain the above copyright | |
12 | -notice, this list of conditions and the following disclaimer. | |
13 | -2. Redistributions in binary form must reproduce the above copyright | |
14 | -notice, this list of conditions and the following disclaimer in the | |
15 | -documentation and/or other materials provided with the distribution. | |
16 | -3. Neither the name of the copyright holder nor the names of its | |
17 | -contributors may be used to endorse or promote products derived | |
18 | -from this software without specific prior written permission. | |
19 | - | |
20 | -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
21 | -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
22 | -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS | |
23 | -FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE | |
24 | -COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, | |
25 | -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, | |
26 | -BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | |
27 | -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER | |
28 | -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | |
29 | -LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN | |
30 | -ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | |
31 | -POSSIBILITY OF SUCH DAMAGE. | |
32 | ---> | |
33 | - | |
34 | -<LWM2M xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://openmobilealliance.org/tech/profiles/LWM2M.xsd"> | |
35 | - <Object ObjectType="MODefinition"> | |
36 | - <Name>Confidential Data</Name> | |
37 | - <Description1><![CDATA[This LWM2M Object is used for reporting data, but in a confidential way]]></Description1> | |
38 | - <ObjectID>10253</ObjectID> | |
39 | - <ObjectURN>urn:oma:lwm2m:x:10253</ObjectURN> | |
40 | - <LWM2MVersion>1.0</LWM2MVersion> | |
41 | - <ObjectVersion>1.0</ObjectVersion> | |
42 | - <MultipleInstances>Single</MultipleInstances> | |
43 | - <Mandatory>Optional</Mandatory> | |
44 | - <Resources> | |
45 | - <Item ID="0"> | |
46 | - <Name>Public Key</Name> | |
47 | - <Operations>RW</Operations> | |
48 | - <MultipleInstances>Single</MultipleInstances> | |
49 | - <Mandatory>Mandatory</Mandatory> | |
50 | - <Type>Opaque</Type> | |
51 | - <RangeEnumeration> | |
52 | - </RangeEnumeration> | |
53 | - <Units> | |
54 | - </Units> | |
55 | - <Description><![CDATA[Object public key provided from the server side]]></Description> | |
56 | - </Item> | |
57 | - <Item ID="1"> | |
58 | - <Name>Application Data</Name> | |
59 | - <Operations>R</Operations> | |
60 | - <MultipleInstances>Single</MultipleInstances> | |
61 | - <Mandatory>Mandatory</Mandatory> | |
62 | - <Type>Opaque</Type> | |
63 | - <RangeEnumeration> | |
64 | - </RangeEnumeration> | |
65 | - <Units> | |
66 | - </Units> | |
67 | - <Description><![CDATA[Application Data encrypted by the Public Key]]></Description> | |
68 | - </Item> | |
69 | - </Resources> | |
70 | - <Description2 /> | |
71 | - </Object> | |
72 | -</LWM2M> |
common/transport/lwm2m/src/main/resources/models/10254.xml
deleted
100644 → 0
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<!-- | |
3 | -Copyright 2017 World-Direct eBusiness solutions GmbH | |
4 | -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), | |
5 | -to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, | |
6 | -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: | |
7 | - | |
8 | -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | |
9 | - | |
10 | -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
11 | -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
12 | -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 | |
13 | -IN THE SOFTWARE. | |
14 | - --> | |
15 | -<LWM2M xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://openmobilealliance.org/tech/profiles/LWM2M.xsd"> | |
16 | - <Object ObjectType="MODefinition"> | |
17 | - <Name>Current Loop Input</Name> | |
18 | - <Description1><![CDATA[This LWM2M Object provides a representation of a current loop sensor, which indicates the value emitted by a current source.]]></Description1> | |
19 | - <ObjectID>10254</ObjectID> | |
20 | - <ObjectURN>urn:oma:lwm2m:x:10254:1.0</ObjectURN> | |
21 | - <LWM2MVersion>1.0</LWM2MVersion> | |
22 | - <ObjectVersion>1.0</ObjectVersion> | |
23 | - <MultipleInstances>Multiple</MultipleInstances> | |
24 | - <Mandatory>Optional</Mandatory> | |
25 | - <Resources> | |
26 | - <Item ID="0"> | |
27 | - <Name>Current Loop Input Current Value</Name> | |
28 | - <Operations>R</Operations> | |
29 | - <MultipleInstances>Single</MultipleInstances> | |
30 | - <Mandatory>Mandatory</Mandatory> | |
31 | - <Type>Float</Type> | |
32 | - <RangeEnumeration>0; 3.8-20.5</RangeEnumeration> | |
33 | - <Units>mA</Units> | |
34 | - <Description><![CDATA[The current value of the current loop input. A value of 0 indicates the not-connected state and/or invalid (i.e. out-of-range) values.]]></Description> | |
35 | - </Item> | |
36 | - <Item ID="5601"> | |
37 | - <Name>Min Measured Value</Name> | |
38 | - <Operations>R</Operations> | |
39 | - <MultipleInstances>Single</MultipleInstances> | |
40 | - <Mandatory>Optional</Mandatory> | |
41 | - <Type>Float</Type> | |
42 | - <RangeEnumeration></RangeEnumeration> | |
43 | - <Units></Units> | |
44 | - <Description><![CDATA[The minimum value measured by the sensor since it is ON or Reset. Defined by “Units” resource.]]></Description> | |
45 | - </Item> | |
46 | - <Item ID="5602"> | |
47 | - <Name>Max Measured Value</Name> | |
48 | - <Operations>R</Operations> | |
49 | - <MultipleInstances>Single</MultipleInstances> | |
50 | - <Mandatory>Optional</Mandatory> | |
51 | - <Type>Float</Type> | |
52 | - <RangeEnumeration></RangeEnumeration> | |
53 | - <Units></Units> | |
54 | - <Description><![CDATA[The maximum value measured by the sensor since it is ON or Reset. Defined by “Units” resource.]]></Description> | |
55 | - </Item> | |
56 | - <Item ID="5603"> | |
57 | - <Name>Min Range Value</Name> | |
58 | - <Operations>R</Operations> | |
59 | - <MultipleInstances>Single</MultipleInstances> | |
60 | - <Mandatory>Optional</Mandatory> | |
61 | - <Type>Float</Type> | |
62 | - <RangeEnumeration></RangeEnumeration> | |
63 | - <Units></Units> | |
64 | - <Description><![CDATA[The minimum value that can be measured by the sensor. Defined by “Units” resource.]]></Description> | |
65 | - </Item> | |
66 | - <Item ID="5604"> | |
67 | - <Name>Max Range Value</Name> | |
68 | - <Operations>R</Operations> | |
69 | - <MultipleInstances>Single</MultipleInstances> | |
70 | - <Mandatory>Optional</Mandatory> | |
71 | - <Type>Float</Type> | |
72 | - <RangeEnumeration></RangeEnumeration> | |
73 | - <Units></Units> | |
74 | - <Description><![CDATA[The maximum value that can be measured by the sensor. Defined by “Units” resource.]]></Description> | |
75 | - </Item> | |
76 | - <Item ID="5605"> | |
77 | - <Name>Reset Min and Max Measured Values</Name> | |
78 | - <Operations>E</Operations> | |
79 | - <MultipleInstances>Single</MultipleInstances> | |
80 | - <Mandatory>Optional</Mandatory> | |
81 | - <Type></Type> | |
82 | - <RangeEnumeration></RangeEnumeration> | |
83 | - <Units></Units> | |
84 | - <Description><![CDATA[Reset the Min and Max Measured Values to Current Value]]></Description> | |
85 | - </Item> | |
86 | - <Item ID="5701"> | |
87 | - <Name>Sensor Units</Name> | |
88 | - <Operations>R</Operations> | |
89 | - <MultipleInstances>Single</MultipleInstances> | |
90 | - <Mandatory>Optional</Mandatory> | |
91 | - <Type>String</Type> | |
92 | - <RangeEnumeration></RangeEnumeration> | |
93 | - <Units></Units> | |
94 | - <Description><![CDATA[Measurement Units Definition.]]></Description> | |
95 | - </Item> | |
96 | - <Item ID="5750"> | |
97 | - <Name>Application Type</Name> | |
98 | - <Operations>RW</Operations> | |
99 | - <MultipleInstances>Single</MultipleInstances> | |
100 | - <Mandatory>Optional</Mandatory> | |
101 | - <Type>String</Type> | |
102 | - <RangeEnumeration></RangeEnumeration> | |
103 | - <Units></Units> | |
104 | - <Description><![CDATA[The application type of the sensor or actuator as a string, for instance, “Air Pressure”.]]></Description> | |
105 | - </Item> | |
106 | - <Item ID="5821"> | |
107 | - <Name>Current Calibration</Name> | |
108 | - <Operations>RW</Operations> | |
109 | - <MultipleInstances>Single</MultipleInstances> | |
110 | - <Mandatory>Optional</Mandatory> | |
111 | - <Type>Float</Type> | |
112 | - <RangeEnumeration></RangeEnumeration> | |
113 | - <Units></Units> | |
114 | - <Description><![CDATA[Read or Write the current calibration coefficient.]]></Description> | |
115 | - </Item> | |
116 | - </Resources> | |
117 | - <Description2><![CDATA[]]></Description2> | |
118 | - </Object> | |
119 | -</LWM2M> |
common/transport/lwm2m/src/main/resources/models/10255.xml
deleted
100644 → 0
1 | -<!-- | |
2 | - | |
3 | -Apache License | |
4 | -Version 2.0, January 2004 | |
5 | -http://www.apache.org/licenses/ | |
6 | - | |
7 | -TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION | |
8 | - | |
9 | -1. Definitions. | |
10 | - | |
11 | -"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. | |
12 | - | |
13 | -"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. | |
14 | - | |
15 | -"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. | |
16 | - | |
17 | -"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. | |
18 | - | |
19 | -"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. | |
20 | - | |
21 | -"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. | |
22 | - | |
23 | -"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). | |
24 | - | |
25 | -"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. | |
26 | - | |
27 | -"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." | |
28 | - | |
29 | -"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. | |
30 | - | |
31 | -2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. | |
32 | - | |
33 | -3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. | |
34 | - | |
35 | -4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: | |
36 | - | |
37 | - (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and | |
38 | - | |
39 | - (b) You must cause any modified files to carry prominent notices stating that You changed the files; and | |
40 | - | |
41 | - (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and | |
42 | - | |
43 | - (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. | |
44 | - | |
45 | - You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. | |
46 | - | |
47 | -5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. | |
48 | - | |
49 | -6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. | |
50 | - | |
51 | -7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. | |
52 | - | |
53 | -8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. | |
54 | - | |
55 | -9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. | |
56 | - | |
57 | -END OF TERMS AND CONDITIONS | |
58 | - | |
59 | -APPENDIX: How to apply the Apache License to your work. | |
60 | - | |
61 | -To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. | |
62 | - | |
63 | -Copyright 2018 ARM. | |
64 | - | |
65 | -Licensed under the Apache License, Version 2.0 (the "License"); | |
66 | -you may not use this file except in compliance with the License. | |
67 | -You may obtain a copy of the License at | |
68 | - | |
69 | -http://www.apache.org/licenses/LICENSE-2.0 | |
70 | - | |
71 | -Unless required by applicable law or agreed to in writing, software | |
72 | -distributed under the License is distributed on an "AS IS" BASIS, | |
73 | -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
74 | -See the License for the specific language governing permissions and | |
75 | -limitations under the License. | |
76 | - | |
77 | ---> | |
78 | - | |
79 | -<LWM2M xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://openmobilealliance.org/tech/profiles/LWM2M.xsd"> | |
80 | - <Object ObjectType="MODefinition"> | |
81 | - <Name>Device Metadata</Name> | |
82 | - <Description1><![CDATA[This object provides a range of information related to device metadata]]></Description1> | |
83 | - <ObjectID>10255</ObjectID> | |
84 | - <ObjectURN>urn:oma:lwm2m:x:10255</ObjectURN> | |
85 | - <LWM2MVersion>1.0</LWM2MVersion> | |
86 | - <ObjectVersion>1.0</ObjectVersion> | |
87 | - <MultipleInstances>Single</MultipleInstances> | |
88 | - <Mandatory>Optional</Mandatory> | |
89 | - <Resources> | |
90 | - <Item ID="0"> | |
91 | - <Name>Protocol supported</Name> | |
92 | - <Operations>R</Operations> | |
93 | - <MultipleInstances>Single</MultipleInstances> | |
94 | - <Mandatory>Mandatory</Mandatory> | |
95 | - <Type>Integer</Type> | |
96 | - <RangeEnumeration> | |
97 | - </RangeEnumeration> | |
98 | - <Units> | |
99 | - </Units> | |
100 | - <Description><![CDATA[Manifest protocol supported]]></Description> | |
101 | - </Item> | |
102 | - <Item ID="1"> | |
103 | - <Name>Bootloader hash</Name> | |
104 | - <Operations>R</Operations> | |
105 | - <MultipleInstances>Single</MultipleInstances> | |
106 | - <Mandatory>Mandatory</Mandatory> | |
107 | - <Type>Opaque</Type> | |
108 | - <RangeEnumeration> | |
109 | - </RangeEnumeration> | |
110 | - <Units> | |
111 | - </Units> | |
112 | - <Description><![CDATA[Hash of the bootloader. This is used for tracking the version of the bootloader used.]]></Description> | |
113 | - </Item> | |
114 | - <Item ID="2"> | |
115 | - <Name>OEM bootloader hash</Name> | |
116 | - <Operations>R</Operations> | |
117 | - <MultipleInstances>Single</MultipleInstances> | |
118 | - <Mandatory>Mandatory</Mandatory> | |
119 | - <Type>Opaque</Type> | |
120 | - <RangeEnumeration> | |
121 | - </RangeEnumeration> | |
122 | - <Units> | |
123 | - </Units> | |
124 | - <Description><![CDATA[If the end-user has modified the bootloader the hash of the modified bootloader is recorded here]]></Description> | |
125 | - </Item> | |
126 | - <Item ID="3"> | |
127 | - <Name>Vendor</Name> | |
128 | - <Operations>R</Operations> | |
129 | - <MultipleInstances>Single</MultipleInstances> | |
130 | - <Mandatory>Mandatory</Mandatory> | |
131 | - <Type>String</Type> | |
132 | - <RangeEnumeration> | |
133 | - </RangeEnumeration> | |
134 | - <Units> | |
135 | - </Units> | |
136 | - <Description><![CDATA[Vendor Class UUID]]></Description> | |
137 | - </Item> | |
138 | - <Item ID="4"> | |
139 | - <Name>Class</Name> | |
140 | - <Operations>R</Operations> | |
141 | - <MultipleInstances>Single</MultipleInstances> | |
142 | - <Mandatory>Mandatory</Mandatory> | |
143 | - <Type>String</Type> | |
144 | - <RangeEnumeration> | |
145 | - </RangeEnumeration> | |
146 | - <Units> | |
147 | - </Units> | |
148 | - <Description><![CDATA[Class UUID]]></Description> | |
149 | - </Item> | |
150 | - <Item ID="5"> | |
151 | - <Name>Device</Name> | |
152 | - <Operations>R</Operations> | |
153 | - <MultipleInstances>Single</MultipleInstances> | |
154 | - <Mandatory>Mandatory</Mandatory> | |
155 | - <Type>String</Type> | |
156 | - <RangeEnumeration> | |
157 | - </RangeEnumeration> | |
158 | - <Units> | |
159 | - </Units> | |
160 | - <Description><![CDATA[Device UUID]]></Description> | |
161 | - </Item> | |
162 | - </Resources> | |
163 | - <Description2 /> | |
164 | - </Object> | |
165 | -</LWM2M> |
common/transport/lwm2m/src/main/resources/models/10256.xml
deleted
100644 → 0
1 | -<?xml version="1.0" encoding="utf-8"?><!--BSD 3-Clause License | |
2 | - | |
3 | -Copyright (c) 2017, Huawei | |
4 | -All rights reserved. | |
5 | - | |
6 | -Redistribution and use in source and binary forms, with or without | |
7 | -modification, are permitted provided that the following conditions are met: | |
8 | - | |
9 | -* Redistributions of source code must retain the above copyright notice, this | |
10 | - list of conditions and the following disclaimer. | |
11 | - | |
12 | -* Redistributions in binary form must reproduce the above copyright notice, | |
13 | - this list of conditions and the following disclaimer in the documentation | |
14 | - and/or other materials provided with the distribution. | |
15 | - | |
16 | -* Neither the name of the copyright holder nor the names of its | |
17 | - contributors may be used to endorse or promote products derived from | |
18 | - this software without specific prior written permission. | |
19 | - | |
20 | -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" | |
21 | -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | |
22 | -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | |
23 | -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE | |
24 | -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | |
25 | -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR | |
26 | -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER | |
27 | -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, | |
28 | -OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | |
29 | -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
30 | ---> | |
31 | -<LWM2M xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://openmobilealliance.org/tech/profiles/LWM2M.xsd"> | |
32 | - <Object ObjectType="MODefinition"> | |
33 | - <Name>ECID-Signal Measurement Information</Name> | |
34 | - <Description1><![CDATA[This LWM2M Object provides ECID signal measurements of a device.]]></Description1> | |
35 | - <ObjectID>10256</ObjectID> | |
36 | - <ObjectURN>urn:oma:lwm2m:x:10256</ObjectURN> | |
37 | - <LWM2MVersion>1.0</LWM2MVersion> | |
38 | - <ObjectVersion>1.0</ObjectVersion> | |
39 | - <MultipleInstances>Multiple</MultipleInstances> | |
40 | - <Mandatory>Optional</Mandatory> | |
41 | - <Resources> | |
42 | - <Item ID="0"> | |
43 | - <Name>physCellId</Name> | |
44 | - <Operations>R</Operations> | |
45 | - <MultipleInstances>Single</MultipleInstances> | |
46 | - <Mandatory>Mandatory</Mandatory> | |
47 | - <Type>Integer</Type> | |
48 | - <RangeEnumeration> | |
49 | - </RangeEnumeration> | |
50 | - <Units> | |
51 | - </Units> | |
52 | - <Description><![CDATA[This field specifies the physical cell identity of the measured cell.]]></Description> | |
53 | - </Item> | |
54 | - <Item ID="1"> | |
55 | - <Name>ECGI</Name> | |
56 | - <Operations>R</Operations> | |
57 | - <MultipleInstances>Single</MultipleInstances> | |
58 | - <Mandatory>Optional</Mandatory> | |
59 | - <Type>Integer</Type> | |
60 | - <RangeEnumeration> | |
61 | - </RangeEnumeration> | |
62 | - <Units> | |
63 | - </Units> | |
64 | - <Description><![CDATA[This field specifies cell global ID of the measured cell. The target device shall provide this field if it was able to determine the ECGI of the measured cell at the time of measurement.]]></Description> | |
65 | - </Item> | |
66 | - <Item ID="2"> | |
67 | - <Name>arfcnEUTRA</Name> | |
68 | - <Operations>R</Operations> | |
69 | - <MultipleInstances>Single</MultipleInstances> | |
70 | - <Mandatory>Mandatory</Mandatory> | |
71 | - <Type>Integer</Type> | |
72 | - <RangeEnumeration> | |
73 | - </RangeEnumeration> | |
74 | - <Units> | |
75 | - </Units> | |
76 | - <Description><![CDATA[This field specifies the ARFCN of the measured E-UTRA carrier frequency.]]></Description> | |
77 | - </Item> | |
78 | - <Item ID="3"> | |
79 | - <Name>rsrp-Result </Name> | |
80 | - <Operations>R</Operations> | |
81 | - <MultipleInstances>Single</MultipleInstances> | |
82 | - <Mandatory>Mandatory</Mandatory> | |
83 | - <Type>Integer</Type> | |
84 | - <RangeEnumeration> | |
85 | - </RangeEnumeration> | |
86 | - <Units> | |
87 | - </Units> | |
88 | - <Description><![CDATA[This field specifies the reference signal received power (RSRP) measurement.]]></Description> | |
89 | - </Item> | |
90 | - <Item ID="4"> | |
91 | - <Name>rsrq-Result</Name> | |
92 | - <Operations>R</Operations> | |
93 | - <MultipleInstances>Single</MultipleInstances> | |
94 | - <Mandatory>Optional</Mandatory> | |
95 | - <Type>Integer</Type> | |
96 | - <RangeEnumeration> | |
97 | - </RangeEnumeration> | |
98 | - <Units> | |
99 | - </Units> | |
100 | - <Description><![CDATA[This field specifies the reference signal received quality (RSRQ) measurement.]]></Description> | |
101 | - </Item> | |
102 | - <Item ID="5"> | |
103 | - <Name>ue-RxTxTimeDiff</Name> | |
104 | - <Operations>R</Operations> | |
105 | - <MultipleInstances>Single</MultipleInstances> | |
106 | - <Mandatory>Optional</Mandatory> | |
107 | - <Type>Integer</Type> | |
108 | - <RangeEnumeration> | |
109 | - </RangeEnumeration> | |
110 | - <Units> | |
111 | - </Units> | |
112 | - <Description><![CDATA[This field specifies the UE Rx–Tx time difference measurement.]]></Description> | |
113 | - </Item> | |
114 | - </Resources> | |
115 | - <Description2><![CDATA[]]></Description2> | |
116 | - </Object> | |
117 | -</LWM2M> |
common/transport/lwm2m/src/main/resources/models/10257.xml
deleted
100644 → 0
1 | -<?xml version="1.0" encoding="UTF-8"?><!--Apache License 2.0 | |
2 | - | |
3 | -Apache License | |
4 | -Version 2.0, January 2004 | |
5 | -http://www.apache.org/licenses/ | |
6 | - | |
7 | -TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION | |
8 | - | |
9 | -1. Definitions. | |
10 | - | |
11 | -"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. | |
12 | - | |
13 | -"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. | |
14 | - | |
15 | -"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. | |
16 | - | |
17 | -"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. | |
18 | - | |
19 | -"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. | |
20 | - | |
21 | -"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. | |
22 | - | |
23 | -"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). | |
24 | - | |
25 | -"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. | |
26 | - | |
27 | -"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." | |
28 | - | |
29 | -"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. | |
30 | - | |
31 | -2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. | |
32 | - | |
33 | -3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. | |
34 | - | |
35 | -4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: | |
36 | - | |
37 | - (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and | |
38 | - | |
39 | - (b) You must cause any modified files to carry prominent notices stating that You changed the files; and | |
40 | - | |
41 | - (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and | |
42 | - | |
43 | - (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. | |
44 | - | |
45 | - You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. | |
46 | - | |
47 | -5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. | |
48 | - | |
49 | -6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. | |
50 | - | |
51 | -7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. | |
52 | - | |
53 | -8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. | |
54 | - | |
55 | -9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. | |
56 | - | |
57 | -END OF TERMS AND CONDITIONS | |
58 | - | |
59 | -APPENDIX: How to apply the Apache License to your work. | |
60 | - | |
61 | -To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. | |
62 | - | |
63 | -Copyright 2017 Comsel System Ltd | |
64 | - | |
65 | -Licensed under the Apache License, Version 2.0 (the "License"); | |
66 | -you may not use this file except in compliance with the License. | |
67 | -You may obtain a copy of the License at | |
68 | - | |
69 | -http://www.apache.org/licenses/LICENSE-2.0 | |
70 | - | |
71 | -Unless required by applicable law or agreed to in writing, software | |
72 | -distributed under the License is distributed on an "AS IS" BASIS, | |
73 | -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
74 | -See the License for the specific language governing permissions and | |
75 | -limitations under the License. | |
76 | - | |
77 | ---> | |
78 | -<LWM2M xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://openmobilealliance.org/tech/profiles/LWM2M.xsd"> | |
79 | - <Object ObjectType="MODefinition"> | |
80 | - <Name>Heat / Cooling meter</Name> | |
81 | - <Description1><![CDATA[ | |
82 | -This Object provides the information to represent a generic (district) heat or cooling meter | |
83 | - ]]></Description1> | |
84 | - <ObjectID>10257</ObjectID> | |
85 | - <ObjectURN>urn:oma:lwm2m:x:10257</ObjectURN> | |
86 | - <LWM2MVersion>1.0</LWM2MVersion> | |
87 | - <ObjectVersion>1.0</ObjectVersion> | |
88 | - <MultipleInstances>Multiple</MultipleInstances> | |
89 | - <Mandatory>Optional</Mandatory> | |
90 | - <Resources> | |
91 | - <Item ID="0"> | |
92 | - <Name>Manufacturer</Name> | |
93 | - <Operations>R</Operations> | |
94 | - <MultipleInstances>Single</MultipleInstances> | |
95 | - <Mandatory>Optional</Mandatory> | |
96 | - <Type>String</Type> | |
97 | - <RangeEnumeration /> | |
98 | - <Units /> | |
99 | - <Description><![CDATA[Human readable manufacturer name]]></Description> | |
100 | - </Item> | |
101 | - <Item ID="1"> | |
102 | - <Name>Model Number</Name> | |
103 | - <Operations>R</Operations> | |
104 | - <MultipleInstances>Single</MultipleInstances> | |
105 | - <Mandatory>Optional</Mandatory> | |
106 | - <Type>String</Type> | |
107 | - <RangeEnumeration /> | |
108 | - <Units /> | |
109 | - <Description><![CDATA[A model identifier (manufacturer specified string)]]></Description> | |
110 | - </Item> | |
111 | - <Item ID="2"> | |
112 | - <Name>Serial Number</Name> | |
113 | - <Operations>R</Operations> | |
114 | - <MultipleInstances>Single</MultipleInstances> | |
115 | - <Mandatory>Optional</Mandatory> | |
116 | - <Type>String</Type> | |
117 | - <RangeEnumeration /> | |
118 | - <Units /> | |
119 | - <Description><![CDATA[Serial number of the meter]]></Description> | |
120 | - </Item> | |
121 | - <Item ID="3"> | |
122 | - <Name>Description</Name> | |
123 | - <Operations>R</Operations> | |
124 | - <MultipleInstances>Single</MultipleInstances> | |
125 | - <Mandatory>Optional</Mandatory> | |
126 | - <Type>String</Type> | |
127 | - <RangeEnumeration /> | |
128 | - <Units /> | |
129 | - <Description><![CDATA[Description of the meter]]></Description> | |
130 | - </Item> | |
131 | - <Item ID="11"> | |
132 | - <Name>Error code</Name> | |
133 | - <Operations>R</Operations> | |
134 | - <MultipleInstances>Multiple</MultipleInstances> | |
135 | - <Mandatory>Optional</Mandatory> | |
136 | - <Type>Integer</Type> | |
137 | - <RangeEnumeration> | |
138 | - </RangeEnumeration> | |
139 | - <Units></Units> | |
140 | - <Description><![CDATA[Error code reported by the meter]]></Description> | |
141 | - </Item> | |
142 | - <Item ID="5800"> | |
143 | - <Name>Instantaneous active power</Name> | |
144 | - <Operations>R</Operations> | |
145 | - <MultipleInstances>Single</MultipleInstances> | |
146 | - <Mandatory>Optional</Mandatory> | |
147 | - <Type>Float</Type> | |
148 | - <RangeEnumeration></RangeEnumeration> | |
149 | - <Units>W</Units> | |
150 | - <Description><![CDATA[The current active power]]></Description> | |
151 | - </Item> | |
152 | - <Item ID="5802"> | |
153 | - <Name>Max Measured active power</Name> | |
154 | - <Operations>R</Operations> | |
155 | - <MultipleInstances>Multiple</MultipleInstances> | |
156 | - <Mandatory>Mandatory</Mandatory> | |
157 | - <Type>Float</Type> | |
158 | - <RangeEnumeration></RangeEnumeration> | |
159 | - <Units>W</Units> | |
160 | - <Description><![CDATA[The maximum active power measured by the sensor since it is ON]]></Description> | |
161 | - </Item> | |
162 | - <Item ID="5805"> | |
163 | - <Name>Cumulative active power</Name> | |
164 | - <Operations>R</Operations> | |
165 | - <MultipleInstances>Single</MultipleInstances> | |
166 | - <Mandatory>Optional</Mandatory> | |
167 | - <Type>Float</Type> | |
168 | - <RangeEnumeration></RangeEnumeration> | |
169 | - <Units>Wh</Units> | |
170 | - <Description><![CDATA[The cumulative active power since the last cumulative energy reset or device start]]></Description> | |
171 | - </Item> | |
172 | - <Item ID="12"> | |
173 | - <Name>Flow temperature</Name> | |
174 | - <Operations>R</Operations> | |
175 | - <MultipleInstances>Single</MultipleInstances> | |
176 | - <Mandatory>Optional</Mandatory> | |
177 | - <Type>Float</Type> | |
178 | - <RangeEnumeration></RangeEnumeration> | |
179 | - <Units>Cel</Units> | |
180 | - <Description><![CDATA[Flow temperature]]></Description> | |
181 | - </Item> | |
182 | - <Item ID="13"> | |
183 | - <Name>Max Measured flow temperature</Name> | |
184 | - <Operations>R</Operations> | |
185 | - <MultipleInstances>Single</MultipleInstances> | |
186 | - <Mandatory>Optional</Mandatory> | |
187 | - <Type>Float</Type> | |
188 | - <RangeEnumeration></RangeEnumeration> | |
189 | - <Units>Cel</Units> | |
190 | - <Description><![CDATA[The maximum flow temperature measured by the meter]]></Description> | |
191 | - </Item> | |
192 | - <Item ID="14"> | |
193 | - <Name>Return temperature</Name> | |
194 | - <Operations>R</Operations> | |
195 | - <MultipleInstances>Single</MultipleInstances> | |
196 | - <Mandatory>Optional</Mandatory> | |
197 | - <Type>Float</Type> | |
198 | - <RangeEnumeration></RangeEnumeration> | |
199 | - <Units>Cel</Units> | |
200 | - <Description><![CDATA[Return temperature]]></Description> | |
201 | - </Item> | |
202 | - <Item ID="15"> | |
203 | - <Name>Max Measured return temperature</Name> | |
204 | - <Operations>R</Operations> | |
205 | - <MultipleInstances>Single</MultipleInstances> | |
206 | - <Mandatory>Optional</Mandatory> | |
207 | - <Type>Float</Type> | |
208 | - <RangeEnumeration></RangeEnumeration> | |
209 | - <Units>Cel</Units> | |
210 | - <Description><![CDATA[The maximum return temperature measured by the meter ]]></Description> | |
211 | - </Item> | |
212 | - <Item ID="16"> | |
213 | - <Name>Temperature difference</Name> | |
214 | - <Operations>R</Operations> | |
215 | - <MultipleInstances>Single</MultipleInstances> | |
216 | - <Mandatory>Optional</Mandatory> | |
217 | - <Type>Float</Type> | |
218 | - <RangeEnumeration></RangeEnumeration> | |
219 | - <Units>K</Units> | |
220 | - <Description><![CDATA[Temperature difference]]></Description> | |
221 | - </Item> | |
222 | - <Item ID="17"> | |
223 | - <Name>Flow rate</Name> | |
224 | - <Operations>R</Operations> | |
225 | - <MultipleInstances>Single</MultipleInstances> | |
226 | - <Mandatory>Optional</Mandatory> | |
227 | - <Type>Float</Type> | |
228 | - <RangeEnumeration></RangeEnumeration> | |
229 | - <Units>m3/s</Units> | |
230 | - <Description><![CDATA[The flow rate]]></Description> | |
231 | - </Item> | |
232 | - <Item ID="18"> | |
233 | - <Name>Max Measured flow</Name> | |
234 | - <Operations>R</Operations> | |
235 | - <MultipleInstances>Single</MultipleInstances> | |
236 | - <Mandatory>Optional</Mandatory> | |
237 | - <Type>Float</Type> | |
238 | - <RangeEnumeration></RangeEnumeration> | |
239 | - <Units>m3/s</Units> | |
240 | - <Description><![CDATA[The maximum flow measured by the meter ]]></Description> | |
241 | - </Item> | |
242 | - <Item ID="20"> | |
243 | - <Name>Flow volume</Name> | |
244 | - <Operations>R</Operations> | |
245 | - <MultipleInstances>Single</MultipleInstances> | |
246 | - <Mandatory>Optional</Mandatory> | |
247 | - <Type>Float</Type> | |
248 | - <RangeEnumeration></RangeEnumeration> | |
249 | - <Units>m3</Units> | |
250 | - <Description><![CDATA[The cumulative flow volume measured on the flow pipe]]></Description> | |
251 | - </Item> | |
252 | - <Item ID="21"> | |
253 | - <Name>Return volume</Name> | |
254 | - <Operations>R</Operations> | |
255 | - <MultipleInstances>Single</MultipleInstances> | |
256 | - <Mandatory>Optional</Mandatory> | |
257 | - <Type>Float</Type> | |
258 | - <RangeEnumeration></RangeEnumeration> | |
259 | - <Units>m3</Units> | |
260 | - <Description><![CDATA[The cumulative flow volume measured on the return pipe]]></Description> | |
261 | - </Item> | |
262 | - <Item ID="5506"> | |
263 | - <Name>Current Time</Name> | |
264 | - <Operations>RW</Operations> | |
265 | - <MultipleInstances>Single</MultipleInstances> | |
266 | - <Mandatory>Optional</Mandatory> | |
267 | - <Type>Time</Type> | |
268 | - <RangeEnumeration></RangeEnumeration> | |
269 | - <Units></Units> | |
270 | - <Description><![CDATA[Unix Time. A signed integer representing the number of seconds since Jan 1st, 1970 in the UTC time zone.]]></Description> | |
271 | - </Item> | |
272 | - </Resources> | |
273 | - <Description2 /> | |
274 | - </Object> | |
275 | -</LWM2M> |
common/transport/lwm2m/src/main/resources/models/10258.xml
deleted
100644 → 0
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | -<!-- | |
3 | -Copyright 2017 World-Direct eBusiness solutions GmbH | |
4 | -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), | |
5 | -to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, | |
6 | -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: | |
7 | - | |
8 | -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | |
9 | - | |
10 | -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
11 | -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
12 | -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 | |
13 | -IN THE SOFTWARE. | |
14 | - --> | |
15 | -<LWM2M xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://openmobilealliance.org/tech/profiles/LWM2M.xsd"> | |
16 | - <Object ObjectType="MODefinition"> | |
17 | - <Name>Current Loop Output</Name> | |
18 | - <Description1><![CDATA[This LWM2M Object provides a representation of a current loop source, which may be used to carry control signals.]]></Description1> | |
19 | - <ObjectID>10258</ObjectID> | |
20 | - <ObjectURN>urn:oma:lwm2m:x:10258</ObjectURN> | |
21 | - <LWM2MVersion>1.0</LWM2MVersion> | |
22 | - <ObjectVersion>1.0</ObjectVersion> | |
23 | - <MultipleInstances>Multiple</MultipleInstances> | |
24 | - <Mandatory>Optional</Mandatory> | |
25 | - <Resources> | |
26 | - <Item ID="0"> | |
27 | - <Name>Current Loop Output Current Value</Name> | |
28 | - <Operations>RW</Operations> | |
29 | - <MultipleInstances>Single</MultipleInstances> | |
30 | - <Mandatory>Mandatory</Mandatory> | |
31 | - <Type>Float</Type> | |
32 | - <RangeEnumeration>3.8-20.5</RangeEnumeration> | |
33 | - <Units>mA</Units> | |
34 | - <Description><![CDATA[The current value of the current loop output.]]></Description> | |
35 | - </Item> | |
36 | - <Item ID="5603"> | |
37 | - <Name>Min Range Value</Name> | |
38 | - <Operations>R</Operations> | |
39 | - <MultipleInstances>Single</MultipleInstances> | |
40 | - <Mandatory>Optional</Mandatory> | |
41 | - <Type>Float</Type> | |
42 | - <RangeEnumeration></RangeEnumeration> | |
43 | - <Units></Units> | |
44 | - <Description><![CDATA[The minimum value that can be measured by the sensor. Defined by “Units” resource.]]></Description> | |
45 | - </Item> | |
46 | - <Item ID="5604"> | |
47 | - <Name>Max Range Value</Name> | |
48 | - <Operations>R</Operations> | |
49 | - <MultipleInstances>Single</MultipleInstances> | |
50 | - <Mandatory>Optional</Mandatory> | |
51 | - <Type>Float</Type> | |
52 | - <RangeEnumeration></RangeEnumeration> | |
53 | - <Units></Units> | |
54 | - <Description><![CDATA[The maximum value that can be measured by the sensor. Defined by “Units” resource.]]></Description> | |
55 | - </Item> | |
56 | - <Item ID="5701"> | |
57 | - <Name>Sensor Units</Name> | |
58 | - <Operations>R</Operations> | |
59 | - <MultipleInstances>Single</MultipleInstances> | |
60 | - <Mandatory>Optional</Mandatory> | |
61 | - <Type>String</Type> | |
62 | - <RangeEnumeration></RangeEnumeration> | |
63 | - <Units></Units> | |
64 | - <Description><![CDATA[Measurement Units Definition.]]></Description> | |
65 | - </Item> | |
66 | - <Item ID="5750"> | |
67 | - <Name>Application Type</Name> | |
68 | - <Operations>RW</Operations> | |
69 | - <MultipleInstances>Single</MultipleInstances> | |
70 | - <Mandatory>Optional</Mandatory> | |
71 | - <Type>String</Type> | |
72 | - <RangeEnumeration></RangeEnumeration> | |
73 | - <Units></Units> | |
74 | - <Description><![CDATA[The application type of the sensor or actuator as a string, for instance, “Air Pressure”.]]></Description> | |
75 | - </Item> | |
76 | - <Item ID="5821"> | |
77 | - <Name>Current Calibration</Name> | |
78 | - <Operations>RW</Operations> | |
79 | - <MultipleInstances>Single</MultipleInstances> | |
80 | - <Mandatory>Optional</Mandatory> | |
81 | - <Type>Float</Type> | |
82 | - <RangeEnumeration></RangeEnumeration> | |
83 | - <Units></Units> | |
84 | - <Description><![CDATA[Read or Write the current calibration coefficient]]></Description> | |
85 | - </Item> | |
86 | - </Resources> | |
87 | - <Description2><![CDATA[]]></Description2> | |
88 | - </Object> | |
89 | -</LWM2M> |
common/transport/lwm2m/src/main/resources/models/10259.xml
deleted
100644 → 0
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | - | |
3 | -<!-- BSD-3 Clause License | |
4 | - | |
5 | -Copyright 2019 Casa Systems. | |
6 | - | |
7 | -Redistribution and use in source and binary forms, with or without | |
8 | -modification, are permitted provided that the following conditions | |
9 | -are met: | |
10 | - | |
11 | -1. Redistributions of source code must retain the above copyright | |
12 | -notice, this list of conditions and the following disclaimer. | |
13 | -2. Redistributions in binary form must reproduce the above copyright | |
14 | -notice, this list of conditions and the following disclaimer in the | |
15 | -documentation and/or other materials provided with the distribution. | |
16 | -3. Neither the name of the copyright holder nor the names of its | |
17 | -contributors may be used to endorse or promote products derived | |
18 | -from this software without specific prior written permission. | |
19 | - | |
20 | -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
21 | -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
22 | -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS | |
23 | -FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE | |
24 | -COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, | |
25 | -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, | |
26 | -BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | |
27 | -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER | |
28 | -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | |
29 | -LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN | |
30 | -ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | |
31 | -POSSIBILITY OF SUCH DAMAGE. | |
32 | ---> | |
33 | - | |
34 | -<LWM2M xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://openmobilealliance.org/tech/profiles/LWM2M.xsd"> | |
35 | - <Object ObjectType="MODefinition"> | |
36 | - <Name>System Log</Name> | |
37 | - <Description1><![CDATA[This object provides read access to log buffers as well as limited configuration of logging services.]]></Description1> | |
38 | - <ObjectID>10259</ObjectID> | |
39 | - <ObjectURN>urn:oma:lwm2m:x:10259</ObjectURN> | |
40 | - <LWM2MVersion>1.0</LWM2MVersion> | |
41 | - <ObjectVersion>1.0</ObjectVersion> | |
42 | - <MultipleInstances>Multiple</MultipleInstances> | |
43 | - <Mandatory>Optional</Mandatory> | |
44 | - <Resources> | |
45 | - <Item ID="0"> | |
46 | - <Name>Name</Name> | |
47 | - <Operations>R</Operations> | |
48 | - <MultipleInstances>Single</MultipleInstances> | |
49 | - <Mandatory>Mandatory</Mandatory> | |
50 | - <Type>String</Type> | |
51 | - <RangeEnumeration> | |
52 | - </RangeEnumeration> | |
53 | - <Units> | |
54 | - </Units> | |
55 | - <Description><![CDATA[Short name describing the log source represented by this particular instance. | |
56 | -For syslog-compatible log sources this value should be "syslog". If multiple syslog-compatible log sources exist on a device then each should be given a distinct name that is then prefixed with "syslog-".]]></Description> | |
57 | - </Item> | |
58 | - <Item ID="1"> | |
59 | - <Name>Read All</Name> | |
60 | - <Operations>R</Operations> | |
61 | - <MultipleInstances>Single</MultipleInstances> | |
62 | - <Mandatory>Mandatory</Mandatory> | |
63 | - <Type>String</Type> | |
64 | - <RangeEnumeration> | |
65 | - </RangeEnumeration> | |
66 | - <Units> | |
67 | - </Units> | |
68 | - <Description><![CDATA[Read the entire current contents of the log buffer. | |
69 | -Result is delivered as a display-formatted UTF-8 string, with each message entry on a new line.]]></Description> | |
70 | - </Item> | |
71 | - <Item ID="2"> | |
72 | - <Name>Read</Name> | |
73 | - <Operations>R</Operations> | |
74 | - <MultipleInstances>Single</MultipleInstances> | |
75 | - <Mandatory>Optional</Mandatory> | |
76 | - <Type>String</Type> | |
77 | - <RangeEnumeration> | |
78 | - </RangeEnumeration> | |
79 | - <Units> | |
80 | - </Units> | |
81 | - <Description><![CDATA[Similar to Read All, but only reads log entries that have arrived since the last time this log buffer was read. | |
82 | -If the LwM2M client is connected to multiple servers then the last read position should be tracked separately for each server. | |
83 | -If this is the first attempt to read the log for a given connection then this resource behaves the same as Read All.]]></Description> | |
84 | - </Item> | |
85 | - <Item ID="3"> | |
86 | - <Name>Enabled</Name> | |
87 | - <Operations>RW</Operations> | |
88 | - <MultipleInstances>Single</MultipleInstances> | |
89 | - <Mandatory>Optional</Mandatory> | |
90 | - <Type>Boolean</Type> | |
91 | - <RangeEnumeration> | |
92 | - </RangeEnumeration> | |
93 | - <Units> | |
94 | - </Units> | |
95 | - <Description><![CDATA[Enable or disable log capture for this source. | |
96 | -If this resource is not provided by an implementation, then the existence of a System Log instance is taken as implicit confirmation that the log source it represents is currently enabled.]]></Description> | |
97 | - </Item> | |
98 | - <Item ID="4"> | |
99 | - <Name>Capture Level</Name> | |
100 | - <Operations>RW</Operations> | |
101 | - <MultipleInstances>Single</MultipleInstances> | |
102 | - <Mandatory>Optional</Mandatory> | |
103 | - <Type>Integer</Type> | |
104 | - <RangeEnumeration> | |
105 | - </RangeEnumeration> | |
106 | - <Units> | |
107 | - </Units> | |
108 | - <Description><![CDATA[For log sources that support message priorities, this resource configures the minimum priority to capture. | |
109 | -For syslog-compatible log sources the following enumeration must be used: 1 = Emergency, 2 = Alert, 3 = Critical, 4 = Error, 5 = Warning, 6 = Notice, 7 = Info, 8 = Debug. | |
110 | -For other log sources this is left up to the implementer, with the requirement that consecutive values are used, starting at 1 and sorted so that message verbosity increases as the number ascends.]]></Description> | |
111 | - </Item> | |
112 | - </Resources> | |
113 | - <Description2><![CDATA[]]></Description2> | |
114 | - </Object> | |
115 | -</LWM2M> |
common/transport/lwm2m/src/main/resources/models/10260-2_0.xml
deleted
100644 → 0
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | - | |
3 | -<!-- BSD-3 Clause License | |
4 | - | |
5 | -Copyright 2019 Casa Systems. | |
6 | - | |
7 | -Redistribution and use in source and binary forms, with or without | |
8 | -modification, are permitted provided that the following conditions | |
9 | -are met: | |
10 | - | |
11 | -1. Redistributions of source code must retain the above copyright | |
12 | -notice, this list of conditions and the following disclaimer. | |
13 | -2. Redistributions in binary form must reproduce the above copyright | |
14 | -notice, this list of conditions and the following disclaimer in the | |
15 | -documentation and/or other materials provided with the distribution. | |
16 | -3. Neither the name of the copyright holder nor the names of its | |
17 | -contributors may be used to endorse or promote products derived | |
18 | -from this software without specific prior written permission. | |
19 | - | |
20 | -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
21 | -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
22 | -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS | |
23 | -FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE | |
24 | -COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, | |
25 | -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, | |
26 | -BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | |
27 | -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER | |
28 | -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | |
29 | -LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN | |
30 | -ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | |
31 | -POSSIBILITY OF SUCH DAMAGE. | |
32 | ---> | |
33 | -<LWM2M xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://openmobilealliance.org/tech/profiles/LWM2M.xsd"> | |
34 | - <Object ObjectType="MODefinition"> | |
35 | - <Name>RDB</Name> | |
36 | - <Description1><![CDATA[This object allows manipulation of Runtime Database variables.]]></Description1> | |
37 | - <ObjectID>10260</ObjectID> | |
38 | - <ObjectURN>urn:oma:lwm2m:x:10260:2.0</ObjectURN> | |
39 | - <LWM2MVersion>1.0</LWM2MVersion> | |
40 | - <ObjectVersion>2.0</ObjectVersion> | |
41 | - <MultipleInstances>Multiple</MultipleInstances> | |
42 | - <Mandatory>Optional</Mandatory> | |
43 | - <Resources> | |
44 | - <Item ID="0"> | |
45 | - <Name>Key</Name> | |
46 | - <Operations>RW</Operations> | |
47 | - <MultipleInstances>Single</MultipleInstances> | |
48 | - <Mandatory>Mandatory</Mandatory> | |
49 | - <Type>String</Type> | |
50 | - <RangeEnumeration> | |
51 | - </RangeEnumeration> | |
52 | - <Units> | |
53 | - </Units> | |
54 | - <Description><![CDATA[The name of the RDB variable that this instance currently represents. Writing to this resource will not rename or otherwise modify the associated RDB variable, rather it will re-assign the instance to represent a different variable.]]></Description> | |
55 | - </Item> | |
56 | - <Item ID="1"> | |
57 | - <Name>Value</Name> | |
58 | - <Operations>RW</Operations> | |
59 | - <MultipleInstances>Single</MultipleInstances> | |
60 | - <Mandatory>Optional</Mandatory> | |
61 | - <Type>String</Type> | |
62 | - <RangeEnumeration> | |
63 | - </RangeEnumeration> | |
64 | - <Units> | |
65 | - </Units> | |
66 | - <Description><![CDATA[The current value of the RDB variable associated with this instance. Reading this resource will return a "Not Found" response code if the associated variable does not exist. Writing to this resource will create the associated variable if it does not already exist.]]></Description> | |
67 | - </Item> | |
68 | - <Item ID="2"> | |
69 | - <Name>Exists</Name> | |
70 | - <Operations>RW</Operations> | |
71 | - <MultipleInstances>Single</MultipleInstances> | |
72 | - <Mandatory>Optional</Mandatory> | |
73 | - <Type>Boolean</Type> | |
74 | - <RangeEnumeration> | |
75 | - </RangeEnumeration> | |
76 | - <Units> | |
77 | - </Units> | |
78 | - <Description><![CDATA[Indicates whether the RDB variable associated with this instance currently exists. Writing FALSE to this resource will delete the associated variable if it exists. Writing TRUE to this resource will create the associated variable if it does not already exist. Variables created by this resource will be initialised to an empty string.]]></Description> | |
79 | - </Item> | |
80 | - <Item ID="3"> | |
81 | - <Name>Persistent</Name> | |
82 | - <Operations>RW</Operations> | |
83 | - <MultipleInstances>Single</MultipleInstances> | |
84 | - <Mandatory>Optional</Mandatory> | |
85 | - <Type>Boolean</Type> | |
86 | - <RangeEnumeration> | |
87 | - </RangeEnumeration> | |
88 | - <Units> | |
89 | - </Units> | |
90 | - <Description><![CDATA[Configure whether or not the RDB variable associated with this instance will be saved to persistent storage.]]></Description> | |
91 | - </Item> | |
92 | - </Resources> | |
93 | - <Description2 /> | |
94 | - </Object> | |
95 | -</LWM2M> |
common/transport/lwm2m/src/main/resources/models/10262.xml
deleted
100644 → 0
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | - | |
3 | -<!-- BSD-3 Clause License | |
4 | - | |
5 | -Copyright 2019 South East Water Corporation. | |
6 | - | |
7 | -Redistribution and use in source and binary forms, with or without | |
8 | -modification, are permitted provided that the following conditions | |
9 | -are met: | |
10 | - | |
11 | -1. Redistributions of source code must retain the above copyright | |
12 | -notice, this list of conditions and the following disclaimer. | |
13 | -2. Redistributions in binary form must reproduce the above copyright | |
14 | -notice, this list of conditions and the following disclaimer in the | |
15 | -documentation and/or other materials provided with the distribution. | |
16 | -3. Neither the name of the copyright holder nor the names of its | |
17 | -contributors may be used to endorse or promote products derived | |
18 | -from this software without specific prior written permission. | |
19 | - | |
20 | -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
21 | -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
22 | -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS | |
23 | -FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE | |
24 | -COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, | |
25 | -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, | |
26 | -BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | |
27 | -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER | |
28 | -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | |
29 | -LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN | |
30 | -ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | |
31 | -POSSIBILITY OF SUCH DAMAGE. | |
32 | ---> | |
33 | - | |
34 | -<LWM2M xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://openmobilealliance.org/tech/profiles/LWM2M.xsd"> | |
35 | - <Object ObjectType="MODefinition"> | |
36 | - <Name>Interval Data Delivery</Name> | |
37 | - <Description1><![CDATA[The Interval Data Delivery object provides an optimised means for managing the delivery of interval data from multiple Interval Data Object instances. ]]></Description1> | |
38 | - <ObjectID>10262</ObjectID> | |
39 | - <ObjectURN>urn:oma:lwm2m:x:10262</ObjectURN> | |
40 | - <MultipleInstances>Multiple</MultipleInstances> | |
41 | - <Mandatory>Optional</Mandatory> | |
42 | - <Resources> | |
43 | - <Item ID="0"> | |
44 | - <Name>Name</Name> | |
45 | - <Operations>RW</Operations> | |
46 | - <MultipleInstances>Single</MultipleInstances> | |
47 | - <Mandatory>Mandatory</Mandatory> | |
48 | - <Type>String</Type> | |
49 | - <RangeEnumeration></RangeEnumeration> | |
50 | - <Units></Units> | |
51 | - <Description><![CDATA[The Name resource provides a way to identify different Interval Data Delivery instances. Name is a readable and writable attribute. Name is defined as an arbitrary length text string]]></Description> | |
52 | - </Item> | |
53 | - <Item ID="1"> | |
54 | - <Name>Interval Data Links</Name> | |
55 | - <Operations>RW</Operations> | |
56 | - <MultipleInstances>Multiple</MultipleInstances> | |
57 | - <Mandatory>Mandatory</Mandatory> | |
58 | - <Type>Objlnk</Type> | |
59 | - <RangeEnumeration></RangeEnumeration> | |
60 | - <Units></Units> | |
61 | - <Description><![CDATA[The Interval Data Links resource is a set of object links that point to each of the Interval Data Object Instances that are managed by this Interval Data Delivery Object Instance. An Object Link is two 16-bit integer values representing the Object ID and the Object Instance ID. This resource can have multiple instances allowing this Interval Data Delivery object to manage many Interval Data instances.]]></Description> | |
62 | - </Item> | |
63 | - <Item ID="2"> | |
64 | - <Name>Latest Payload</Name> | |
65 | - <Operations>R</Operations> | |
66 | - <MultipleInstances>Multiple</MultipleInstances> | |
67 | - <Mandatory>Mandatory</Mandatory> | |
68 | - <Type>Opaque</Type> | |
69 | - <RangeEnumeration></RangeEnumeration> | |
70 | - <Units></Units> | |
71 | - <Description><![CDATA[The Latest Payload resource is a multiple instance resource representing the Latest Payload resource from each of the Interval Data objects defined in the Interval Data Links Resource. When this payload is delivered to the LwM2M server, via either a read request or a confirmed observation on this Object, Object Instance or Resource, the Latest Delivered Interval should for each of the Interval Data objects defined in the Interval Data Links Resource must be updated. When no new data exists for a specific Interval Data instance and empty Opaque value should be provided. When a specific Interval Data Instance is disabled (Recording Enabled Resource = 0), no payload data should be provided at all.]]></Description> | |
72 | - </Item> | |
73 | - <Item ID="3"> | |
74 | - <Name>Schedule</Name> | |
75 | - <Operations>RW</Operations> | |
76 | - <MultipleInstances>Single</MultipleInstances> | |
77 | - <Mandatory>Optional</Mandatory> | |
78 | - <Type>Objlnk</Type> | |
79 | - <RangeEnumeration></RangeEnumeration> | |
80 | - <Units></Units> | |
81 | - <Description><![CDATA[The Schedule resource provides link to a schedule object. This Schedule object is used to provide fine grain control the Notification schedule delivery when the default LwM2M NOTIFICATION attributes do not provide sufficient control. If no schedule is required, an Object Link referencing no Object Instance will contain the concatenation of 2 MAX-ID values (null link).]]></Description> | |
82 | - </Item> | |
83 | - </Resources> | |
84 | - <Description2></Description2> | |
85 | - </Object> | |
86 | -</LWM2M> | |
87 | - |
common/transport/lwm2m/src/main/resources/models/10263.xml
deleted
100644 → 0
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | - | |
3 | -<!-- BSD-3 Clause License | |
4 | - | |
5 | -Copyright 2019 South East Water Corporation. | |
6 | - | |
7 | -Redistribution and use in source and binary forms, with or without | |
8 | -modification, are permitted provided that the following conditions | |
9 | -are met: | |
10 | - | |
11 | -1. Redistributions of source code must retain the above copyright | |
12 | -notice, this list of conditions and the following disclaimer. | |
13 | -2. Redistributions in binary form must reproduce the above copyright | |
14 | -notice, this list of conditions and the following disclaimer in the | |
15 | -documentation and/or other materials provided with the distribution. | |
16 | -3. Neither the name of the copyright holder nor the names of its | |
17 | -contributors may be used to endorse or promote products derived | |
18 | -from this software without specific prior written permission. | |
19 | - | |
20 | -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
21 | -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
22 | -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS | |
23 | -FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE | |
24 | -COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, | |
25 | -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, | |
26 | -BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | |
27 | -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER | |
28 | -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | |
29 | -LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN | |
30 | -ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | |
31 | -POSSIBILITY OF SUCH DAMAGE. | |
32 | ---> | |
33 | - | |
34 | -<LWM2M xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://openmobilealliance.org/tech/profiles/LWM2M.xsd"> | |
35 | - <Object ObjectType="MODefinition"> | |
36 | - <Name>Event Data Delivery</Name> | |
37 | - <Description1><![CDATA[The Event Data Delivery object provides a simple means for managing the delivery of event data from multiple Event Data Object instances. ]]></Description1> | |
38 | - <ObjectID>10263</ObjectID> | |
39 | - <ObjectURN>urn:oma:lwm2m:x:10263</ObjectURN> | |
40 | - <MultipleInstances>Multiple</MultipleInstances> | |
41 | - <Mandatory>Optional</Mandatory> | |
42 | - <Resources> | |
43 | - <Item ID="0"> | |
44 | - <Name>Name</Name> | |
45 | - <Operations>RW</Operations> | |
46 | - <MultipleInstances>Single</MultipleInstances> | |
47 | - <Mandatory>Mandatory</Mandatory> | |
48 | - <Type>String</Type> | |
49 | - <RangeEnumeration></RangeEnumeration> | |
50 | - <Units></Units> | |
51 | - <Description><![CDATA[The Name resource provides a way to identify different Event Data Delivery instances. Name is a readable and writable attribute. Name is defined as an arbitrary length text string]]></Description> | |
52 | - </Item> | |
53 | - <Item ID="1"> | |
54 | - <Name>Event Data Links</Name> | |
55 | - <Operations>RW</Operations> | |
56 | - <MultipleInstances>Multiple</MultipleInstances> | |
57 | - <Mandatory>Mandatory</Mandatory> | |
58 | - <Type>Objlnk</Type> | |
59 | - <RangeEnumeration></RangeEnumeration> | |
60 | - <Units></Units> | |
61 | - <Description><![CDATA[The Event Data Links resource is a set of object links that point to each of the Event Data Object Instances that are managed by this Event Data Delivery Object Instance. An Object Link is two 16-bit integer values representing the Object ID and the Object Instance ID. This resource can have multiple instances allowing this Event Data Delivery object to manage many Event Data instances.]]></Description> | |
62 | - </Item> | |
63 | - <Item ID="2"> | |
64 | - <Name>Latest Eventlog</Name> | |
65 | - <Operations>R</Operations> | |
66 | - <MultipleInstances>Multiple</MultipleInstances> | |
67 | - <Mandatory>Mandatory</Mandatory> | |
68 | - <Type>Opaque</Type> | |
69 | - <RangeEnumeration></RangeEnumeration> | |
70 | - <Units></Units> | |
71 | - <Description><![CDATA[The Latest Eventlog resource is a multiple instance resource representing the Latest Eventlog resource from each of the Event Data objects defined in the Event Data Links Resource. When this payload is delivered to the LwM2M server, via either a read request or a confirmed observation on this Object, Object Instance or Resource, the Latest Delivered Event Time for each of the Event Data objects defined in the Event Data Links Resource must be updated. When no new event data exists for any of the linked Event Data instances an empty Opaque value should be provided. | |
72 | - | |
73 | -If this resource has an LwM2M server observation and one of the Event Data Instance is configured as Realtime and has been triggered, the Event Data Delivery object must send all undelivered events for all linked Event Data objects. | |
74 | -]]></Description> | |
75 | - </Item> | |
76 | - <Item ID="3"> | |
77 | - <Name>Schedule</Name> | |
78 | - <Operations>RW</Operations> | |
79 | - <MultipleInstances>Single</MultipleInstances> | |
80 | - <Mandatory>Mandatory</Mandatory> | |
81 | - <Type>Objlnk</Type> | |
82 | - <RangeEnumeration></RangeEnumeration> | |
83 | - <Units></Units> | |
84 | - <Description><![CDATA[The Schedule resource provides link to a schedule object. This Schedule object is used to provide fine grain control the Notification schedule delivery when the default LwM2M NOTIFICATION attributes do not provide sufficient control. If no schedule is required, an Object Link referencing no Object Instance will contain the concatenation of 2 MAX-ID values (null link).]]></Description> | |
85 | - </Item> | |
86 | - </Resources> | |
87 | - <Description2></Description2> | |
88 | - </Object> | |
89 | -</LWM2M> | |
90 | - |
common/transport/lwm2m/src/main/resources/models/10264.xml
deleted
100644 → 0
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | - | |
3 | -<!-- BSD-3 Clause License | |
4 | - | |
5 | -Copyright 2019 South East Water Corporation. | |
6 | - | |
7 | -Redistribution and use in source and binary forms, with or without | |
8 | -modification, are permitted provided that the following conditions | |
9 | -are met: | |
10 | - | |
11 | -1. Redistributions of source code must retain the above copyright | |
12 | -notice, this list of conditions and the following disclaimer. | |
13 | -2. Redistributions in binary form must reproduce the above copyright | |
14 | -notice, this list of conditions and the following disclaimer in the | |
15 | -documentation and/or other materials provided with the distribution. | |
16 | -3. Neither the name of the copyright holder nor the names of its | |
17 | -contributors may be used to endorse or promote products derived | |
18 | -from this software without specific prior written permission. | |
19 | - | |
20 | -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
21 | -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
22 | -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS | |
23 | -FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE | |
24 | -COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, | |
25 | -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, | |
26 | -BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | |
27 | -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER | |
28 | -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | |
29 | -LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN | |
30 | -ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | |
31 | -POSSIBILITY OF SUCH DAMAGE. | |
32 | ---> | |
33 | - | |
34 | -<LWM2M xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://openmobilealliance.org/tech/profiles/LWM2M.xsd"> | |
35 | - <Object ObjectType="MODefinition"> | |
36 | - <Name>Delivery Schedule</Name> | |
37 | - <Description1><![CDATA[The Delivery Schedule object provides a means for controlling the periodic delivery of interval and event data to the LwM2M server.]]></Description1> | |
38 | - <ObjectID>10264</ObjectID> | |
39 | - <ObjectURN>urn:oma:lwm2m:x:10264</ObjectURN> | |
40 | - <MultipleInstances>Multiple</MultipleInstances> | |
41 | - <Mandatory>Optional</Mandatory> | |
42 | - <Resources> | |
43 | - <Item ID="0"> | |
44 | - <Name>Schedule Start Time</Name> | |
45 | - <Operations>RW</Operations> | |
46 | - <MultipleInstances>Single</MultipleInstances> | |
47 | - <Mandatory>Mandatory</Mandatory> | |
48 | - <Type>Integer</Type> | |
49 | - <RangeEnumeration></RangeEnumeration> | |
50 | - <Units></Units> | |
51 | - <Description><![CDATA[Schedule Start Time is a readable and writable resource representing the number of seconds past midnight for which this schedule commences]]></Description> | |
52 | - </Item> | |
53 | - <Item ID="1"> | |
54 | - <Name>Schedule UTC Offset</Name> | |
55 | - <Operations>RW</Operations> | |
56 | - <MultipleInstances>Single</MultipleInstances> | |
57 | - <Mandatory>Mandatory</Mandatory> | |
58 | - <Type>String</Type> | |
59 | - <RangeEnumeration></RangeEnumeration> | |
60 | - <Units></Units> | |
61 | - <Description><![CDATA[The Schedule UTC Offset resource is a readable and writable resource representing the time zone offset for the Schedule Start Time Resource for this Delivery Schedule instance. If this resource is empty, the application should use the UTC offset provided in the Device [/3/0/14] object instance resource or UTC if not provided. UTC+X [ISO 8601].]]></Description> | |
62 | - </Item> | |
63 | - <Item ID="2"> | |
64 | - <Name>Delivery Frequency</Name> | |
65 | - <Operations>RW</Operations> | |
66 | - <MultipleInstances>Single</MultipleInstances> | |
67 | - <Mandatory>Mandatory</Mandatory> | |
68 | - <Type>Integer</Type> | |
69 | - <RangeEnumeration></RangeEnumeration> | |
70 | - <Units></Units> | |
71 | - <Description><![CDATA[The Delivery Frequency resource is a readable and writable resource representing the number of seconds between deliveries. It is recommended that the Delivery Frequency be set to a devisor of 24 hours (86400 seconds) to provide a consistent interval period. Examples of Delivery Frequency include:- | |
72 | -30 = Every 30 seconds | |
73 | -600 = Every 10 minutes | |
74 | -1800 = Every 30 minutes | |
75 | -3600 = Hourly | |
76 | -7200 = Every 2 hours | |
77 | -14400 = Every 4 hours | |
78 | -43200 = Every 12 hours | |
79 | -86400 = Every Day | |
80 | -172600 = Every Second Day | |
81 | -]]></Description> | |
82 | - </Item> | |
83 | - <Item ID="3"> | |
84 | - <Name>Randomised Delivery Window</Name> | |
85 | - <Operations>RW</Operations> | |
86 | - <MultipleInstances>Single</MultipleInstances> | |
87 | - <Mandatory>Optional</Mandatory> | |
88 | - <Type>Integer</Type> | |
89 | - <RangeEnumeration></RangeEnumeration> | |
90 | - <Units></Units> | |
91 | - <Description><![CDATA[The Randomised Delivery Window resource is a readable and writable resource representing a randomisation widow in seconds for the triggering of the notification delivery to the LwM2M server. If not provided, the randomised delivery window should default to 0 and the Notification should be sent immediately. The Randomised Delivery Window resource should be set to a value smaller than the delivery frequency.]]></Description> | |
92 | - </Item> | |
93 | - <Item ID="4"> | |
94 | - <Name>Number of Retries</Name> | |
95 | - <Operations>RW</Operations> | |
96 | - <MultipleInstances>Single</MultipleInstances> | |
97 | - <Mandatory>Optional</Mandatory> | |
98 | - <Type>Integer</Type> | |
99 | - <RangeEnumeration></RangeEnumeration> | |
100 | - <Units></Units> | |
101 | - <Description><![CDATA[The Number of Retries resource is a readable and writable resource representing the number of retry attempts that should be attempted when the delivery notification is not successful. If not provided, this value defaults to 0 and no retries are attempted. This retry behaviour is at an application level and should be set with consideration of standard CoAP retry behaviour.]]></Description> | |
102 | - </Item> | |
103 | - <Item ID="5"> | |
104 | - <Name>Retry Period</Name> | |
105 | - <Operations>RW</Operations> | |
106 | - <MultipleInstances>Single</MultipleInstances> | |
107 | - <Mandatory>Optional</Mandatory> | |
108 | - <Type>Integer</Type> | |
109 | - <RangeEnumeration></RangeEnumeration> | |
110 | - <Units></Units> | |
111 | - <Description><![CDATA[The Retry Period resource is a readable and writable resource representing the number of seconds between each application level retry. ]]></Description> | |
112 | - </Item> | |
113 | - </Resources> | |
114 | - <Description2></Description2> | |
115 | - </Object> | |
116 | -</LWM2M> | |
117 | - |
common/transport/lwm2m/src/main/resources/models/10265.xml
deleted
100644 → 0
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | - | |
3 | -<!-- BSD-3 Clause License | |
4 | - | |
5 | -Copyright 2019 South East Water Corporation. | |
6 | - | |
7 | -Redistribution and use in source and binary forms, with or without | |
8 | -modification, are permitted provided that the following conditions | |
9 | -are met: | |
10 | - | |
11 | -1. Redistributions of source code must retain the above copyright | |
12 | -notice, this list of conditions and the following disclaimer. | |
13 | -2. Redistributions in binary form must reproduce the above copyright | |
14 | -notice, this list of conditions and the following disclaimer in the | |
15 | -documentation and/or other materials provided with the distribution. | |
16 | -3. Neither the name of the copyright holder nor the names of its | |
17 | -contributors may be used to endorse or promote products derived | |
18 | -from this software without specific prior written permission. | |
19 | - | |
20 | -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
21 | -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
22 | -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS | |
23 | -FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE | |
24 | -COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, | |
25 | -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, | |
26 | -BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | |
27 | -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER | |
28 | -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | |
29 | -LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN | |
30 | -ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | |
31 | -POSSIBILITY OF SUCH DAMAGE. | |
32 | ---> | |
33 | - | |
34 | -<LWM2M xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://openmobilealliance.org/tech/profiles/LWM2M.xsd"> | |
35 | - <Object ObjectType="MODefinition"> | |
36 | - <Name>Leakage Detection Configuration</Name> | |
37 | - <Description1><![CDATA[The leakage detection configuration object provides a means for configuring the timing and sampling frequency of a vibration based network leak detector]]></Description1> | |
38 | - <ObjectID>10265</ObjectID> | |
39 | - <ObjectURN>urn:oma:lwm2m:x:10265</ObjectURN> | |
40 | - <MultipleInstances>Single</MultipleInstances> | |
41 | - <Mandatory>Optional</Mandatory> | |
42 | - <Resources> | |
43 | - <Item ID="0"> | |
44 | - <Name>Sample Times</Name> | |
45 | - <Operations>RW</Operations> | |
46 | - <MultipleInstances>Multiple</MultipleInstances> | |
47 | - <Mandatory>Mandatory</Mandatory> | |
48 | - <Type>Integer</Type> | |
49 | - <RangeEnumeration></RangeEnumeration> | |
50 | - <Units></Units> | |
51 | - <Description><![CDATA[Sample Times is a readable and writable multi value resource used to control when leak detection vibration sampling should occur. This is an integer value representing seconds since midnight]]></Description> | |
52 | - </Item> | |
53 | - <Item ID="1"> | |
54 | - <Name>Sample UTC Offset</Name> | |
55 | - <Operations>RW</Operations> | |
56 | - <MultipleInstances>Single</MultipleInstances> | |
57 | - <Mandatory>Optional</Mandatory> | |
58 | - <Type>String</Type> | |
59 | - <RangeEnumeration></RangeEnumeration> | |
60 | - <Units></Units> | |
61 | - <Description><![CDATA[The Sample UTC Offset resource is a readable and writable resource representing the time zone offset for this Leakage Detection Schedule instance. If this resource is empty, the application should use the UTC offset provided in the Device [/3/0/14] object instance resource or UTC if not provided.]]></Description> | |
62 | - </Item> | |
63 | - <Item ID="2"> | |
64 | - <Name>Detection Mode</Name> | |
65 | - <Operations>RW</Operations> | |
66 | - <MultipleInstances>Single</MultipleInstances> | |
67 | - <Mandatory>Mandatory</Mandatory> | |
68 | - <Type>Integer</Type> | |
69 | - <RangeEnumeration>0..3</RangeEnumeration> | |
70 | - <Units></Units> | |
71 | - <Description><![CDATA[Detection Mode is a readable and writeable resource used to indicate which mode to run the leak detection sensor. Values are one of:- | |
72 | -0. Disabled | |
73 | -1. Alarm Only (default) | |
74 | -2. Top Frequency Values | |
75 | -3. All Frequency Values | |
76 | - | |
77 | -Disabled (0) the leak detection function should be disabled. | |
78 | -Alarm Only (1) for this mode no detailed frequency data is provided to the LwM2M server and an alarm is raised if the Leakage Detection Daughter board indicates that leak was detected. | |
79 | -Top Frequency Values (2) for this mode, only the top (Top Frequency Count) values will be delivered to the LwM2M server via the Frequency Value Resource | |
80 | -All Frequency Values(3) for this mode, all frequency values for all frequency bands will be provided to the LwM2M server via the Frequency Value Resource | |
81 | -]]></Description> | |
82 | - </Item> | |
83 | - <Item ID="3"> | |
84 | - <Name>Top Frequency Count</Name> | |
85 | - <Operations>RW</Operations> | |
86 | - <MultipleInstances>Single</MultipleInstances> | |
87 | - <Mandatory>Optional</Mandatory> | |
88 | - <Type>Integer</Type> | |
89 | - <RangeEnumeration></RangeEnumeration> | |
90 | - <Units></Units> | |
91 | - <Description><![CDATA[Top Frequency Count is a readable and writeable resource used represent the number of samples to provide if the Detection Mode is set to Mode 2 (Top Frequency Values). If not provided, this value should default to 3]]></Description> | |
92 | - </Item> | |
93 | - <Item ID="4"> | |
94 | - <Name>Frequency Thresholds</Name> | |
95 | - <Operations>RW</Operations> | |
96 | - <MultipleInstances>Multiple</MultipleInstances> | |
97 | - <Mandatory>Optional</Mandatory> | |
98 | - <Type>Integer</Type> | |
99 | - <RangeEnumeration>0..999</RangeEnumeration> | |
100 | - <Units></Units> | |
101 | - <Description><![CDATA[Frequency Thresholds is a multiple value readable and writeable resource used to represent upper bound thresholds for each of the frequency bands configured on the daughter board. Being a multiple value resource, this resource only needs to contain the values that are required to override the default values provided by the daughter board firmware. As an example if the frequency threshold for band 7 and band 52 needs to be overridden, then this resource should just contain those two values:- | |
102 | -/TBD/0/4/7 = 123 | |
103 | -/TBD/0/4/52 = 345 | |
104 | -]]></Description> | |
105 | - </Item> | |
106 | - <Item ID="5"> | |
107 | - <Name>Frequency Values</Name> | |
108 | - <Operations>R</Operations> | |
109 | - <MultipleInstances>Multiple</MultipleInstances> | |
110 | - <Mandatory>Optional</Mandatory> | |
111 | - <Type>Integer</Type> | |
112 | - <RangeEnumeration></RangeEnumeration> | |
113 | - <Units></Units> | |
114 | - <Description><![CDATA[Frequency Values is a multiple value readonly resource used represent the latest frequency values recorded by the daughter board. In Detection Mode 2 (Top Frequency Values) only the number of values configured in Top Frequency Count will be provided. As an example, if the Top Frequency Count is 3 and the top three frequency threshold deviations were on band 8, 44 and 101, this resource would present:- | |
115 | -/TBD/0/5/8 = 434 | |
116 | -/TBD/0/5/44 = 39 | |
117 | -/TBD/0/5/101 = 349 | |
118 | -In Detection Mode 3, this resource would present all frequency readings from 1 through to the number of bands measured by the board. | |
119 | -This resource can either be observed by the LwM2M server (and subsequently notified by the Client daily) or Read adhoc from the LwM2M server. | |
120 | -]]></Description> | |
121 | - </Item> | |
122 | - <Item ID="7"> | |
123 | - <Name>Firmware Version</Name> | |
124 | - <Operations>R</Operations> | |
125 | - <MultipleInstances>Single</MultipleInstances> | |
126 | - <Mandatory>Mandatory</Mandatory> | |
127 | - <Type>String</Type> | |
128 | - <RangeEnumeration></RangeEnumeration> | |
129 | - <Units></Units> | |
130 | - <Description><![CDATA[Firmware Version is a readonly resource representing the current firmware version of the Daughter Board.]]></Description> | |
131 | - </Item> | |
132 | - </Resources> | |
133 | - <Description2></Description2> | |
134 | - </Object> | |
135 | -</LWM2M> | |
136 | - |
common/transport/lwm2m/src/main/resources/models/10266.xml
deleted
100644 → 0
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | - | |
3 | -<!-- BSD-3 Clause License | |
4 | - | |
5 | -Copyright 2019 South East Water Corporation. | |
6 | - | |
7 | -Redistribution and use in source and binary forms, with or without | |
8 | -modification, are permitted provided that the following conditions | |
9 | -are met: | |
10 | - | |
11 | -1. Redistributions of source code must retain the above copyright | |
12 | -notice, this list of conditions and the following disclaimer. | |
13 | -2. Redistributions in binary form must reproduce the above copyright | |
14 | -notice, this list of conditions and the following disclaimer in the | |
15 | -documentation and/or other materials provided with the distribution. | |
16 | -3. Neither the name of the copyright holder nor the names of its | |
17 | -contributors may be used to endorse or promote products derived | |
18 | -from this software without specific prior written permission. | |
19 | - | |
20 | -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
21 | -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
22 | -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS | |
23 | -FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE | |
24 | -COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, | |
25 | -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, | |
26 | -BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | |
27 | -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER | |
28 | -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | |
29 | -LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN | |
30 | -ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | |
31 | -POSSIBILITY OF SUCH DAMAGE. | |
32 | ---> | |
33 | - | |
34 | -<LWM2M xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://openmobilealliance.org/tech/profiles/LWM2M.xsd"> | |
35 | - <Object ObjectType="MODefinition"> | |
36 | - <Name>Water Flow Readings</Name> | |
37 | - <Description1><![CDATA[Measures the flow of water in regular intervals]]></Description1> | |
38 | - <ObjectID>10266</ObjectID> | |
39 | - <ObjectURN>urn:oma:lwm2m:x:10266</ObjectURN> | |
40 | - <MultipleInstances>Multiple</MultipleInstances> | |
41 | - <Mandatory>Optional</Mandatory> | |
42 | - <Resources> | |
43 | - <Item ID="6000"> | |
44 | - <Name>Interval Period</Name> | |
45 | - <Operations>R</Operations> | |
46 | - <MultipleInstances>Single</MultipleInstances> | |
47 | - <Mandatory>Mandatory</Mandatory> | |
48 | - <Type>Integer</Type> | |
49 | - <RangeEnumeration>1..864000</RangeEnumeration> | |
50 | - <Units>s</Units> | |
51 | - <Description><![CDATA[The Interval Period resource is an Integer value representing the width in seconds of the intervals being managed by this interval data object. This resource is read only and can only be changed by resource 11 (Change Interval Configuration). It is recommended that the Interval Period be set to a devisor of 24 hours (86400 seconds) to provide a consistent interval period. Examples of Interval Period include:- | |
52 | -30 = Every 30 seconds | |
53 | -600 = Every 10 minutes | |
54 | -1800 = Every 30 minutes | |
55 | -3600 = Hourly | |
56 | -7200 = Every 2 hours | |
57 | -14400 = Every 4 hours | |
58 | -43200 = Every 12 hours | |
59 | -86400 = Every Day | |
60 | -172600 = Every Second Day]]></Description> | |
61 | - </Item> | |
62 | - <Item ID="6001"> | |
63 | - <Name>Interval Start Offset</Name> | |
64 | - <Operations>R</Operations> | |
65 | - <MultipleInstances>Single</MultipleInstances> | |
66 | - <Mandatory>Optional</Mandatory> | |
67 | - <Type>Integer</Type> | |
68 | - <RangeEnumeration>0..86399</RangeEnumeration> | |
69 | - <Units>s</Units> | |
70 | - <Description><![CDATA[The Interval Start Offset resource is a read only resource representing the number of seconds past midnight for which the first interval is recorded. If this resource is empty, it is assumed that the intervals are midnight aligned. This can be used to adjust interval boundaries. As an example, an Interval Period of 3600 seconds and an Interval Start time of 300 represents hourly interval data, starting at 00:05.]]></Description> | |
71 | - </Item> | |
72 | - <Item ID="6002"> | |
73 | - <Name>Interval UTC Offset</Name> | |
74 | - <Operations>R</Operations> | |
75 | - <MultipleInstances>Single</MultipleInstances> | |
76 | - <Mandatory>Optional</Mandatory> | |
77 | - <Type>String</Type> | |
78 | - <RangeEnumeration></RangeEnumeration> | |
79 | - <Units></Units> | |
80 | - <Description><![CDATA[The Interval UTC Offset resource is a read only resource representing the time zone offset for this Interval Data instance. If this resource is empty, the application should use the UTC offset provided in the Device [/3/0/14] object instance resource or UTC if not provided. UTC+X [ISO 8601].]]></Description> | |
81 | - </Item> | |
82 | - <Item ID="6003"> | |
83 | - <Name>Interval Collection Start Time</Name> | |
84 | - <Operations>R</Operations> | |
85 | - <MultipleInstances>Single</MultipleInstances> | |
86 | - <Mandatory>Mandatory</Mandatory> | |
87 | - <Type>Time</Type> | |
88 | - <RangeEnumeration></RangeEnumeration> | |
89 | - <Units></Units> | |
90 | - <Description><![CDATA[The Collection Start Time resource is a read only resource representing the time when the first interval was recorded on the device. Interval times represent the end of the interval, not the beginning. As an example, the first four hourly interval past midnight will have a timestamp of 04:00 (adjusting for UTC offset). ]]></Description> | |
91 | - </Item> | |
92 | - <Item ID="6004"> | |
93 | - <Name>Oldest Recorded Interval</Name> | |
94 | - <Operations>R</Operations> | |
95 | - <MultipleInstances>Single</MultipleInstances> | |
96 | - <Mandatory>Mandatory</Mandatory> | |
97 | - <Type>Time</Type> | |
98 | - <RangeEnumeration></RangeEnumeration> | |
99 | - <Units></Units> | |
100 | - <Description><![CDATA[The Oldest Recorded Interval resource is a read-only resource representing the oldest available interval on the device. Interval times represent the end of the interval, not the beginning.]]></Description> | |
101 | - </Item> | |
102 | - <Item ID="6005"> | |
103 | - <Name>Last Delivered Interval</Name> | |
104 | - <Operations>RW</Operations> | |
105 | - <MultipleInstances>Single</MultipleInstances> | |
106 | - <Mandatory>Optional</Mandatory> | |
107 | - <Type>Time</Type> | |
108 | - <RangeEnumeration></RangeEnumeration> | |
109 | - <Units></Units> | |
110 | - <Description><![CDATA[The Last Delivered Interval is a readable and writable resource used to represent the last interval delivered to the LwM2M server. Interval times represent the end of the interval, not the beginning. The setting of this resource is implementation specific but should be updated based on, either a Read request of the Latest Payload from the LwM2M server or via a confirmed delivery of Notify operation of the Latest Payload resource. This resource is writable to allow the server to adjust the Last Delivered Interval value if the server and client is out of sync.]]></Description> | |
111 | - </Item> | |
112 | - <Item ID="6006"> | |
113 | - <Name>Latest Recorded Interval</Name> | |
114 | - <Operations>R</Operations> | |
115 | - <MultipleInstances>Single</MultipleInstances> | |
116 | - <Mandatory>Mandatory</Mandatory> | |
117 | - <Type>Time</Type> | |
118 | - <RangeEnumeration></RangeEnumeration> | |
119 | - <Units></Units> | |
120 | - <Description><![CDATA[The Latest Recorded Interval is a readable resource representing the currently highest recorded interval on the device. Interval times represent the end of the interval, not the beginning.]]></Description> | |
121 | - </Item> | |
122 | - <Item ID="6007"> | |
123 | - <Name>Interval Delivery Midnight Aligned</Name> | |
124 | - <Operations>RW</Operations> | |
125 | - <MultipleInstances>Single</MultipleInstances> | |
126 | - <Mandatory>Mandatory</Mandatory> | |
127 | - <Type>Boolean</Type> | |
128 | - <RangeEnumeration></RangeEnumeration> | |
129 | - <Units></Units> | |
130 | - <Description><![CDATA[The Delivery Midnight Aligned is a readable and writable resource used to indicate if data is delivered only to the previous midnight (1) or if part-day data can be delivered (0). Calculating Midnight should consider the Interval UTC Offset resource, or if empty, the Device [/3/0/14] object instance resource.]]></Description> | |
131 | - </Item> | |
132 | - <Item ID="6008"> | |
133 | - <Name>Interval Historical Read</Name> | |
134 | - <Operations>E</Operations> | |
135 | - <MultipleInstances>Single</MultipleInstances> | |
136 | - <Mandatory>Optional</Mandatory> | |
137 | - <Type></Type> | |
138 | - <RangeEnumeration></RangeEnumeration> | |
139 | - <Units></Units> | |
140 | - <Description><![CDATA[Historical Interval Read is an executable resource designed to retrieve ad-hoc interval read data. The resource takes two arguments:- | |
141 | -Argument 0: First Interval time to Retrieve represented as number of seconds since Jan 1st, 1970 in the UTC time zone. | |
142 | -Argument 1: Last interval time to Retrieve represented as number of seconds since Jan 1st, 1970 in the UTC time zone. | |
143 | -The dates should be inclusive based on the end time of the interval. The data retrieved from this resource will be readable (or observable) from the Historical Read Payload Resource. | |
144 | - | |
145 | -As an example, the Argument List to retrieve data from Midnight 2nd March (UTC+10) to Midnight 6rd March (UTC+10) for a specific instance of the interval data object, would be constructed as follows:- | |
146 | - | |
147 | -0='1488463200',1='1488808800']]></Description> | |
148 | - </Item> | |
149 | - <Item ID="6009"> | |
150 | - <Name>Interval Historical Read Payload</Name> | |
151 | - <Operations>R</Operations> | |
152 | - <MultipleInstances>Single</MultipleInstances> | |
153 | - <Mandatory>Optional</Mandatory> | |
154 | - <Type>Opaque</Type> | |
155 | - <RangeEnumeration></RangeEnumeration> | |
156 | - <Units></Units> | |
157 | - <Description><![CDATA[The Historical Read Payload resource is the representation of the data requested by the Historical Interval Read executable resource. The format of this Opaque value should be identical to the Latest Payload resource. If no Historical Interval Read has been executed, this resource should return and empty Opaque value. This resource can either be Read from the Server or set up as an observation and Notified to the server as soon as the historical data is available. When this payload is delivered to the LwM2M server, via either a read request or a confirmed observation on this Object, Object Instance or Resource, the Historical Read Payload should be set to an empty Opaque value.]]></Description> | |
158 | - </Item> | |
159 | - <Item ID="6010"> | |
160 | - <Name>Interval Change Configuration</Name> | |
161 | - <Operations>E</Operations> | |
162 | - <MultipleInstances>Single</MultipleInstances> | |
163 | - <Mandatory>Optional</Mandatory> | |
164 | - <Type></Type> | |
165 | - <RangeEnumeration></RangeEnumeration> | |
166 | - <Units></Units> | |
167 | - <Description><![CDATA[Change Interval Configuration is an executable resource designed to allow the Interval Period, Interval Start Offset and Interval UTC Offset to be reconfigured. The resource takes three arguments:- | |
168 | -Argument 0: [Mandatory] Interval Period represented as an integer as defined in the Interval Period Resource. | |
169 | -Argument 1: [Optional] Interval start offset represented as an integer as defined in the Interval Start Offset Resource. If not provided, leave the value as per the current configuration | |
170 | -Argument 2: [Optional] Interval UTC offset represented as a String as defined in the Interval UTC Offset Resource. If not provided, leave the value as per the current configuration. | |
171 | - | |
172 | -Depending on the specifics of the implementation of this object, reconfiguring the Interval data object may result in the removal of all historical data for this Interval Data Object Instance. Please consult with your device vendor as to the implications of reconfiguring an Interval Data Object Instance. | |
173 | - | |
174 | -As an example, the Argument List to change an interval data object instance from its existing values to one hour intervals, midnight aligned in UTC+10 time zone:- | |
175 | - | |
176 | -0='3600',1='0',1='UTC+10']]></Description> | |
177 | - </Item> | |
178 | - <Item ID="6026"> | |
179 | - <Name>Start</Name> | |
180 | - <Operations>E</Operations> | |
181 | - <MultipleInstances>Single</MultipleInstances> | |
182 | - <Mandatory>Optional</Mandatory> | |
183 | - <Type></Type> | |
184 | - <RangeEnumeration></RangeEnumeration> | |
185 | - <Units></Units> | |
186 | - <Description><![CDATA[Start is an executable resource that enables the recording of interval data. The first interval recorded will have a timestamp based on the Interval Start Offset resource. This executable resource takes no arguments. Refer to re-usable resource LogStart for further details.]]></Description> | |
187 | - </Item> | |
188 | - <Item ID="6027"> | |
189 | - <Name>Stop</Name> | |
190 | - <Operations>E</Operations> | |
191 | - <MultipleInstances>Single</MultipleInstances> | |
192 | - <Mandatory>Optional</Mandatory> | |
193 | - <Type></Type> | |
194 | - <RangeEnumeration></RangeEnumeration> | |
195 | - <Units></Units> | |
196 | - <Description><![CDATA[Stop (LogStop) is an executable resource that disables the recording of interval data for this object instance. This executable resource takes no arguments. Refer to re-usable resource LogStop for further details.]]></Description> | |
197 | - </Item> | |
198 | - <Item ID="6028"> | |
199 | - <Name>Status</Name> | |
200 | - <Operations>R</Operations> | |
201 | - <MultipleInstances>Single</MultipleInstances> | |
202 | - <Mandatory>Optional</Mandatory> | |
203 | - <Type>Integer</Type> | |
204 | - <RangeEnumeration></RangeEnumeration> | |
205 | - <Units></Units> | |
206 | - <Description><![CDATA[Recording Enabled is a read-only resource providing an indication of if interval data is currently being recorded for this object instance. Refer to re-usable resource LogStatus for further details.]]></Description> | |
207 | - </Item> | |
208 | - <Item ID="6029"> | |
209 | - <Name>Latest Payload</Name> | |
210 | - <Operations>R</Operations> | |
211 | - <MultipleInstances>Single</MultipleInstances> | |
212 | - <Mandatory>Mandatory</Mandatory> | |
213 | - <Type>Opaque</Type> | |
214 | - <RangeEnumeration></RangeEnumeration> | |
215 | - <Units></Units> | |
216 | - <Description><![CDATA[The Latest Payload resource is a read-only serialised Opaque (Binary) representation of all the Interval Data between the Last Delivered Interval and the Latest Recorded Interval, accounting for the Delivery Midnight Aligned resource. When this payload is delivered to the LwM2M server, via either a read request or a confirmed observation on this Object, Object Instance or Resource, the Latest Delivered Interval should be updated. When no new data exists, an empty Opaque value should be provided. | |
217 | - | |
218 | -The payload data can be provided in an implementation specific serialisation, but by default for fixed length values should use the OMA-LwM2M CBOR format encoded as follows: | |
219 | - | |
220 | -1. 8-bit integer, value 2 representing OMA-LwM2M CBOR format. | |
221 | -2. Interval Data Instance ID/ Class [16-bit integer] | |
222 | -3. Timestamp of first Interval [32-bit integer] representing the number of seconds since Jan 1st, 1970 in the UTC time zone. | |
223 | -4. Interval Period in seconds [32-bit integer] | |
224 | -5. Number of intervals in Payload [16-bit integer] | |
225 | -6. Number of Values Per Interval [8-bit integer] | |
226 | -7. Size of Value 1 in bits [8-bit integer] | |
227 | -8. Size of Value 2 in bits [8-bit integer] | |
228 | -... | |
229 | -9. Size of Value N in bits [8-bit integer] | |
230 | -10. Interval 1 Value 1 [x bits] | |
231 | -11. Interval 1 Value 2 [x bits] | |
232 | -... | |
233 | -12. Interval 1 Value N [x bits] | |
234 | -... | |
235 | -13. Interval N Value N [x bits] | |
236 | - | |
237 | -If for some implementation specific reason, there are missing intervals in the sequence, the payload may consist of multiple blocks of the above serialised data (appended into a single binary opaque value), each block representing a continuous series of interval data. | |
238 | -]]></Description> | |
239 | - </Item> | |
240 | - </Resources> | |
241 | - <Description2></Description2> | |
242 | - </Object> | |
243 | -</LWM2M> | |
244 | - |
common/transport/lwm2m/src/main/resources/models/10267.xml
deleted
100644 → 0
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | - | |
3 | -<!-- BSD-3 Clause License | |
4 | - | |
5 | -Copyright 2019 South East Water Corporation. | |
6 | - | |
7 | -Redistribution and use in source and binary forms, with or without | |
8 | -modification, are permitted provided that the following conditions | |
9 | -are met: | |
10 | - | |
11 | -1. Redistributions of source code must retain the above copyright | |
12 | -notice, this list of conditions and the following disclaimer. | |
13 | -2. Redistributions in binary form must reproduce the above copyright | |
14 | -notice, this list of conditions and the following disclaimer in the | |
15 | -documentation and/or other materials provided with the distribution. | |
16 | -3. Neither the name of the copyright holder nor the names of its | |
17 | -contributors may be used to endorse or promote products derived | |
18 | -from this software without specific prior written permission. | |
19 | - | |
20 | -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
21 | -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
22 | -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS | |
23 | -FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE | |
24 | -COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, | |
25 | -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, | |
26 | -BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | |
27 | -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER | |
28 | -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | |
29 | -LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN | |
30 | -ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | |
31 | -POSSIBILITY OF SUCH DAMAGE. | |
32 | ---> | |
33 | - | |
34 | -<LWM2M xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://openmobilealliance.org/tech/profiles/LWM2M.xsd"> | |
35 | - <Object ObjectType="MODefinition"> | |
36 | - <Name>Daily Maximum Flow Rate Readings</Name> | |
37 | - <Description1><![CDATA[Measures the maximum flow rate and its time stamp for specified period]]></Description1> | |
38 | - <ObjectID>10267</ObjectID> | |
39 | - <ObjectURN>urn:oma:lwm2m:x:10267</ObjectURN> | |
40 | - <MultipleInstances>Multiple</MultipleInstances> | |
41 | - <Mandatory>Optional</Mandatory> | |
42 | - <Resources> | |
43 | - <Item ID="6000"> | |
44 | - <Name>Interval Period</Name> | |
45 | - <Operations>R</Operations> | |
46 | - <MultipleInstances>Single</MultipleInstances> | |
47 | - <Mandatory>Mandatory</Mandatory> | |
48 | - <Type>Integer</Type> | |
49 | - <RangeEnumeration>1..864000</RangeEnumeration> | |
50 | - <Units>s</Units> | |
51 | - <Description><![CDATA[The Interval Period resource is an Integer value representing the width in seconds of the intervals being managed by this interval data object. This resource is read only and can only be changed by resource 11 (Change Interval Configuration). It is recommended that the Interval Period be set to a devisor of 24 hours (86400 seconds) to provide a consistent interval period. Examples of Interval Period include:- | |
52 | -30 = Every 30 seconds | |
53 | -600 = Every 10 minutes | |
54 | -1800 = Every 30 minutes | |
55 | -3600 = Hourly | |
56 | -7200 = Every 2 hours | |
57 | -14400 = Every 4 hours | |
58 | -43200 = Every 12 hours | |
59 | -86400 = Every Day | |
60 | -172600 = Every Second Day]]></Description> | |
61 | - </Item> | |
62 | - <Item ID="6001"> | |
63 | - <Name>Interval Start Offset</Name> | |
64 | - <Operations>R</Operations> | |
65 | - <MultipleInstances>Single</MultipleInstances> | |
66 | - <Mandatory>Optional</Mandatory> | |
67 | - <Type>Integer</Type> | |
68 | - <RangeEnumeration>0..86399</RangeEnumeration> | |
69 | - <Units>s</Units> | |
70 | - <Description><![CDATA[The Interval Start Offset resource is a read only resource representing the number of seconds past midnight for which the first interval is recorded. If this resource is empty, it is assumed that the intervals are midnight aligned. This can be used to adjust interval boundaries. As an example, an Interval Period of 3600 seconds and an Interval Start time of 300 represents hourly interval data, starting at 00:05.]]></Description> | |
71 | - </Item> | |
72 | - <Item ID="6002"> | |
73 | - <Name>Interval UTC Offset</Name> | |
74 | - <Operations>R</Operations> | |
75 | - <MultipleInstances>Single</MultipleInstances> | |
76 | - <Mandatory>Optional</Mandatory> | |
77 | - <Type>String</Type> | |
78 | - <RangeEnumeration></RangeEnumeration> | |
79 | - <Units></Units> | |
80 | - <Description><![CDATA[The Interval UTC Offset resource is a read only resource representing the time zone offset for this Interval Data instance. If this resource is empty, the application should use the UTC offset provided in the Device [/3/0/14] object instance resource or UTC if not provided. UTC+X [ISO 8601].]]></Description> | |
81 | - </Item> | |
82 | - <Item ID="6003"> | |
83 | - <Name>Interval Collection Start Time</Name> | |
84 | - <Operations>R</Operations> | |
85 | - <MultipleInstances>Single</MultipleInstances> | |
86 | - <Mandatory>Mandatory</Mandatory> | |
87 | - <Type>Time</Type> | |
88 | - <RangeEnumeration></RangeEnumeration> | |
89 | - <Units></Units> | |
90 | - <Description><![CDATA[The Collection Start Time resource is a read only resource representing the time when the first interval was recorded on the device. Interval times represent the end of the interval, not the beginning. As an example, the first four hourly interval past midnight will have a timestamp of 04:00 (adjusting for UTC offset). ]]></Description> | |
91 | - </Item> | |
92 | - <Item ID="6004"> | |
93 | - <Name>Oldest Recorded Interval</Name> | |
94 | - <Operations>R</Operations> | |
95 | - <MultipleInstances>Single</MultipleInstances> | |
96 | - <Mandatory>Mandatory</Mandatory> | |
97 | - <Type>Time</Type> | |
98 | - <RangeEnumeration></RangeEnumeration> | |
99 | - <Units></Units> | |
100 | - <Description><![CDATA[The Oldest Recorded Interval resource is a read-only resource representing the oldest available interval on the device. Interval times represent the end of the interval, not the beginning.]]></Description> | |
101 | - </Item> | |
102 | - <Item ID="6005"> | |
103 | - <Name>Last Delivered Interval</Name> | |
104 | - <Operations>RW</Operations> | |
105 | - <MultipleInstances>Single</MultipleInstances> | |
106 | - <Mandatory>Optional</Mandatory> | |
107 | - <Type>Time</Type> | |
108 | - <RangeEnumeration></RangeEnumeration> | |
109 | - <Units></Units> | |
110 | - <Description><![CDATA[The Last Delivered Interval is a readable and writable resource used to represent the last interval delivered to the LwM2M server. Interval times represent the end of the interval, not the beginning. The setting of this resource is implementation specific but should be updated based on, either a Read request of the Latest Payload from the LwM2M server or via a confirmed delivery of Notify operation of the Latest Payload resource. This resource is writable to allow the server to adjust the Last Delivered Interval value if the server and client is out of sync.]]></Description> | |
111 | - </Item> | |
112 | - <Item ID="6006"> | |
113 | - <Name>Latest Recorded Interval</Name> | |
114 | - <Operations>R</Operations> | |
115 | - <MultipleInstances>Single</MultipleInstances> | |
116 | - <Mandatory>Mandatory</Mandatory> | |
117 | - <Type>Time</Type> | |
118 | - <RangeEnumeration></RangeEnumeration> | |
119 | - <Units></Units> | |
120 | - <Description><![CDATA[The Latest Recorded Interval is a readable resource representing the currently highest recorded interval on the device. Interval times represent the end of the interval, not the beginning.]]></Description> | |
121 | - </Item> | |
122 | - <Item ID="6007"> | |
123 | - <Name>Interval Delivery Midnight Aligned</Name> | |
124 | - <Operations>RW</Operations> | |
125 | - <MultipleInstances>Single</MultipleInstances> | |
126 | - <Mandatory>Mandatory</Mandatory> | |
127 | - <Type>Boolean</Type> | |
128 | - <RangeEnumeration></RangeEnumeration> | |
129 | - <Units></Units> | |
130 | - <Description><![CDATA[The Delivery Midnight Aligned is a readable and writable resource used to indicate if data is delivered only to the previous midnight (1) or if part-day data can be delivered (0). Calculating Midnight should consider the Interval UTC Offset resource, or if empty, the Device [/3/0/14] object instance resource.]]></Description> | |
131 | - </Item> | |
132 | - <Item ID="6008"> | |
133 | - <Name>Interval Historical Read</Name> | |
134 | - <Operations>E</Operations> | |
135 | - <MultipleInstances>Single</MultipleInstances> | |
136 | - <Mandatory>Optional</Mandatory> | |
137 | - <Type></Type> | |
138 | - <RangeEnumeration></RangeEnumeration> | |
139 | - <Units></Units> | |
140 | - <Description><![CDATA[Historical Interval Read is an executable resource designed to retrieve ad-hoc interval read data. The resource takes two arguments:- | |
141 | -Argument 0: First Interval time to Retrieve represented as number of seconds since Jan 1st, 1970 in the UTC time zone. | |
142 | -Argument 1: Last interval time to Retrieve represented as number of seconds since Jan 1st, 1970 in the UTC time zone. | |
143 | -The dates should be inclusive based on the end time of the interval. The data retrieved from this resource will be readable (or observable) from the Historical Read Payload Resource. | |
144 | - | |
145 | -As an example, the Argument List to retrieve data from Midnight 2nd March (UTC+10) to Midnight 6rd March (UTC+10) for a specific instance of the interval data object, would be constructed as follows:- | |
146 | - | |
147 | -0='1488463200',1='1488808800']]></Description> | |
148 | - </Item> | |
149 | - <Item ID="6009"> | |
150 | - <Name>Interval Historical Read Payload</Name> | |
151 | - <Operations>R</Operations> | |
152 | - <MultipleInstances>Single</MultipleInstances> | |
153 | - <Mandatory>Optional</Mandatory> | |
154 | - <Type>Opaque</Type> | |
155 | - <RangeEnumeration></RangeEnumeration> | |
156 | - <Units></Units> | |
157 | - <Description><![CDATA[The Historical Read Payload resource is the representation of the data requested by the Historical Interval Read executable resource. The format of this Opaque value should be identical to the Latest Payload resource. If no Historical Interval Read has been executed, this resource should return and empty Opaque value. This resource can either be Read from the Server or set up as an observation and Notified to the server as soon as the historical data is available. When this payload is delivered to the LwM2M server, via either a read request or a confirmed observation on this Object, Object Instance or Resource, the Historical Read Payload should be set to an empty Opaque value.]]></Description> | |
158 | - </Item> | |
159 | - <Item ID="6010"> | |
160 | - <Name>Interval Change Configuration</Name> | |
161 | - <Operations>E</Operations> | |
162 | - <MultipleInstances>Single</MultipleInstances> | |
163 | - <Mandatory>Optional</Mandatory> | |
164 | - <Type></Type> | |
165 | - <RangeEnumeration></RangeEnumeration> | |
166 | - <Units></Units> | |
167 | - <Description><![CDATA[Change Interval Configuration is an executable resource designed to allow the Interval Period, Interval Start Offset and Interval UTC Offset to be reconfigured. The resource takes three arguments:- | |
168 | -Argument 0: [Mandatory] Interval Period represented as an integer as defined in the Interval Period Resource. | |
169 | -Argument 1: [Optional] Interval start offset represented as an integer as defined in the Interval Start Offset Resource. If not provided, leave the value as per the current configuration | |
170 | -Argument 2: [Optional] Interval UTC offset represented as a String as defined in the Interval UTC Offset Resource. If not provided, leave the value as per the current configuration. | |
171 | - | |
172 | -Depending on the specifics of the implementation of this object, reconfiguring the Interval data object may result in the removal of all historical data for this Interval Data Object Instance. Please consult with your device vendor as to the implications of reconfiguring an Interval Data Object Instance. | |
173 | - | |
174 | -As an example, the Argument List to change an interval data object instance from its existing values to one hour intervals, midnight aligned in UTC+10 time zone:- | |
175 | - | |
176 | -0='3600',1='0',1='UTC+10']]></Description> | |
177 | - </Item> | |
178 | - <Item ID="6026"> | |
179 | - <Name>Start</Name> | |
180 | - <Operations>E</Operations> | |
181 | - <MultipleInstances>Single</MultipleInstances> | |
182 | - <Mandatory>Optional</Mandatory> | |
183 | - <Type></Type> | |
184 | - <RangeEnumeration></RangeEnumeration> | |
185 | - <Units></Units> | |
186 | - <Description><![CDATA[Start is an executable resource that enables the recording of interval data. The first interval recorded will have a timestamp based on the Interval Start Offset resource. This executable resource takes no arguments. Refer to re-usable resource LogStart for further details.]]></Description> | |
187 | - </Item> | |
188 | - <Item ID="6027"> | |
189 | - <Name>Stop</Name> | |
190 | - <Operations>E</Operations> | |
191 | - <MultipleInstances>Single</MultipleInstances> | |
192 | - <Mandatory>Optional</Mandatory> | |
193 | - <Type></Type> | |
194 | - <RangeEnumeration></RangeEnumeration> | |
195 | - <Units></Units> | |
196 | - <Description><![CDATA[Stop (LogStop) is an executable resource that disables the recording of interval data for this object instance. This executable resource takes no arguments. Refer to re-usable resource LogStop for further details.]]></Description> | |
197 | - </Item> | |
198 | - <Item ID="6028"> | |
199 | - <Name>Status</Name> | |
200 | - <Operations>R</Operations> | |
201 | - <MultipleInstances>Single</MultipleInstances> | |
202 | - <Mandatory>Optional</Mandatory> | |
203 | - <Type>Integer</Type> | |
204 | - <RangeEnumeration></RangeEnumeration> | |
205 | - <Units></Units> | |
206 | - <Description><![CDATA[Recording Enabled is a read-only resource providing an indication of if interval data is currently being recorded for this object instance. Refer to re-usable resource LogStatus for further details.]]></Description> | |
207 | - </Item> | |
208 | - <Item ID="6029"> | |
209 | - <Name>Latest Payload</Name> | |
210 | - <Operations>R</Operations> | |
211 | - <MultipleInstances>Single</MultipleInstances> | |
212 | - <Mandatory>Mandatory</Mandatory> | |
213 | - <Type>Opaque</Type> | |
214 | - <RangeEnumeration></RangeEnumeration> | |
215 | - <Units></Units> | |
216 | - <Description><![CDATA[The Latest Payload resource is a read-only serialised Opaque (Binary) representation of all the Interval Data between the Last Delivered Interval and the Latest Recorded Interval, accounting for the Delivery Midnight Aligned resource. When this payload is delivered to the LwM2M server, via either a read request or a confirmed observation on this Object, Object Instance or Resource, the Latest Delivered Interval should be updated. When no new data exists, an empty Opaque value should be provided. | |
217 | - | |
218 | -The payload data can be provided in an implementation specific serialisation, but by default for fixed length values should use the OMA-LwM2M CBOR format encoded as follows: | |
219 | - | |
220 | -1. 8-bit integer, value 2 representing OMA-LwM2M CBOR format. | |
221 | -2. Interval Data Instance ID/ Class [16-bit integer] | |
222 | -3. Timestamp of first Interval [32-bit integer] representing the number of seconds since Jan 1st, 1970 in the UTC time zone. | |
223 | -4. Interval Period in seconds [32-bit integer] | |
224 | -5. Number of intervals in Payload [16-bit integer] | |
225 | -6. Number of Values Per Interval [8-bit integer] | |
226 | -7. Size of Value 1 in bits [8-bit integer] | |
227 | -8. Size of Value 2 in bits [8-bit integer] | |
228 | -... | |
229 | -9. Size of Value N in bits [8-bit integer] | |
230 | -10. Interval 1 Value 1 [x bits] | |
231 | -11. Interval 1 Value 2 [x bits] | |
232 | -... | |
233 | -12. Interval 1 Value N [x bits] | |
234 | -... | |
235 | -13. Interval N Value N [x bits] | |
236 | - | |
237 | -If for some implementation specific reason, there are missing intervals in the sequence, the payload may consist of multiple blocks of the above serialised data (appended into a single binary opaque value), each block representing a continuous series of interval data. | |
238 | -]]></Description> | |
239 | - </Item> | |
240 | - </Resources> | |
241 | - <Description2></Description2> | |
242 | - </Object> | |
243 | -</LWM2M> | |
244 | - |
common/transport/lwm2m/src/main/resources/models/10268.xml
deleted
100644 → 0
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | - | |
3 | -<!-- BSD-3 Clause License | |
4 | - | |
5 | -Copyright 2019 South East Water Corporation. | |
6 | - | |
7 | -Redistribution and use in source and binary forms, with or without | |
8 | -modification, are permitted provided that the following conditions | |
9 | -are met: | |
10 | - | |
11 | -1. Redistributions of source code must retain the above copyright | |
12 | -notice, this list of conditions and the following disclaimer. | |
13 | -2. Redistributions in binary form must reproduce the above copyright | |
14 | -notice, this list of conditions and the following disclaimer in the | |
15 | -documentation and/or other materials provided with the distribution. | |
16 | -3. Neither the name of the copyright holder nor the names of its | |
17 | -contributors may be used to endorse or promote products derived | |
18 | -from this software without specific prior written permission. | |
19 | - | |
20 | -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
21 | -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
22 | -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS | |
23 | -FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE | |
24 | -COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, | |
25 | -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, | |
26 | -BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | |
27 | -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER | |
28 | -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | |
29 | -LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN | |
30 | -ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | |
31 | -POSSIBILITY OF SUCH DAMAGE. | |
32 | ---> | |
33 | - | |
34 | -<LWM2M xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://openmobilealliance.org/tech/profiles/LWM2M.xsd"> | |
35 | - <Object ObjectType="MODefinition"> | |
36 | - <Name>Temperature Readings</Name> | |
37 | - <Description1><![CDATA[Periodic temperature measurements]]></Description1> | |
38 | - <ObjectID>10268</ObjectID> | |
39 | - <ObjectURN>urn:oma:lwm2m:x:10268</ObjectURN> | |
40 | - <MultipleInstances>Multiple</MultipleInstances> | |
41 | - <Mandatory>Optional</Mandatory> | |
42 | - <Resources> | |
43 | - <Item ID="6000"> | |
44 | - <Name>Interval Period</Name> | |
45 | - <Operations>R</Operations> | |
46 | - <MultipleInstances>Single</MultipleInstances> | |
47 | - <Mandatory>Mandatory</Mandatory> | |
48 | - <Type>Integer</Type> | |
49 | - <RangeEnumeration>1..864000</RangeEnumeration> | |
50 | - <Units>s</Units> | |
51 | - <Description><![CDATA[The Interval Period resource is an Integer value representing the width in seconds of the intervals being managed by this interval data object. This resource is read only and can only be changed by resource 11 (Change Interval Configuration). It is recommended that the Interval Period be set to a devisor of 24 hours (86400 seconds) to provide a consistent interval period. Examples of Interval Period include:- | |
52 | -30 = Every 30 seconds | |
53 | -600 = Every 10 minutes | |
54 | -1800 = Every 30 minutes | |
55 | -3600 = Hourly | |
56 | -7200 = Every 2 hours | |
57 | -14400 = Every 4 hours | |
58 | -43200 = Every 12 hours | |
59 | -86400 = Every Day | |
60 | -172600 = Every Second Day]]></Description> | |
61 | - </Item> | |
62 | - <Item ID="6001"> | |
63 | - <Name>Interval Start Offset</Name> | |
64 | - <Operations>R</Operations> | |
65 | - <MultipleInstances>Single</MultipleInstances> | |
66 | - <Mandatory>Optional</Mandatory> | |
67 | - <Type>Integer</Type> | |
68 | - <RangeEnumeration>0..86399</RangeEnumeration> | |
69 | - <Units>s</Units> | |
70 | - <Description><![CDATA[The Interval Start Offset resource is a read only resource representing the number of seconds past midnight for which the first interval is recorded. If this resource is empty, it is assumed that the intervals are midnight aligned. This can be used to adjust interval boundaries. As an example, an Interval Period of 3600 seconds and an Interval Start time of 300 represents hourly interval data, starting at 00:05.]]></Description> | |
71 | - </Item> | |
72 | - <Item ID="6002"> | |
73 | - <Name>Interval UTC Offset</Name> | |
74 | - <Operations>R</Operations> | |
75 | - <MultipleInstances>Single</MultipleInstances> | |
76 | - <Mandatory>Optional</Mandatory> | |
77 | - <Type>String</Type> | |
78 | - <RangeEnumeration></RangeEnumeration> | |
79 | - <Units></Units> | |
80 | - <Description><![CDATA[The Interval UTC Offset resource is a read only resource representing the time zone offset for this Interval Data instance. If this resource is empty, the application should use the UTC offset provided in the Device [/3/0/14] object instance resource or UTC if not provided. UTC+X [ISO 8601].]]></Description> | |
81 | - </Item> | |
82 | - <Item ID="6003"> | |
83 | - <Name>Interval Collection Start Time</Name> | |
84 | - <Operations>R</Operations> | |
85 | - <MultipleInstances>Single</MultipleInstances> | |
86 | - <Mandatory>Mandatory</Mandatory> | |
87 | - <Type>Time</Type> | |
88 | - <RangeEnumeration></RangeEnumeration> | |
89 | - <Units></Units> | |
90 | - <Description><![CDATA[The Collection Start Time resource is a read only resource representing the time when the first interval was recorded on the device. Interval times represent the end of the interval, not the beginning. As an example, the first four hourly interval past midnight will have a timestamp of 04:00 (adjusting for UTC offset). ]]></Description> | |
91 | - </Item> | |
92 | - <Item ID="6004"> | |
93 | - <Name>Oldest Recorded Interval</Name> | |
94 | - <Operations>R</Operations> | |
95 | - <MultipleInstances>Single</MultipleInstances> | |
96 | - <Mandatory>Mandatory</Mandatory> | |
97 | - <Type>Time</Type> | |
98 | - <RangeEnumeration></RangeEnumeration> | |
99 | - <Units></Units> | |
100 | - <Description><![CDATA[The Oldest Recorded Interval resource is a read-only resource representing the oldest available interval on the device. Interval times represent the end of the interval, not the beginning.]]></Description> | |
101 | - </Item> | |
102 | - <Item ID="6005"> | |
103 | - <Name>Last Delivered Interval</Name> | |
104 | - <Operations>RW</Operations> | |
105 | - <MultipleInstances>Single</MultipleInstances> | |
106 | - <Mandatory>Optional</Mandatory> | |
107 | - <Type>Time</Type> | |
108 | - <RangeEnumeration></RangeEnumeration> | |
109 | - <Units></Units> | |
110 | - <Description><![CDATA[The Last Delivered Interval is a readable and writable resource used to represent the last interval delivered to the LwM2M server. Interval times represent the end of the interval, not the beginning. The setting of this resource is implementation specific but should be updated based on, either a Read request of the Latest Payload from the LwM2M server or via a confirmed delivery of Notify operation of the Latest Payload resource. This resource is writable to allow the server to adjust the Last Delivered Interval value if the server and client is out of sync.]]></Description> | |
111 | - </Item> | |
112 | - <Item ID="6006"> | |
113 | - <Name>Latest Recorded Interval</Name> | |
114 | - <Operations>R</Operations> | |
115 | - <MultipleInstances>Single</MultipleInstances> | |
116 | - <Mandatory>Mandatory</Mandatory> | |
117 | - <Type>Time</Type> | |
118 | - <RangeEnumeration></RangeEnumeration> | |
119 | - <Units></Units> | |
120 | - <Description><![CDATA[The Latest Recorded Interval is a readable resource representing the currently highest recorded interval on the device. Interval times represent the end of the interval, not the beginning.]]></Description> | |
121 | - </Item> | |
122 | - <Item ID="6007"> | |
123 | - <Name>Interval Delivery Midnight Aligned</Name> | |
124 | - <Operations>RW</Operations> | |
125 | - <MultipleInstances>Single</MultipleInstances> | |
126 | - <Mandatory>Mandatory</Mandatory> | |
127 | - <Type>Boolean</Type> | |
128 | - <RangeEnumeration></RangeEnumeration> | |
129 | - <Units></Units> | |
130 | - <Description><![CDATA[The Delivery Midnight Aligned is a readable and writable resource used to indicate if data is delivered only to the previous midnight (1) or if part-day data can be delivered (0). Calculating Midnight should consider the Interval UTC Offset resource, or if empty, the Device [/3/0/14] object instance resource.]]></Description> | |
131 | - </Item> | |
132 | - <Item ID="6008"> | |
133 | - <Name>Interval Historical Read</Name> | |
134 | - <Operations>E</Operations> | |
135 | - <MultipleInstances>Single</MultipleInstances> | |
136 | - <Mandatory>Optional</Mandatory> | |
137 | - <Type></Type> | |
138 | - <RangeEnumeration></RangeEnumeration> | |
139 | - <Units></Units> | |
140 | - <Description><![CDATA[Historical Interval Read is an executable resource designed to retrieve ad-hoc interval read data. The resource takes two arguments:- | |
141 | -Argument 0: First Interval time to Retrieve represented as number of seconds since Jan 1st, 1970 in the UTC time zone. | |
142 | -Argument 1: Last interval time to Retrieve represented as number of seconds since Jan 1st, 1970 in the UTC time zone. | |
143 | -The dates should be inclusive based on the end time of the interval. The data retrieved from this resource will be readable (or observable) from the Historical Read Payload Resource. | |
144 | - | |
145 | -As an example, the Argument List to retrieve data from Midnight 2nd March (UTC+10) to Midnight 6rd March (UTC+10) for a specific instance of the interval data object, would be constructed as follows:- | |
146 | - | |
147 | -0='1488463200',1='1488808800']]></Description> | |
148 | - </Item> | |
149 | - <Item ID="6009"> | |
150 | - <Name>Interval Historical Read Payload</Name> | |
151 | - <Operations>R</Operations> | |
152 | - <MultipleInstances>Single</MultipleInstances> | |
153 | - <Mandatory>Optional</Mandatory> | |
154 | - <Type>Opaque</Type> | |
155 | - <RangeEnumeration></RangeEnumeration> | |
156 | - <Units></Units> | |
157 | - <Description><![CDATA[The Historical Read Payload resource is the representation of the data requested by the Historical Interval Read executable resource. The format of this Opaque value should be identical to the Latest Payload resource. If no Historical Interval Read has been executed, this resource should return and empty Opaque value. This resource can either be Read from the Server or set up as an observation and Notified to the server as soon as the historical data is available. When this payload is delivered to the LwM2M server, via either a read request or a confirmed observation on this Object, Object Instance or Resource, the Historical Read Payload should be set to an empty Opaque value.]]></Description> | |
158 | - </Item> | |
159 | - <Item ID="6010"> | |
160 | - <Name>Interval Change Configuration</Name> | |
161 | - <Operations>E</Operations> | |
162 | - <MultipleInstances>Single</MultipleInstances> | |
163 | - <Mandatory>Optional</Mandatory> | |
164 | - <Type></Type> | |
165 | - <RangeEnumeration></RangeEnumeration> | |
166 | - <Units></Units> | |
167 | - <Description><![CDATA[Change Interval Configuration is an executable resource designed to allow the Interval Period, Interval Start Offset and Interval UTC Offset to be reconfigured. The resource takes three arguments:- | |
168 | -Argument 0: [Mandatory] Interval Period represented as an integer as defined in the Interval Period Resource. | |
169 | -Argument 1: [Optional] Interval start offset represented as an integer as defined in the Interval Start Offset Resource. If not provided, leave the value as per the current configuration | |
170 | -Argument 2: [Optional] Interval UTC offset represented as a String as defined in the Interval UTC Offset Resource. If not provided, leave the value as per the current configuration. | |
171 | - | |
172 | -Depending on the specifics of the implementation of this object, reconfiguring the Interval data object may result in the removal of all historical data for this Interval Data Object Instance. Please consult with your device vendor as to the implications of reconfiguring an Interval Data Object Instance. | |
173 | - | |
174 | -As an example, the Argument List to change an interval data object instance from its existing values to one hour intervals, midnight aligned in UTC+10 time zone:- | |
175 | - | |
176 | -0='3600',1='0',1='UTC+10']]></Description> | |
177 | - </Item> | |
178 | - <Item ID="6026"> | |
179 | - <Name>Start</Name> | |
180 | - <Operations>E</Operations> | |
181 | - <MultipleInstances>Single</MultipleInstances> | |
182 | - <Mandatory>Optional</Mandatory> | |
183 | - <Type></Type> | |
184 | - <RangeEnumeration></RangeEnumeration> | |
185 | - <Units></Units> | |
186 | - <Description><![CDATA[Start is an executable resource that enables the recording of interval data. The first interval recorded will have a timestamp based on the Interval Start Offset resource. This executable resource takes no arguments. Refer to re-usable resource LogStart for further details.]]></Description> | |
187 | - </Item> | |
188 | - <Item ID="6027"> | |
189 | - <Name>Stop</Name> | |
190 | - <Operations>E</Operations> | |
191 | - <MultipleInstances>Single</MultipleInstances> | |
192 | - <Mandatory>Optional</Mandatory> | |
193 | - <Type></Type> | |
194 | - <RangeEnumeration></RangeEnumeration> | |
195 | - <Units></Units> | |
196 | - <Description><![CDATA[Stop (LogStop) is an executable resource that disables the recording of interval data for this object instance. This executable resource takes no arguments. Refer to re-usable resource LogStop for further details.]]></Description> | |
197 | - </Item> | |
198 | - <Item ID="6028"> | |
199 | - <Name>Status</Name> | |
200 | - <Operations>R</Operations> | |
201 | - <MultipleInstances>Single</MultipleInstances> | |
202 | - <Mandatory>Optional</Mandatory> | |
203 | - <Type>Integer</Type> | |
204 | - <RangeEnumeration></RangeEnumeration> | |
205 | - <Units></Units> | |
206 | - <Description><![CDATA[Recording Enabled is a read-only resource providing an indication of if interval data is currently being recorded for this object instance. Refer to re-usable resource LogStatus for further details.]]></Description> | |
207 | - </Item> | |
208 | - <Item ID="6029"> | |
209 | - <Name>Latest Payload</Name> | |
210 | - <Operations>R</Operations> | |
211 | - <MultipleInstances>Single</MultipleInstances> | |
212 | - <Mandatory>Mandatory</Mandatory> | |
213 | - <Type>Opaque</Type> | |
214 | - <RangeEnumeration></RangeEnumeration> | |
215 | - <Units></Units> | |
216 | - <Description><![CDATA[The Latest Payload resource is a read-only serialised Opaque (Binary) representation of all the Interval Data between the Last Delivered Interval and the Latest Recorded Interval, accounting for the Delivery Midnight Aligned resource. When this payload is delivered to the LwM2M server, via either a read request or a confirmed observation on this Object, Object Instance or Resource, the Latest Delivered Interval should be updated. When no new data exists, an empty Opaque value should be provided. | |
217 | - | |
218 | -The payload data can be provided in an implementation specific serialisation, but by default for fixed length values should use the OMA-LwM2M CBOR format encoded as follows: | |
219 | - | |
220 | -1. 8-bit integer, value 2 representing OMA-LwM2M CBOR format. | |
221 | -2. Interval Data Instance ID/ Class [16-bit integer] | |
222 | -3. Timestamp of first Interval [32-bit integer] representing the number of seconds since Jan 1st, 1970 in the UTC time zone. | |
223 | -4. Interval Period in seconds [32-bit integer] | |
224 | -5. Number of intervals in Payload [16-bit integer] | |
225 | -6. Number of Values Per Interval [8-bit integer] | |
226 | -7. Size of Value 1 in bits [8-bit integer] | |
227 | -8. Size of Value 2 in bits [8-bit integer] | |
228 | -... | |
229 | -9. Size of Value N in bits [8-bit integer] | |
230 | -10. Interval 1 Value 1 [x bits] | |
231 | -11. Interval 1 Value 2 [x bits] | |
232 | -... | |
233 | -12. Interval 1 Value N [x bits] | |
234 | -... | |
235 | -13. Interval N Value N [x bits] | |
236 | - | |
237 | -If for some implementation specific reason, there are missing intervals in the sequence, the payload may consist of multiple blocks of the above serialised data (appended into a single binary opaque value), each block representing a continuous series of interval data. | |
238 | -]]></Description> | |
239 | - </Item> | |
240 | - </Resources> | |
241 | - <Description2></Description2> | |
242 | - </Object> | |
243 | -</LWM2M> | |
244 | - |
common/transport/lwm2m/src/main/resources/models/10269.xml
deleted
100644 → 0
1 | -<?xml version="1.0" encoding="utf-8"?> | |
2 | - | |
3 | -<!-- BSD-3 Clause License | |
4 | - | |
5 | -Copyright 2019 South East Water Corporation. | |
6 | - | |
7 | -Redistribution and use in source and binary forms, with or without | |
8 | -modification, are permitted provided that the following conditions | |
9 | -are met: | |
10 | - | |
11 | -1. Redistributions of source code must retain the above copyright | |
12 | -notice, this list of conditions and the following disclaimer. | |
13 | -2. Redistributions in binary form must reproduce the above copyright | |
14 | -notice, this list of conditions and the following disclaimer in the | |
15 | -documentation and/or other materials provided with the distribution. | |
16 | -3. Neither the name of the copyright holder nor the names of its | |
17 | -contributors may be used to endorse or promote products derived | |
18 | -from this software without specific prior written permission. | |
19 | - | |
20 | -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
21 | -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
22 | -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS | |
23 | -FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE | |
24 | -COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, | |
25 | -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, | |
26 | -BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | |
27 | -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER | |
28 | -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | |
29 | -LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN | |
30 | -ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | |
31 | -POSSIBILITY OF SUCH DAMAGE. | |
32 | ---> | |
33 | - | |
34 | -<LWM2M xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://openmobilealliance.org/tech/profiles/LWM2M.xsd"> | |
35 | - <Object ObjectType="MODefinition"> | |
36 | - <Name>Pressure Readings</Name> | |
37 | - <Description1><![CDATA[Periodic pressure measurements]]></Description1> | |
38 | - <ObjectID>10269</ObjectID> | |
39 | - <ObjectURN>urn:oma:lwm2m:x:10269</ObjectURN> | |
40 | - <MultipleInstances>Multiple</MultipleInstances> | |
41 | - <Mandatory>Optional</Mandatory> | |
42 | - <Resources> | |
43 | - <Item ID="6000"> | |
44 | - <Name>Interval Period</Name> | |
45 | - <Operations>R</Operations> | |
46 | - <MultipleInstances>Single</MultipleInstances> | |
47 | - <Mandatory>Mandatory</Mandatory> | |
48 | - <Type>Integer</Type> | |
49 | - <RangeEnumeration>1..864000</RangeEnumeration> | |
50 | - <Units>s</Units> | |
51 | - <Description><![CDATA[The Interval Period resource is an Integer value representing the width in seconds of the intervals being managed by this interval data object. This resource is read only and can only be changed by resource 11 (Change Interval Configuration). It is recommended that the Interval Period be set to a devisor of 24 hours (86400 seconds) to provide a consistent interval period. Examples of Interval Period include:- | |
52 | -30 = Every 30 seconds | |
53 | -600 = Every 10 minutes | |
54 | -1800 = Every 30 minutes | |
55 | -3600 = Hourly | |
56 | -7200 = Every 2 hours | |
57 | -14400 = Every 4 hours | |
58 | -43200 = Every 12 hours | |
59 | -86400 = Every Day | |
60 | -172600 = Every Second Day]]></Description> | |
61 | - </Item> | |
62 | - <Item ID="6001"> | |
63 | - <Name>Interval Start Offset</Name> | |
64 | - <Operations>R</Operations> | |
65 | - <MultipleInstances>Single</MultipleInstances> | |
66 | - <Mandatory>Optional</Mandatory> | |
67 | - <Type>Integer</Type> | |
68 | - <RangeEnumeration>0..86399</RangeEnumeration> | |
69 | - <Units>s</Units> | |
70 | - <Description><![CDATA[The Interval Start Offset resource is a read only resource representing the number of seconds past midnight for which the first interval is recorded. If this resource is empty, it is assumed that the intervals are midnight aligned. This can be used to adjust interval boundaries. As an example, an Interval Period of 3600 seconds and an Interval Start time of 300 represents hourly interval data, starting at 00:05.]]></Description> | |
71 | - </Item> | |
72 | - <Item ID="6002"> | |
73 | - <Name>Interval UTC Offset</Name> | |
74 | - <Operations>R</Operations> | |
75 | - <MultipleInstances>Single</MultipleInstances> | |
76 | - <Mandatory>Optional</Mandatory> | |
77 | - <Type>String</Type> | |
78 | - <RangeEnumeration></RangeEnumeration> | |
79 | - <Units></Units> | |
80 | - <Description><![CDATA[The Interval UTC Offset resource is a read only resource representing the time zone offset for this Interval Data instance. If this resource is empty, the application should use the UTC offset provided in the Device [/3/0/14] object instance resource or UTC if not provided. UTC+X [ISO 8601].]]></Description> | |
81 | - </Item> | |
82 | - <Item ID="6003"> | |
83 | - <Name>Interval Collection Start Time</Name> | |
84 | - <Operations>R</Operations> | |
85 | - <MultipleInstances>Single</MultipleInstances> | |
86 | - <Mandatory>Mandatory</Mandatory> | |
87 | - <Type>Time</Type> | |
88 | - <RangeEnumeration></RangeEnumeration> | |
89 | - <Units></Units> | |
90 | - <Description><![CDATA[The Collection Start Time resource is a read only resource representing the time when the first interval was recorded on the device. Interval times represent the end of the interval, not the beginning. As an example, the first four hourly interval past midnight will have a timestamp of 04:00 (adjusting for UTC offset). ]]></Description> | |
91 | - </Item> | |
92 | - <Item ID="6004"> | |
93 | - <Name>Oldest Recorded Interval</Name> | |
94 | - <Operations>R</Operations> | |
95 | - <MultipleInstances>Single</MultipleInstances> | |
96 | - <Mandatory>Mandatory</Mandatory> | |
97 | - <Type>Time</Type> | |
98 | - <RangeEnumeration></RangeEnumeration> | |
99 | - <Units></Units> | |
100 | - <Description><![CDATA[The Oldest Recorded Interval resource is a read-only resource representing the oldest available interval on the device. Interval times represent the end of the interval, not the beginning.]]></Description> | |
101 | - </Item> | |
102 | - <Item ID="6005"> | |
103 | - <Name>Last Delivered Interval</Name> | |
104 | - <Operations>RW</Operations> | |
105 | - <MultipleInstances>Single</MultipleInstances> | |
106 | - <Mandatory>Optional</Mandatory> | |
107 | - <Type>Time</Type> | |
108 | - <RangeEnumeration></RangeEnumeration> | |
109 | - <Units></Units> | |
110 | - <Description><![CDATA[The Last Delivered Interval is a readable and writable resource used to represent the last interval delivered to the LwM2M server. Interval times represent the end of the interval, not the beginning. The setting of this resource is implementation specific but should be updated based on, either a Read request of the Latest Payload from the LwM2M server or via a confirmed delivery of Notify operation of the Latest Payload resource. This resource is writable to allow the server to adjust the Last Delivered Interval value if the server and client is out of sync.]]></Description> | |
111 | - </Item> | |
112 | - <Item ID="6006"> | |
113 | - <Name>Latest Recorded Interval</Name> | |
114 | - <Operations>R</Operations> | |
115 | - <MultipleInstances>Single</MultipleInstances> | |
116 | - <Mandatory>Mandatory</Mandatory> | |
117 | - <Type>Time</Type> | |
118 | - <RangeEnumeration></RangeEnumeration> | |
119 | - <Units></Units> | |
120 | - <Description><![CDATA[The Latest Recorded Interval is a readable resource representing the currently highest recorded interval on the device. Interval times represent the end of the interval, not the beginning.]]></Description> | |
121 | - </Item> | |
122 | - <Item ID="6007"> | |
123 | - <Name>Interval Delivery Midnight Aligned</Name> | |
124 | - <Operations>RW</Operations> | |
125 | - <MultipleInstances>Single</MultipleInstances> | |
126 | - <Mandatory>Mandatory</Mandatory> | |
127 | - <Type>Boolean</Type> | |
128 | - <RangeEnumeration></RangeEnumeration> | |
129 | - <Units></Units> | |
130 | - <Description><![CDATA[The Delivery Midnight Aligned is a readable and writable resource used to indicate if data is delivered only to the previous midnight (1) or if part-day data can be delivered (0). Calculating Midnight should consider the Interval UTC Offset resource, or if empty, the Device [/3/0/14] object instance resource.]]></Description> | |
131 | - </Item> | |
132 | - <Item ID="6008"> | |
133 | - <Name>Interval Historical Read</Name> | |
134 | - <Operations>E</Operations> | |
135 | - <MultipleInstances>Single</MultipleInstances> | |
136 | - <Mandatory>Optional</Mandatory> | |
137 | - <Type></Type> | |
138 | - <RangeEnumeration></RangeEnumeration> | |
139 | - <Units></Units> | |
140 | - <Description><![CDATA[Historical Interval Read is an executable resource designed to retrieve ad-hoc interval read data. The resource takes two arguments:- | |
141 | -Argument 0: First Interval time to Retrieve represented as number of seconds since Jan 1st, 1970 in the UTC time zone. | |
142 | -Argument 1: Last interval time to Retrieve represented as number of seconds since Jan 1st, 1970 in the UTC time zone. | |
143 | -The dates should be inclusive based on the end time of the interval. The data retrieved from this resource will be readable (or observable) from the Historical Read Payload Resource. | |
144 | - | |
145 | -As an example, the Argument List to retrieve data from Midnight 2nd March (UTC+10) to Midnight 6rd March (UTC+10) for a specific instance of the interval data object, would be constructed as follows:- | |
146 | - | |
147 | -0='1488463200',1='1488808800']]></Description> | |
148 | - </Item> | |
149 | - <Item ID="6009"> | |
150 | - <Name>Interval Historical Read Payload</Name> | |
151 | - <Operations>R</Operations> | |
152 | - <MultipleInstances>Single</MultipleInstances> | |
153 | - <Mandatory>Optional</Mandatory> | |
154 | - <Type>Opaque</Type> | |
155 | - <RangeEnumeration></RangeEnumeration> | |
156 | - <Units></Units> | |
157 | - <Description><![CDATA[The Historical Read Payload resource is the representation of the data requested by the Historical Interval Read executable resource. The format of this Opaque value should be identical to the Latest Payload resource. If no Historical Interval Read has been executed, this resource should return and empty Opaque value. This resource can either be Read from the Server or set up as an observation and Notified to the server as soon as the historical data is available. When this payload is delivered to the LwM2M server, via either a read request or a confirmed observation on this Object, Object Instance or Resource, the Historical Read Payload should be set to an empty Opaque value.]]></Description> | |
158 | - </Item> | |
159 | - <Item ID="6010"> | |
160 | - <Name>Interval Change Configuration</Name> | |
161 | - <Operations>E</Operations> | |
162 | - <MultipleInstances>Single</MultipleInstances> | |
163 | - <Mandatory>Optional</Mandatory> | |
164 | - <Type></Type> | |
165 | - <RangeEnumeration></RangeEnumeration> | |
166 | - <Units></Units> | |
167 | - <Description><![CDATA[Change Interval Configuration is an executable resource designed to allow the Interval Period, Interval Start Offset and Interval UTC Offset to be reconfigured. The resource takes three arguments:- | |
168 | -Argument 0: [Mandatory] Interval Period represented as an integer as defined in the Interval Period Resource. | |
169 | -Argument 1: [Optional] Interval start offset represented as an integer as defined in the Interval Start Offset Resource. If not provided, leave the value as per the current configuration | |
170 | -Argument 2: [Optional] Interval UTC offset represented as a String as defined in the Interval UTC Offset Resource. If not provided, leave the value as per the current configuration. | |
171 | - | |
172 | -Depending on the specifics of the implementation of this object, reconfiguring the Interval data object may result in the removal of all historical data for this Interval Data Object Instance. Please consult with your device vendor as to the implications of reconfiguring an Interval Data Object Instance. | |
173 | - | |
174 | -As an example, the Argument List to change an interval data object instance from its existing values to one hour intervals, midnight aligned in UTC+10 time zone:- | |
175 | - | |
176 | -0='3600',1='0',1='UTC+10']]></Description> | |
177 | - </Item> | |
178 | - <Item ID="6026"> | |
179 | - <Name>Start</Name> | |
180 | - <Operations>E</Operations> | |
181 | - <MultipleInstances>Single</MultipleInstances> | |
182 | - <Mandatory>Optional</Mandatory> | |
183 | - <Type></Type> | |
184 | - <RangeEnumeration></RangeEnumeration> | |
185 | - <Units></Units> | |
186 | - <Description><![CDATA[Start is an executable resource that enables the recording of interval data. The first interval recorded will have a timestamp based on the Interval Start Offset resource. This executable resource takes no arguments. Refer to re-usable resource LogStart for further details.]]></Description> | |
187 | - </Item> | |
188 | - <Item ID="6027"> | |
189 | - <Name>Stop</Name> | |
190 | - <Operations>E</Operations> | |
191 | - <MultipleInstances>Single</MultipleInstances> | |
192 | - <Mandatory>Optional</Mandatory> | |
193 | - <Type></Type> | |
194 | - <RangeEnumeration></RangeEnumeration> | |
195 | - <Units></Units> | |
196 | - <Description><![CDATA[Stop (LogStop) is an executable resource that disables the recording of interval data for this object instance. This executable resource takes no arguments. Refer to re-usable resource LogStop for further details.]]></Description> | |
197 | - </Item> | |
198 | - <Item ID="6028"> | |
199 | - <Name>Status</Name> | |
200 | - <Operations>R</Operations> | |
201 | - <MultipleInstances>Single</MultipleInstances> | |
202 | - <Mandatory>Optional</Mandatory> | |
203 | - <Type>Integer</Type> | |
204 | - <RangeEnumeration></RangeEnumeration> | |
205 | - <Units></Units> | |
206 | - <Description><![CDATA[Recording Enabled is a read-only resource providing an indication of if interval data is currently being recorded for this object instance. Refer to re-usable resource LogStatus for further details.]]></Description> | |
207 | - </Item> | |
208 | - <Item ID="6029"> | |
209 | - <Name>Latest Payload</Name> | |
210 | - <Operations>R</Operations> | |
211 | - <MultipleInstances>Single</MultipleInstances> | |
212 | - <Mandatory>Mandatory</Mandatory> | |
213 | - <Type>Opaque</Type> | |
214 | - <RangeEnumeration></RangeEnumeration> | |
215 | - <Units></Units> | |
216 | - <Description><![CDATA[The Latest Payload resource is a read-only serialised Opaque (Binary) representation of all the Interval Data between the Last Delivered Interval and the Latest Recorded Interval, accounting for the Delivery Midnight Aligned resource. When this payload is delivered to the LwM2M server, via either a read request or a confirmed observation on this Object, Object Instance or Resource, the Latest Delivered Interval should be updated. When no new data exists, an empty Opaque value should be provided. | |
217 | - | |
218 | -The payload data can be provided in an implementation specific serialisation, but by default for fixed length values should use the OMA-LwM2M CBOR format encoded as follows: | |
219 | - | |
220 | -1. 8-bit integer, value 2 representing OMA-LwM2M CBOR format. | |
221 | -2. Interval Data Instance ID/ Class [16-bit integer] | |
222 | -3. Timestamp of first Interval [32-bit integer] representing the number of seconds since Jan 1st, 1970 in the UTC time zone. | |
223 | -4. Interval Period in seconds [32-bit integer] | |
224 | -5. Number of intervals in Payload [16-bit integer] | |
225 | -6. Number of Values Per Interval [8-bit integer] | |
226 | -7. Size of Value 1 in bits [8-bit integer] | |
227 | -8. Size of Value 2 in bits [8-bit integer] | |
228 | -... | |
229 | -9. Size of Value N in bits [8-bit integer] | |
230 | -10. Interval 1 Value 1 [x bits] | |
231 | -11. Interval 1 Value 2 [x bits] | |
232 | -... | |
233 | -12. Interval 1 Value N [x bits] | |
234 | -... | |
235 | -13. Interval N Value N [x bits] | |
236 | - | |
237 | -If for some implementation specific reason, there are missing intervals in the sequence, the payload may consist of multiple blocks of the above serialised data (appended into a single binary opaque value), each block representing a continuous series of interval data. | |
238 | -]]></Description> | |
239 | - </Item> | |
240 | - </Resources> | |
241 | - <Description2></Description2> | |
242 | - </Object> | |
243 | -</LWM2M> | |
244 | - |