@hello.nrfcloud.com/proto-map 13.2.0 → 13.2.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 +15 -1
- package/lwm2m/14203.xml +2 -2
- package/lwm2m/definitions.ts +8 -2
- package/lwm2m/object/14203.d.ts +6 -0
- package/package.json +5 -4
|
@@ -278,6 +278,9 @@ var _obj;
|
|
|
278
278
|
* RSRP (Integer)
|
|
279
279
|
*
|
|
280
280
|
* Reference Signal Received Power (RSRP). The average power level in dBm received from a single reference signal in an LTE (Long-term Evolution) network. Typically this value ranges from -140 to -40 dBm. Examples: -97, -104.
|
|
281
|
+
*
|
|
282
|
+
* Minimum: -160
|
|
283
|
+
* Maximum: -40
|
|
281
284
|
*/ 2: {
|
|
282
285
|
ResourceID: 2,
|
|
283
286
|
Name: "RSRP",
|
|
@@ -285,6 +288,10 @@ var _obj;
|
|
|
285
288
|
Type: ResourceType.Integer,
|
|
286
289
|
Multiple: false,
|
|
287
290
|
Description: "Reference Signal Received Power (RSRP). The average power level in dBm received from a single reference signal in an LTE (Long-term Evolution) network. Typically this value ranges from -140 to -40 dBm. Examples: -97, -104.",
|
|
291
|
+
RangeEnumeration: {
|
|
292
|
+
min: -160,
|
|
293
|
+
max: -40
|
|
294
|
+
},
|
|
288
295
|
Units: "dBm"
|
|
289
296
|
},
|
|
290
297
|
/**
|
|
@@ -339,13 +346,20 @@ var _obj;
|
|
|
339
346
|
* Energy Estimate (Integer)
|
|
340
347
|
*
|
|
341
348
|
* The %CONEVAL AT command returns amongst other data the energy estimate: Relative estimated energy consumption of data transmission compared to nominal consumption. A higher value means smaller energy consumption. 5: Difficulties in setting up connections. Maximum number of repetitions might be needed for data. 6: Poor conditions. Setting up a connection might require retries and a higher number of repetitions for data. 7: Normal conditions for cIoT device. No repetitions for data or only a few repetitions in the worst case. 8: Good conditions. Possibly very good conditions for small amounts of data. 9: Very good conditions. Efficient data transfer estimated also for larger amounts of data. Examples: 5, 7
|
|
349
|
+
*
|
|
350
|
+
* Minimum: 5
|
|
351
|
+
* Maximum: 9
|
|
342
352
|
*/ 11: {
|
|
343
353
|
ResourceID: 11,
|
|
344
354
|
Name: "Energy Estimate",
|
|
345
355
|
Mandatory: false,
|
|
346
356
|
Type: ResourceType.Integer,
|
|
347
357
|
Multiple: false,
|
|
348
|
-
Description: "The %CONEVAL AT command returns amongst other data the energy estimate: Relative estimated energy consumption of data transmission compared to nominal consumption. A higher value means smaller energy consumption. 5: Difficulties in setting up connections. Maximum number of repetitions might be needed for data. 6: Poor conditions. Setting up a connection might require retries and a higher number of repetitions for data. 7: Normal conditions for cIoT device. No repetitions for data or only a few repetitions in the worst case. 8: Good conditions. Possibly very good conditions for small amounts of data. 9: Very good conditions. Efficient data transfer estimated also for larger amounts of data. Examples: 5, 7"
|
|
358
|
+
Description: "The %CONEVAL AT command returns amongst other data the energy estimate: Relative estimated energy consumption of data transmission compared to nominal consumption. A higher value means smaller energy consumption. 5: Difficulties in setting up connections. Maximum number of repetitions might be needed for data. 6: Poor conditions. Setting up a connection might require retries and a higher number of repetitions for data. 7: Normal conditions for cIoT device. No repetitions for data or only a few repetitions in the worst case. 8: Good conditions. Possibly very good conditions for small amounts of data. 9: Very good conditions. Efficient data transfer estimated also for larger amounts of data. Examples: 5, 7",
|
|
359
|
+
RangeEnumeration: {
|
|
360
|
+
min: 5,
|
|
361
|
+
max: 9
|
|
362
|
+
}
|
|
349
363
|
},
|
|
350
364
|
/**
|
|
351
365
|
* Timestamp (Time)
|
package/lwm2m/14203.xml
CHANGED
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
<MultipleInstances>Single</MultipleInstances>
|
|
35
35
|
<Mandatory>Optional</Mandatory>
|
|
36
36
|
<Type>Integer</Type>
|
|
37
|
-
<RangeEnumeration
|
|
37
|
+
<RangeEnumeration>-160..-40</RangeEnumeration>
|
|
38
38
|
<Units>dBm</Units>
|
|
39
39
|
<Description><![CDATA[Reference Signal Received Power (RSRP). The average power level in dBm received from a single reference signal in an LTE (Long-term Evolution) network. Typically this value ranges from -140 to -40 dBm. Examples: -97, -104.]]></Description>
|
|
40
40
|
</Item>
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
<MultipleInstances>Single</MultipleInstances>
|
|
85
85
|
<Mandatory>Optional</Mandatory>
|
|
86
86
|
<Type>Integer</Type>
|
|
87
|
-
<RangeEnumeration
|
|
87
|
+
<RangeEnumeration>5..9</RangeEnumeration>
|
|
88
88
|
<Units/>
|
|
89
89
|
<Description><![CDATA[The %CONEVAL AT command returns amongst other data the energy estimate: Relative estimated energy consumption of data transmission compared to nominal consumption. A higher value means smaller energy consumption. 5: Difficulties in setting up connections. Maximum number of repetitions might be needed for data. 6: Poor conditions. Setting up a connection might require retries and a higher number of repetitions for data. 7: Normal conditions for cIoT device. No repetitions for data or only a few repetitions in the worst case. 8: Good conditions. Possibly very good conditions for small amounts of data. 9: Very good conditions. Efficient data transfer estimated also for larger amounts of data. Examples: 5, 7]]></Description>
|
|
90
90
|
</Item>
|
package/lwm2m/definitions.ts
CHANGED
|
@@ -123,8 +123,11 @@ export const definitions: Record<LwM2MObjectID, LWM2MObjectInfo> = { /**
|
|
|
123
123
|
* RSRP (Integer)
|
|
124
124
|
*
|
|
125
125
|
* Reference Signal Received Power (RSRP). The average power level in dBm received from a single reference signal in an LTE (Long-term Evolution) network. Typically this value ranges from -140 to -40 dBm. Examples: -97, -104.
|
|
126
|
+
*
|
|
127
|
+
* Minimum: -160
|
|
128
|
+
* Maximum: -40
|
|
126
129
|
*/
|
|
127
|
-
2: { ResourceID: 2, Name: "RSRP", Mandatory: false, Type: ResourceType.Integer, Multiple: false, Description: "Reference Signal Received Power (RSRP). The average power level in dBm received from a single reference signal in an LTE (Long-term Evolution) network. Typically this value ranges from -140 to -40 dBm. Examples: -97, -104.", Units: "dBm" }, /**
|
|
130
|
+
2: { ResourceID: 2, Name: "RSRP", Mandatory: false, Type: ResourceType.Integer, Multiple: false, Description: "Reference Signal Received Power (RSRP). The average power level in dBm received from a single reference signal in an LTE (Long-term Evolution) network. Typically this value ranges from -140 to -40 dBm. Examples: -97, -104.", RangeEnumeration: { min: -160, max: -40 }, Units: "dBm" }, /**
|
|
128
131
|
* Area (Integer)
|
|
129
132
|
*
|
|
130
133
|
* Area code. Examples: 12
|
|
@@ -148,8 +151,11 @@ export const definitions: Record<LwM2MObjectID, LWM2MObjectInfo> = { /**
|
|
|
148
151
|
* Energy Estimate (Integer)
|
|
149
152
|
*
|
|
150
153
|
* The %CONEVAL AT command returns amongst other data the energy estimate: Relative estimated energy consumption of data transmission compared to nominal consumption. A higher value means smaller energy consumption. 5: Difficulties in setting up connections. Maximum number of repetitions might be needed for data. 6: Poor conditions. Setting up a connection might require retries and a higher number of repetitions for data. 7: Normal conditions for cIoT device. No repetitions for data or only a few repetitions in the worst case. 8: Good conditions. Possibly very good conditions for small amounts of data. 9: Very good conditions. Efficient data transfer estimated also for larger amounts of data. Examples: 5, 7
|
|
154
|
+
*
|
|
155
|
+
* Minimum: 5
|
|
156
|
+
* Maximum: 9
|
|
151
157
|
*/
|
|
152
|
-
11: { ResourceID: 11, Name: "Energy Estimate", Mandatory: false, Type: ResourceType.Integer, Multiple: false, Description: "The %CONEVAL AT command returns amongst other data the energy estimate: Relative estimated energy consumption of data transmission compared to nominal consumption. A higher value means smaller energy consumption. 5: Difficulties in setting up connections. Maximum number of repetitions might be needed for data. 6: Poor conditions. Setting up a connection might require retries and a higher number of repetitions for data. 7: Normal conditions for cIoT device. No repetitions for data or only a few repetitions in the worst case. 8: Good conditions. Possibly very good conditions for small amounts of data. 9: Very good conditions. Efficient data transfer estimated also for larger amounts of data. Examples: 5, 7" }, /**
|
|
158
|
+
11: { ResourceID: 11, Name: "Energy Estimate", Mandatory: false, Type: ResourceType.Integer, Multiple: false, Description: "The %CONEVAL AT command returns amongst other data the energy estimate: Relative estimated energy consumption of data transmission compared to nominal consumption. A higher value means smaller energy consumption. 5: Difficulties in setting up connections. Maximum number of repetitions might be needed for data. 6: Poor conditions. Setting up a connection might require retries and a higher number of repetitions for data. 7: Normal conditions for cIoT device. No repetitions for data or only a few repetitions in the worst case. 8: Good conditions. Possibly very good conditions for small amounts of data. 9: Very good conditions. Efficient data transfer estimated also for larger amounts of data. Examples: 5, 7", RangeEnumeration: { min: 5, max: 9 } }, /**
|
|
153
159
|
* Timestamp (Time)
|
|
154
160
|
*
|
|
155
161
|
* The timestamp of when the measurement was performed.
|
package/lwm2m/object/14203.d.ts
CHANGED
|
@@ -31,6 +31,9 @@ export type ConnectionInformation_14203 = LwM2MObject<{
|
|
|
31
31
|
* RSRP (dBm)
|
|
32
32
|
*
|
|
33
33
|
* Reference Signal Received Power (RSRP). The average power level in dBm received from a single reference signal in an LTE (Long-term Evolution) network. Typically this value ranges from -140 to -40 dBm. Examples: -97, -104.
|
|
34
|
+
*
|
|
35
|
+
* Minimum: -160
|
|
36
|
+
* Maximum: -40
|
|
34
37
|
*/
|
|
35
38
|
2?: number;
|
|
36
39
|
/**
|
|
@@ -61,6 +64,9 @@ export type ConnectionInformation_14203 = LwM2MObject<{
|
|
|
61
64
|
* Energy Estimate
|
|
62
65
|
*
|
|
63
66
|
* The %CONEVAL AT command returns amongst other data the energy estimate: Relative estimated energy consumption of data transmission compared to nominal consumption. A higher value means smaller energy consumption. 5: Difficulties in setting up connections. Maximum number of repetitions might be needed for data. 6: Poor conditions. Setting up a connection might require retries and a higher number of repetitions for data. 7: Normal conditions for cIoT device. No repetitions for data or only a few repetitions in the worst case. 8: Good conditions. Possibly very good conditions for small amounts of data. 9: Very good conditions. Efficient data transfer estimated also for larger amounts of data. Examples: 5, 7
|
|
67
|
+
*
|
|
68
|
+
* Minimum: 5
|
|
69
|
+
* Maximum: 9
|
|
64
70
|
*/
|
|
65
71
|
11?: number;
|
|
66
72
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hello.nrfcloud.com/proto-map",
|
|
3
|
-
"version": "13.2.
|
|
3
|
+
"version": "13.2.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.1.
|
|
38
|
+
"@bifravst/eslint-config-typescript": "6.1.8",
|
|
39
39
|
"@bifravst/prettier-config": "1.0.3",
|
|
40
40
|
"@commitlint/config-conventional": "19.2.2",
|
|
41
41
|
"@swc/cli": "0.4.0",
|
|
@@ -46,11 +46,12 @@
|
|
|
46
46
|
"globstar": "1.0.0",
|
|
47
47
|
"husky": "9.0.11",
|
|
48
48
|
"lint-staged": "15.2.7",
|
|
49
|
-
"prettier-plugin-organize-imports": "
|
|
49
|
+
"prettier-plugin-organize-imports": "4.0.0",
|
|
50
50
|
"remark": "15.0.1",
|
|
51
51
|
"remark-frontmatter": "5.0.0",
|
|
52
52
|
"tsmatchers": "5.0.2",
|
|
53
|
-
"tsx": "4.16.
|
|
53
|
+
"tsx": "4.16.2",
|
|
54
|
+
"typescript": "5.5.3",
|
|
54
55
|
"xml2js": "0.6.2",
|
|
55
56
|
"yaml": "2.4.5"
|
|
56
57
|
},
|