Skip to content

Commit 50eab17

Browse files
committed
fix(ntn): add support for Sateliot
1 parent 0829046 commit 50eab17

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

ntn-udp-payload/parse.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,10 @@ export const parse = (
8080

8181
const objects: Array<LwM2MObjectInstance> = []
8282

83+
let brdV = 'keysight_demo'
84+
if (operator === 90198) brdV = 'skylo_demo'
85+
if (operator === 90197) brdV = 'sateliot'
86+
8387
const deviceInfo: DeviceInformation_14204 = {
8488
ObjectID: LwM2MObjectID.DeviceInformation_14204,
8589
ObjectVersion: '1.0',
@@ -88,7 +92,7 @@ export const parse = (
8892
// 1: SIM ICCID ?
8993
2: '0.0.0-development', // Modem firmware version
9094
3: '0.0.0-development', // Application firmware version
91-
4: operator === 90198 ? 'skylo_demo' : 'keysight_demo',
95+
4: brdV,
9296
99: tsInSeconds,
9397
},
9498
}

0 commit comments

Comments
 (0)