@hello.nrfcloud.com/proto-map 16.4.14 → 16.5.0
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/LwM2MObjectID.js +7 -1
- package/dist/lwm2m/definitions.js +68 -0
- package/dist/lwm2m/object/14503.d.js +5 -0
- package/dist/lwm2m/object/validate14503.js +14 -0
- package/dist/lwm2m/objects.js +1 -0
- package/dist/lwm2m/timestampResources.js +4 -0
- package/dist/lwm2m/validators.js +2 -0
- package/lwm2m/14503.xml +54 -0
- package/lwm2m/LwM2MObjectID.ts +10 -2
- package/lwm2m/definitions.ts +34 -1
- package/lwm2m/object/14503.d.ts +43 -0
- package/lwm2m/object/validate14503.ts +14 -0
- package/lwm2m/objects.ts +3 -1
- package/lwm2m/timestampResources.ts +1 -1
- package/lwm2m/validators.ts +3 -1
- package/package.json +4 -5
|
@@ -71,6 +71,11 @@
|
|
|
71
71
|
*
|
|
72
72
|
* This LwM2M Object describes neighboring devices.
|
|
73
73
|
*/ LwM2MObjectID[LwM2MObjectID["NetworkNeighbor_14502"] = 14502] = "NetworkNeighbor_14502";
|
|
74
|
+
/**
|
|
75
|
+
* DECT NR+ Connection Profile (14503)
|
|
76
|
+
*
|
|
77
|
+
* Connection details of a device connected to a DECT NR+ network.
|
|
78
|
+
*/ LwM2MObjectID[LwM2MObjectID["DECTNR_ConnectionProfile_14503"] = 14503] = "DECTNR_ConnectionProfile_14503";
|
|
74
79
|
return LwM2MObjectID;
|
|
75
80
|
}({});
|
|
76
81
|
/**
|
|
@@ -89,5 +94,6 @@
|
|
|
89
94
|
14301,
|
|
90
95
|
14401,
|
|
91
96
|
14501,
|
|
92
|
-
14502
|
|
97
|
+
14502,
|
|
98
|
+
14503
|
|
93
99
|
];
|
|
@@ -974,4 +974,72 @@ var _obj;
|
|
|
974
974
|
Description: "The timestamp of when the neighbor information was reported."
|
|
975
975
|
}
|
|
976
976
|
}
|
|
977
|
+
}), /**
|
|
978
|
+
* DECT NR+ Connection Profile (14503)
|
|
979
|
+
*
|
|
980
|
+
* Connection details of a device connected to a DECT NR+ network.
|
|
981
|
+
*/ _define_property(_obj, LwM2MObjectID.DECTNR_ConnectionProfile_14503, {
|
|
982
|
+
ObjectID: LwM2MObjectID.DECTNR_ConnectionProfile_14503,
|
|
983
|
+
ObjectVersion: "1.0",
|
|
984
|
+
Name: "DECT NR+ Connection Profile",
|
|
985
|
+
Description: "Connection details of a device connected to a DECT NR+ network.",
|
|
986
|
+
Resources: {
|
|
987
|
+
0: {
|
|
988
|
+
ResourceID: 0,
|
|
989
|
+
Name: "Long RD ID",
|
|
990
|
+
Mandatory: true,
|
|
991
|
+
Type: ResourceType.Integer,
|
|
992
|
+
Multiple: false,
|
|
993
|
+
Description: "This identifier uniquely identifies this radio device in the DECT NR+ network. Examples: 1523, 862.",
|
|
994
|
+
RangeEnumeration: {
|
|
995
|
+
min: 1,
|
|
996
|
+
max: 4294967293
|
|
997
|
+
}
|
|
998
|
+
},
|
|
999
|
+
/**
|
|
1000
|
+
* Network ID (Integer)
|
|
1001
|
+
*
|
|
1002
|
+
* This identifier uniquely identifies the DECT NR+ network that this radio device is in. Examples: 734, 16654.
|
|
1003
|
+
*
|
|
1004
|
+
* Minimum: 1
|
|
1005
|
+
* Maximum: 4294967293
|
|
1006
|
+
*/ 1: {
|
|
1007
|
+
ResourceID: 1,
|
|
1008
|
+
Name: "Network ID",
|
|
1009
|
+
Mandatory: true,
|
|
1010
|
+
Type: ResourceType.Integer,
|
|
1011
|
+
Multiple: false,
|
|
1012
|
+
Description: "This identifier uniquely identifies the DECT NR+ network that this radio device is in. Examples: 734, 16654.",
|
|
1013
|
+
RangeEnumeration: {
|
|
1014
|
+
min: 1,
|
|
1015
|
+
max: 4294967293
|
|
1016
|
+
}
|
|
1017
|
+
},
|
|
1018
|
+
/**
|
|
1019
|
+
* Operational Mode (String)
|
|
1020
|
+
*
|
|
1021
|
+
* Operational mode of this radio device. Examples: FT, PT.
|
|
1022
|
+
*/ 2: {
|
|
1023
|
+
ResourceID: 2,
|
|
1024
|
+
Name: "Operational Mode",
|
|
1025
|
+
Mandatory: true,
|
|
1026
|
+
Type: ResourceType.String,
|
|
1027
|
+
Multiple: false,
|
|
1028
|
+
Description: "Operational mode of this radio device. Examples: FT, PT."
|
|
1029
|
+
},
|
|
1030
|
+
/**
|
|
1031
|
+
* Timestamp (Time)
|
|
1032
|
+
*
|
|
1033
|
+
* The timestamp of when the DECT NR+ connection profile was last reported.
|
|
1034
|
+
*
|
|
1035
|
+
* Time resources in LwM2M are represented as a signed integer representing the number of seconds since Jan 1, 1970 in the UTC time zone.
|
|
1036
|
+
*/ 99: {
|
|
1037
|
+
ResourceID: 99,
|
|
1038
|
+
Name: "Timestamp",
|
|
1039
|
+
Mandatory: true,
|
|
1040
|
+
Type: ResourceType.Time,
|
|
1041
|
+
Multiple: false,
|
|
1042
|
+
Description: "The timestamp of when the DECT NR+ connection profile was last reported."
|
|
1043
|
+
}
|
|
1044
|
+
}
|
|
977
1045
|
}), _obj);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { NumberResource, StringResource, TimeResource, validateInstance } from "../validation.js";
|
|
2
|
+
import { LwM2MObjectID } from "../LwM2MObjectID.js";
|
|
3
|
+
/**
|
|
4
|
+
* Validate DECT NR+ Connection Profile (14503)
|
|
5
|
+
*
|
|
6
|
+
* Ensures the given object is an LwM2M object according to the schema 14503.xml.
|
|
7
|
+
*/ export var validate14503 = function(o) {
|
|
8
|
+
return validateInstance(LwM2MObjectID.DECTNR_ConnectionProfile_14503, "1.0", {
|
|
9
|
+
0: NumberResource,
|
|
10
|
+
1: NumberResource,
|
|
11
|
+
2: StringResource,
|
|
12
|
+
99: TimeResource
|
|
13
|
+
})(o);
|
|
14
|
+
};
|
package/dist/lwm2m/objects.js
CHANGED
|
@@ -12,3 +12,4 @@ export { validate14301 } from "./object/validate14301.js";
|
|
|
12
12
|
export { validate14401 } from "./object/validate14401.js";
|
|
13
13
|
export { validate14501 } from "./object/validate14501.js";
|
|
14
14
|
export { validate14502 } from "./object/validate14502.js";
|
|
15
|
+
export { validate14503 } from "./object/validate14503.js";
|
package/dist/lwm2m/validators.js
CHANGED
|
@@ -13,6 +13,7 @@ import { validate14301 } from "./object/validate14301.js";
|
|
|
13
13
|
import { validate14401 } from "./object/validate14401.js";
|
|
14
14
|
import { validate14501 } from "./object/validate14501.js";
|
|
15
15
|
import { validate14502 } from "./object/validate14502.js";
|
|
16
|
+
import { validate14503 } from "./object/validate14503.js";
|
|
16
17
|
/**
|
|
17
18
|
* Contains the validators for all registered LwM2M objects.
|
|
18
19
|
*/ export var validators = new Map();
|
|
@@ -30,3 +31,4 @@ validators.set(LwM2MObjectID.ApplicationConfiguration_14301, validate14301);
|
|
|
30
31
|
validators.set(LwM2MObjectID.NRFCloudServiceInfo_14401, validate14401);
|
|
31
32
|
validators.set(LwM2MObjectID.ConnectionQuality_14501, validate14501);
|
|
32
33
|
validators.set(LwM2MObjectID.NetworkNeighbor_14502, validate14502);
|
|
34
|
+
validators.set(LwM2MObjectID.DECTNR_ConnectionProfile_14503, validate14503);
|
package/lwm2m/14503.xml
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<LWM2M xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://openmobilealliance.org/tech/profiles/LWM2M-v1_1.xsd">
|
|
3
|
+
<Object ObjectType="MODefinition">
|
|
4
|
+
<Name>DECT NR+ Connection Profile</Name>
|
|
5
|
+
<Description1><![CDATA[Connection details of a device connected to a DECT NR+ network.]]></Description1>
|
|
6
|
+
<ObjectID>14503</ObjectID>
|
|
7
|
+
<ObjectURN>urn:oma:lwm2m:x:14503</ObjectURN>
|
|
8
|
+
<MultipleInstances>Multiple</MultipleInstances>
|
|
9
|
+
<Mandatory>Optional</Mandatory>
|
|
10
|
+
<Resources>
|
|
11
|
+
<Item ID="0">
|
|
12
|
+
<Name>Long RD ID</Name>
|
|
13
|
+
<Operations>R</Operations>
|
|
14
|
+
<MultipleInstances>Single</MultipleInstances>
|
|
15
|
+
<Mandatory>Mandatory</Mandatory>
|
|
16
|
+
<Type>Integer</Type>
|
|
17
|
+
<RangeEnumeration>1..4294967293</RangeEnumeration>
|
|
18
|
+
<Units/>
|
|
19
|
+
<Description><![CDATA[This identifier uniquely identifies this radio device in the DECT NR+ network. Examples: 1523, 862.]]></Description>
|
|
20
|
+
</Item>
|
|
21
|
+
<Item ID="1">
|
|
22
|
+
<Name>Network ID</Name>
|
|
23
|
+
<Operations>R</Operations>
|
|
24
|
+
<MultipleInstances>Single</MultipleInstances>
|
|
25
|
+
<Mandatory>Mandatory</Mandatory>
|
|
26
|
+
<Type>Integer</Type>
|
|
27
|
+
<RangeEnumeration>1..4294967293</RangeEnumeration>
|
|
28
|
+
<Units/>
|
|
29
|
+
<Description><![CDATA[This identifier uniquely identifies the DECT NR+ network that this radio device is in. Examples: 734, 16654.]]></Description>
|
|
30
|
+
</Item>
|
|
31
|
+
<Item ID="2">
|
|
32
|
+
<Name>Operational Mode</Name>
|
|
33
|
+
<Operations>R</Operations>
|
|
34
|
+
<MultipleInstances>Single</MultipleInstances>
|
|
35
|
+
<Mandatory>Mandatory</Mandatory>
|
|
36
|
+
<Type>String</Type>
|
|
37
|
+
<RangeEnumeration/>
|
|
38
|
+
<Units/>
|
|
39
|
+
<Description><![CDATA[Operational mode of this radio device. Examples: FT, PT.]]></Description>
|
|
40
|
+
</Item>
|
|
41
|
+
<Item ID="99">
|
|
42
|
+
<Name>Timestamp</Name>
|
|
43
|
+
<Operations>R</Operations>
|
|
44
|
+
<MultipleInstances>Single</MultipleInstances>
|
|
45
|
+
<Mandatory>Mandatory</Mandatory>
|
|
46
|
+
<Type>Time</Type>
|
|
47
|
+
<RangeEnumeration/>
|
|
48
|
+
<Units/>
|
|
49
|
+
<Description><![CDATA[The timestamp of when the DECT NR+ connection profile was last reported.]]></Description>
|
|
50
|
+
</Item>
|
|
51
|
+
</Resources>
|
|
52
|
+
<Description2/>
|
|
53
|
+
</Object>
|
|
54
|
+
</LWM2M>
|
package/lwm2m/LwM2MObjectID.ts
CHANGED
|
@@ -85,7 +85,13 @@ export enum LwM2MObjectID {
|
|
|
85
85
|
*
|
|
86
86
|
* This LwM2M Object describes neighboring devices.
|
|
87
87
|
*/
|
|
88
|
-
NetworkNeighbor_14502 = 14502
|
|
88
|
+
NetworkNeighbor_14502 = 14502,
|
|
89
|
+
/**
|
|
90
|
+
* DECT NR+ Connection Profile (14503)
|
|
91
|
+
*
|
|
92
|
+
* Connection details of a device connected to a DECT NR+ network.
|
|
93
|
+
*/
|
|
94
|
+
DECTNR_ConnectionProfile_14503 = 14503
|
|
89
95
|
}
|
|
90
96
|
/**
|
|
91
97
|
* The LwM2M Object IDs defined in this repo.
|
|
@@ -118,4 +124,6 @@ export const LwM2MObjectIDs = [
|
|
|
118
124
|
// Connection Quality (14501)
|
|
119
125
|
LwM2MObjectID.ConnectionQuality_14501,
|
|
120
126
|
// Network Neighbor (14502)
|
|
121
|
-
LwM2MObjectID.NetworkNeighbor_14502
|
|
127
|
+
LwM2MObjectID.NetworkNeighbor_14502,
|
|
128
|
+
// DECT NR+ Connection Profile (14503)
|
|
129
|
+
LwM2MObjectID.DECTNR_ConnectionProfile_14503];
|
package/lwm2m/definitions.ts
CHANGED
|
@@ -448,4 +448,37 @@ export const definitions: Record<LwM2MObjectID, LWM2MObjectInfo> = { /**
|
|
|
448
448
|
*
|
|
449
449
|
* Time resources in LwM2M are represented as a signed integer representing the number of seconds since Jan 1, 1970 in the UTC time zone.
|
|
450
450
|
*/
|
|
451
|
-
99: { ResourceID: 99, Name: "Timestamp", Mandatory: true, Type: ResourceType.Time, Multiple: false, Description: "The timestamp of when the neighbor information was reported." } } }
|
|
451
|
+
99: { ResourceID: 99, Name: "Timestamp", Mandatory: true, Type: ResourceType.Time, Multiple: false, Description: "The timestamp of when the neighbor information was reported." } } }, /**
|
|
452
|
+
* DECT NR+ Connection Profile (14503)
|
|
453
|
+
*
|
|
454
|
+
* Connection details of a device connected to a DECT NR+ network.
|
|
455
|
+
*/
|
|
456
|
+
[LwM2MObjectID.DECTNR_ConnectionProfile_14503]: { ObjectID: LwM2MObjectID.DECTNR_ConnectionProfile_14503, ObjectVersion: "1.0", Name: "DECT NR+ Connection Profile", Description: "Connection details of a device connected to a DECT NR+ network.", Resources: { /**
|
|
457
|
+
* Long RD ID (Integer)
|
|
458
|
+
*
|
|
459
|
+
* This identifier uniquely identifies this radio device in the DECT NR+ network. Examples: 1523, 862.
|
|
460
|
+
*
|
|
461
|
+
* Minimum: 1
|
|
462
|
+
* Maximum: 4294967293
|
|
463
|
+
*/
|
|
464
|
+
0: { ResourceID: 0, Name: "Long RD ID", Mandatory: true, Type: ResourceType.Integer, Multiple: false, Description: "This identifier uniquely identifies this radio device in the DECT NR+ network. Examples: 1523, 862.", RangeEnumeration: { min: 1, max: 4294967293 } }, /**
|
|
465
|
+
* Network ID (Integer)
|
|
466
|
+
*
|
|
467
|
+
* This identifier uniquely identifies the DECT NR+ network that this radio device is in. Examples: 734, 16654.
|
|
468
|
+
*
|
|
469
|
+
* Minimum: 1
|
|
470
|
+
* Maximum: 4294967293
|
|
471
|
+
*/
|
|
472
|
+
1: { ResourceID: 1, Name: "Network ID", Mandatory: true, Type: ResourceType.Integer, Multiple: false, Description: "This identifier uniquely identifies the DECT NR+ network that this radio device is in. Examples: 734, 16654.", RangeEnumeration: { min: 1, max: 4294967293 } }, /**
|
|
473
|
+
* Operational Mode (String)
|
|
474
|
+
*
|
|
475
|
+
* Operational mode of this radio device. Examples: FT, PT.
|
|
476
|
+
*/
|
|
477
|
+
2: { ResourceID: 2, Name: "Operational Mode", Mandatory: true, Type: ResourceType.String, Multiple: false, Description: "Operational mode of this radio device. Examples: FT, PT." }, /**
|
|
478
|
+
* Timestamp (Time)
|
|
479
|
+
*
|
|
480
|
+
* The timestamp of when the DECT NR+ connection profile was last reported.
|
|
481
|
+
*
|
|
482
|
+
* Time resources in LwM2M are represented as a signed integer representing the number of seconds since Jan 1, 1970 in the UTC time zone.
|
|
483
|
+
*/
|
|
484
|
+
99: { ResourceID: 99, Name: "Timestamp", Mandatory: true, Type: ResourceType.Time, Multiple: false, Description: "The timestamp of when the DECT NR+ connection profile was last reported." } } } };
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import type { LwM2MObject } from "../LwM2MObject.js";
|
|
2
|
+
import { LwM2MObjectID } from "../LwM2MObjectID.js";
|
|
3
|
+
/**
|
|
4
|
+
* DECT NR+ Connection Profile (14503)
|
|
5
|
+
*
|
|
6
|
+
* Connection details of a device connected to a DECT NR+ network.
|
|
7
|
+
*/
|
|
8
|
+
export type DECTNR_ConnectionProfile_14503 = LwM2MObject<{
|
|
9
|
+
ObjectID: LwM2MObjectID.DECTNR_ConnectionProfile_14503;
|
|
10
|
+
ObjectVersion: "1.0";
|
|
11
|
+
Resources: {
|
|
12
|
+
/**
|
|
13
|
+
* Long RD ID
|
|
14
|
+
*
|
|
15
|
+
* This identifier uniquely identifies this radio device in the DECT NR+ network. Examples: 1523, 862.
|
|
16
|
+
*
|
|
17
|
+
* Minimum: 1
|
|
18
|
+
* Maximum: 4294967293
|
|
19
|
+
*/
|
|
20
|
+
0: number;
|
|
21
|
+
/**
|
|
22
|
+
* Network ID
|
|
23
|
+
*
|
|
24
|
+
* This identifier uniquely identifies the DECT NR+ network that this radio device is in. Examples: 734, 16654.
|
|
25
|
+
*
|
|
26
|
+
* Minimum: 1
|
|
27
|
+
* Maximum: 4294967293
|
|
28
|
+
*/
|
|
29
|
+
1: number;
|
|
30
|
+
/**
|
|
31
|
+
* Operational Mode
|
|
32
|
+
*
|
|
33
|
+
* Operational mode of this radio device. Examples: FT, PT.
|
|
34
|
+
*/
|
|
35
|
+
2: string;
|
|
36
|
+
/**
|
|
37
|
+
* Timestamp
|
|
38
|
+
*
|
|
39
|
+
* The timestamp of when the DECT NR+ connection profile was last reported.
|
|
40
|
+
*/
|
|
41
|
+
99: number;
|
|
42
|
+
};
|
|
43
|
+
}>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { LwM2MObjectInstance } from "../LwM2MObjectInstance.js";
|
|
2
|
+
import { NumberResource, StringResource, TimeResource, validateInstance } from "../validation.js";
|
|
3
|
+
import type { DECTNR_ConnectionProfile_14503 } from "../objects.js";
|
|
4
|
+
import { LwM2MObjectID } from "../LwM2MObjectID.js";
|
|
5
|
+
/**
|
|
6
|
+
* Validate DECT NR+ Connection Profile (14503)
|
|
7
|
+
*
|
|
8
|
+
* Ensures the given object is an LwM2M object according to the schema 14503.xml.
|
|
9
|
+
*/
|
|
10
|
+
export const validate14503 = (o: unknown): {
|
|
11
|
+
error: Error;
|
|
12
|
+
} | {
|
|
13
|
+
object: LwM2MObjectInstance<DECTNR_ConnectionProfile_14503>;
|
|
14
|
+
} => validateInstance<DECTNR_ConnectionProfile_14503>(LwM2MObjectID.DECTNR_ConnectionProfile_14503, "1.0", { 0: NumberResource, 1: NumberResource, 2: StringResource, 99: TimeResource })(o);
|
package/lwm2m/objects.ts
CHANGED
|
@@ -25,4 +25,6 @@ export { validate14401 } from "./object/validate14401.js";
|
|
|
25
25
|
export type { ConnectionQuality_14501 } from "./object/14501.js";
|
|
26
26
|
export { validate14501 } from "./object/validate14501.js";
|
|
27
27
|
export type { NetworkNeighbor_14502 } from "./object/14502.js";
|
|
28
|
-
export { validate14502 } from "./object/validate14502.js";
|
|
28
|
+
export { validate14502 } from "./object/validate14502.js";
|
|
29
|
+
export type { DECTNR_ConnectionProfile_14503 } from "./object/14503.js";
|
|
30
|
+
export { validate14503 } from "./object/validate14503.js";
|
|
@@ -2,4 +2,4 @@ import { LwM2MObjectID } from "./LwM2MObjectID.js";
|
|
|
2
2
|
/**
|
|
3
3
|
* Contains the ID of the resource that defines the timestamp for each LwM2M object definition
|
|
4
4
|
*/
|
|
5
|
-
export const timestampResources: Readonly<Map<LwM2MObjectID, number>> = new Map<LwM2MObjectID, number>([[LwM2MObjectID.Geolocation_14201, 99], [LwM2MObjectID.BatteryAndPower_14202, 99], [LwM2MObjectID.ConnectionInformation_14203, 99], [LwM2MObjectID.DeviceInformation_14204, 99], [LwM2MObjectID.Environment_14205, 99], [LwM2MObjectID.SolarCharge_14210, 99], [LwM2MObjectID.ButtonPress_14220, 99], [LwM2MObjectID.SeaWaterLevel_14230, 99], [LwM2MObjectID.RGBLED_14240, 99], [LwM2MObjectID.Reboot_14250, 99], [LwM2MObjectID.ApplicationConfiguration_14301, 99], [LwM2MObjectID.NRFCloudServiceInfo_14401, 99], [LwM2MObjectID.ConnectionQuality_14501, 99], [LwM2MObjectID.NetworkNeighbor_14502, 99]]);
|
|
5
|
+
export const timestampResources: Readonly<Map<LwM2MObjectID, number>> = new Map<LwM2MObjectID, number>([[LwM2MObjectID.Geolocation_14201, 99], [LwM2MObjectID.BatteryAndPower_14202, 99], [LwM2MObjectID.ConnectionInformation_14203, 99], [LwM2MObjectID.DeviceInformation_14204, 99], [LwM2MObjectID.Environment_14205, 99], [LwM2MObjectID.SolarCharge_14210, 99], [LwM2MObjectID.ButtonPress_14220, 99], [LwM2MObjectID.SeaWaterLevel_14230, 99], [LwM2MObjectID.RGBLED_14240, 99], [LwM2MObjectID.Reboot_14250, 99], [LwM2MObjectID.ApplicationConfiguration_14301, 99], [LwM2MObjectID.NRFCloudServiceInfo_14401, 99], [LwM2MObjectID.ConnectionQuality_14501, 99], [LwM2MObjectID.NetworkNeighbor_14502, 99], [LwM2MObjectID.DECTNR_ConnectionProfile_14503, 99]]);
|
package/lwm2m/validators.ts
CHANGED
|
@@ -14,6 +14,7 @@ import { validate14301 } from "./object/validate14301.js";
|
|
|
14
14
|
import { validate14401 } from "./object/validate14401.js";
|
|
15
15
|
import { validate14501 } from "./object/validate14501.js";
|
|
16
16
|
import { validate14502 } from "./object/validate14502.js";
|
|
17
|
+
import { validate14503 } from "./object/validate14503.js";
|
|
17
18
|
/**
|
|
18
19
|
* Contains the validators for all registered LwM2M objects.
|
|
19
20
|
*/
|
|
@@ -35,4 +36,5 @@ validators.set(LwM2MObjectID.Reboot_14250, validate14250)
|
|
|
35
36
|
validators.set(LwM2MObjectID.ApplicationConfiguration_14301, validate14301)
|
|
36
37
|
validators.set(LwM2MObjectID.NRFCloudServiceInfo_14401, validate14401)
|
|
37
38
|
validators.set(LwM2MObjectID.ConnectionQuality_14501, validate14501)
|
|
38
|
-
validators.set(LwM2MObjectID.NetworkNeighbor_14502, validate14502)
|
|
39
|
+
validators.set(LwM2MObjectID.NetworkNeighbor_14502, validate14502)
|
|
40
|
+
validators.set(LwM2MObjectID.DECTNR_ConnectionProfile_14503, validate14503)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hello.nrfcloud.com/proto-map",
|
|
3
|
-
"version": "16.
|
|
3
|
+
"version": "16.5.0",
|
|
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": {
|
|
@@ -40,15 +40,14 @@
|
|
|
40
40
|
"@commitlint/config-conventional": "19.8.1",
|
|
41
41
|
"@swc/cli": "0.7.8",
|
|
42
42
|
"@swc/core": "1.13.3",
|
|
43
|
-
"@types/node": "22.17.
|
|
43
|
+
"@types/node": "22.17.2",
|
|
44
44
|
"@types/xml2js": "0.4.14",
|
|
45
|
-
"chalk": "5.
|
|
45
|
+
"chalk": "5.6.0",
|
|
46
46
|
"globstar": "1.0.0",
|
|
47
47
|
"husky": "9.1.7",
|
|
48
48
|
"lint-staged": "16.1.5",
|
|
49
49
|
"remark": "15.0.1",
|
|
50
50
|
"remark-frontmatter": "5.0.0",
|
|
51
|
-
"tsmatchers": "5.0.3",
|
|
52
51
|
"tsx": "4.20.4",
|
|
53
52
|
"typescript": "5.7.3",
|
|
54
53
|
"xml2js": "0.6.2",
|
|
@@ -99,6 +98,6 @@
|
|
|
99
98
|
],
|
|
100
99
|
"peerDependencies": {
|
|
101
100
|
"@aws-sdk/client-timestream-write": "^3.864.0",
|
|
102
|
-
"@sinclair/typebox": "^0.34.
|
|
101
|
+
"@sinclair/typebox": "^0.34.40"
|
|
103
102
|
}
|
|
104
103
|
}
|