@hello.nrfcloud.com/proto-map 4.0.0 → 4.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lwm2m/definitions.js +7 -0
- package/lwm2m/14205.xml +1 -1
- package/lwm2m/definitions.ts +4 -1
- package/lwm2m/object/14205.d.ts +4 -0
- package/package.json +1 -1
|
@@ -438,12 +438,19 @@ var _obj;
|
|
|
438
438
|
* Humidity (Float)
|
|
439
439
|
*
|
|
440
440
|
* Environmental humidity in percent. Examples: 44.2, 72.
|
|
441
|
+
*
|
|
442
|
+
* Minimum: 0
|
|
443
|
+
* Maximum: 100
|
|
441
444
|
*/ 1: {
|
|
442
445
|
ResourceID: 1,
|
|
443
446
|
Name: "Humidity",
|
|
444
447
|
Mandatory: false,
|
|
445
448
|
Type: ResourceType.Float,
|
|
446
449
|
Description: "Environmental humidity in percent. Examples: 44.2, 72.",
|
|
450
|
+
RangeEnumeration: {
|
|
451
|
+
min: 0,
|
|
452
|
+
max: 100
|
|
453
|
+
},
|
|
447
454
|
Units: "%"
|
|
448
455
|
},
|
|
449
456
|
/**
|
package/lwm2m/14205.xml
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
<MultipleInstances>Single</MultipleInstances>
|
|
25
25
|
<Mandatory>Optional</Mandatory>
|
|
26
26
|
<Type>Float</Type>
|
|
27
|
-
<RangeEnumeration
|
|
27
|
+
<RangeEnumeration>0..100</RangeEnumeration>
|
|
28
28
|
<Units>%</Units>
|
|
29
29
|
<Description><![CDATA[Environmental humidity in percent. Examples: 44.2, 72.]]></Description>
|
|
30
30
|
</Item>
|
package/lwm2m/definitions.ts
CHANGED
|
@@ -204,8 +204,11 @@ export const definitions: Record<LwM2MObjectID, LWM2MObjectInfo> = { /**
|
|
|
204
204
|
* Humidity (Float)
|
|
205
205
|
*
|
|
206
206
|
* Environmental humidity in percent. Examples: 44.2, 72.
|
|
207
|
+
*
|
|
208
|
+
* Minimum: 0
|
|
209
|
+
* Maximum: 100
|
|
207
210
|
*/
|
|
208
|
-
1: { ResourceID: 1, Name: "Humidity", Mandatory: false, Type: ResourceType.Float, Description: "Environmental humidity in percent. Examples: 44.2, 72.", Units: "%" }, /**
|
|
211
|
+
1: { ResourceID: 1, Name: "Humidity", Mandatory: false, Type: ResourceType.Float, Description: "Environmental humidity in percent. Examples: 44.2, 72.", RangeEnumeration: { min: 0, max: 100 }, Units: "%" }, /**
|
|
209
212
|
* Atmospheric pressure (Float)
|
|
210
213
|
*
|
|
211
214
|
* Atmospheric pressure in pascal. Examples: 1003.6, 977.
|
package/lwm2m/object/14205.d.ts
CHANGED
package/package.json
CHANGED