@hello.nrfcloud.com/proto-map 9.1.0 → 9.1.2
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 +3 -3
- package/lwm2m/14205.xml +2 -2
- package/lwm2m/definitions.ts +2 -2
- package/lwm2m/object/14205.d.ts +2 -2
- package/lwm2m/validate.ts +1 -1
- package/package.json +4 -5
|
@@ -456,14 +456,14 @@ var _obj;
|
|
|
456
456
|
/**
|
|
457
457
|
* Atmospheric pressure (Float)
|
|
458
458
|
*
|
|
459
|
-
* Atmospheric pressure in
|
|
459
|
+
* Atmospheric pressure in hectopascal. Examples: 1003.6, 977.
|
|
460
460
|
*/ 2: {
|
|
461
461
|
ResourceID: 2,
|
|
462
462
|
Name: "Atmospheric pressure",
|
|
463
463
|
Mandatory: false,
|
|
464
464
|
Type: ResourceType.Float,
|
|
465
|
-
Description: "Atmospheric pressure in
|
|
466
|
-
Units: "
|
|
465
|
+
Description: "Atmospheric pressure in hectopascal. Examples: 1003.6, 977.",
|
|
466
|
+
Units: "hPa"
|
|
467
467
|
},
|
|
468
468
|
/**
|
|
469
469
|
* Air Quality Index (Integer)
|
package/lwm2m/14205.xml
CHANGED
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
<Mandatory>Optional</Mandatory>
|
|
36
36
|
<Type>Float</Type>
|
|
37
37
|
<RangeEnumeration/>
|
|
38
|
-
<Units>
|
|
39
|
-
<Description><![CDATA[Atmospheric pressure in
|
|
38
|
+
<Units>hPa</Units>
|
|
39
|
+
<Description><![CDATA[Atmospheric pressure in hectopascal. Examples: 1003.6, 977.]]></Description>
|
|
40
40
|
</Item>
|
|
41
41
|
<Item ID="10">
|
|
42
42
|
<Name>Air Quality Index</Name>
|
package/lwm2m/definitions.ts
CHANGED
|
@@ -211,9 +211,9 @@ export const definitions: Record<LwM2MObjectID, LWM2MObjectInfo> = { /**
|
|
|
211
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: "%" }, /**
|
|
212
212
|
* Atmospheric pressure (Float)
|
|
213
213
|
*
|
|
214
|
-
* Atmospheric pressure in
|
|
214
|
+
* Atmospheric pressure in hectopascal. Examples: 1003.6, 977.
|
|
215
215
|
*/
|
|
216
|
-
2: { ResourceID: 2, Name: "Atmospheric pressure", Mandatory: false, Type: ResourceType.Float, Description: "Atmospheric pressure in
|
|
216
|
+
2: { ResourceID: 2, Name: "Atmospheric pressure", Mandatory: false, Type: ResourceType.Float, Description: "Atmospheric pressure in hectopascal. Examples: 1003.6, 977.", Units: "hPa" }, /**
|
|
217
217
|
* Air Quality Index (Integer)
|
|
218
218
|
*
|
|
219
219
|
* The Bosch BME680 sensor calculates an Air Quality Index. See https://www.bosch-sensortec.com/media/boschsensortec/downloads/datasheets/bst-bme680-ds001.pdf
|
package/lwm2m/object/14205.d.ts
CHANGED
|
@@ -31,9 +31,9 @@ export type Environment_14205 = LwM2MObject<{
|
|
|
31
31
|
*/
|
|
32
32
|
1?: number;
|
|
33
33
|
/**
|
|
34
|
-
* Atmospheric pressure (
|
|
34
|
+
* Atmospheric pressure (hPa)
|
|
35
35
|
*
|
|
36
|
-
* Atmospheric pressure in
|
|
36
|
+
* Atmospheric pressure in hectopascal. Examples: 1003.6, 977.
|
|
37
37
|
*/
|
|
38
38
|
2?: number;
|
|
39
39
|
/**
|
package/lwm2m/validate.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hello.nrfcloud.com/proto-map",
|
|
3
|
-
"version": "9.1.
|
|
3
|
+
"version": "9.1.2",
|
|
4
4
|
"description": "Documents the communication protocol between devices, the hello.nrfcloud.com/map backend and web application",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"prepublishOnly": "./compile.sh"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@bifravst/eslint-config-typescript": "6.0
|
|
38
|
+
"@bifravst/eslint-config-typescript": "6.1.0",
|
|
39
39
|
"@bifravst/prettier-config": "1.0.0",
|
|
40
40
|
"@commitlint/config-conventional": "19.2.2",
|
|
41
41
|
"@swc/cli": "0.3.12",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"chalk": "5.3.0",
|
|
46
46
|
"globstar": "1.0.0",
|
|
47
47
|
"husky": "9.0.11",
|
|
48
|
-
"lint-staged": "15.2.
|
|
48
|
+
"lint-staged": "15.2.5",
|
|
49
49
|
"prettier-plugin-organize-imports": "3.2.4",
|
|
50
50
|
"remark": "15.0.1",
|
|
51
51
|
"remark-frontmatter": "5.0.0",
|
|
@@ -98,7 +98,6 @@
|
|
|
98
98
|
"lwm2m"
|
|
99
99
|
],
|
|
100
100
|
"peerDependencies": {
|
|
101
|
-
"@sinclair/typebox": "^0.32.31"
|
|
102
|
-
"ajv": "^8.13.0"
|
|
101
|
+
"@sinclair/typebox": "^0.32.31"
|
|
103
102
|
}
|
|
104
103
|
}
|