1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
|
-- ILP.asn
--
-- Taken from OMA Internal Location Protocol
-- http://member.openmobilealliance.org/ftp/Public_documents/LOC/Permanent_documents/OMA-TS-ILP-V2_0_4-20181213-A.zip
--
-- 13.1 Common Part
--
ILP DEFINITIONS AUTOMATIC TAGS ::=
BEGIN
IMPORTS
Version, SessionID2
FROM ILP-Components
PREQ
FROM ILP-PREQ
PRES
FROM ILP-PRES
PRPT
FROM ILP-PRPT
PLREQ
FROM ILP-PLREQ
PLRES
FROM ILP-PLRES
PINIT
FROM ILP-PINIT
PAUTH
FROM ILP-PAUTH
PALIVE
FROM ILP-PALIVE
PEND
FROM ILP-PEND
PMESS
FROM ILP-PMESS;
-- general ILP PDU layout;
ILP-PDU ::= SEQUENCE {
length INTEGER(0..65535),
version Version,
sessionID2 SessionID2,
message IlpMessage
}
IlpMessage ::= CHOICE {
msPREQ PREQ,
msPRES PRES,
msPRPT PRPT,
msPLREQ PLREQ,
msPLRES PLRES,
msPINIT PINIT,
msPAUTH PAUTH,
msPALIVE PALIVE,
msPEND PEND,
msPMESS PMESS,
...}
END
--
-- 13.2.1 PREQ
--
ILP-PREQ DEFINITIONS AUTOMATIC TAGS ::=
BEGIN
EXPORTS PREQ;
IMPORTS LocationId, Position, QoP, SPCSETKey, SPCTID, SPCSETKeylifetime, MultipleLocationIds, PosTechnology, SETCapabilities
FROM ILP-Components;
PREQ ::= SEQUENCE {
sLPMode SLPMode,
approvedPosMethods PosTechnology OPTIONAL,
locationId LocationId OPTIONAL,
multipleLocationIds MultipleLocationIds OPTIONAL,
position Position OPTIONAL,
triggerParams TriggerParams OPTIONAL,
sPCSETKey SPCSETKey OPTIONAL,
spctid SPCTID OPTIONAL,
sPCSETKeylifetime SPCSETKeylifetime OPTIONAL,
qoP QoP OPTIONAL,
sETCapabilities SETCapabilities OPTIONAL,
notificationMode NotificationMode OPTIONAL,
...}
SLPMode ::= ENUMERATED {proxy(0), nonProxy(1)}
TriggerParams ::= SEQUENCE {
triggerType TriggerType,
periodicTriggerParams PeriodicTriggerParams OPTIONAL,
...}
TriggerType ::= ENUMERATED {
periodic(0), areaEvent(1),
...}
PeriodicTriggerParams ::= SEQUENCE{
numberOfFixes INTEGER(1..8639999),
intervalBetweenFixes INTEGER(1..8639999),
startTime INTEGER(0..2678400) OPTIONAL,
...}
-- intervalBetweenFixes and startTime are in seconds.
-- numberOfFixes * intervalBetweenFixes shall not exceed 8639999
-- (100 days in seconds) for compatibility with OMA MLP and RLP
-- startTime is in relative time in units of seconds measured from "now"
-- a value of 0 signifies "now", a value of "startTime" signifies startTime
-- seconds from "now"
NotificationMode ::= ENUMERATED {normal(0), basedOnLocation(1), ...}
END
--
-- 13.2.2 PRES
--
ILP-PRES DEFINITIONS AUTOMATIC TAGS ::=
BEGIN
EXPORTS PRES;
IMPORTS Position, SPCStatusCode, PosTechnology, PosMethod, GNSSPosTechnology
FROM ILP-Components;
PRES ::= SEQUENCE {
preferredPosMethod PosMethod OPTIONAL,
gnssPosTechnology GNSSPosTechnology OPTIONAL,
supportedPosMethods PosTechnology OPTIONAL,
position Position OPTIONAL,
sPCstatusCode SPCStatusCode OPTIONAL,
...}
END
--
-- 13.2.3 PRPT
--
ILP-PRPT DEFINITIONS AUTOMATIC TAGS ::=
BEGIN
EXPORTS PRPT;
IMPORTS Position, StatusCode
FROM ILP-Components;
PRPT ::= SEQUENCE {
position Position,
fixNumber INTEGER(1.. 8639999) OPTIONAL,
statusCode StatusCode OPTIONAL,
...}
END
--
-- 13.2.4 PLREQ
--
ILP-PLREQ DEFINITIONS AUTOMATIC TAGS ::=
BEGIN
EXPORTS PLREQ;
IMPORTS LocationId, MultipleLocationIds
FROM ILP-Components;
PLREQ ::= SEQUENCE {
locationId LocationId,
multipleLocationIds MultipleLocationIds OPTIONAL,
...}
END
--
-- 13.2.5 PLRES
--
ILP-PLRES DEFINITIONS AUTOMATIC TAGS ::=
BEGIN
EXPORTS PLRES;
IMPORTS Position, StatusCode, maxPosSize
FROM ILP-Components;
PLRES ::= SEQUENCE {
positionResults PositionResults,
...}
PositionResults ::= SEQUENCE SIZE (1..maxPosSize) OF PositionResult
PositionResult ::= CHOICE {
position Position,
statusCode StatusCode,
...}
END
--
-- 13.2.6 PINIT
--
ILP-PINIT DEFINITIONS AUTOMATIC TAGS ::=
BEGIN
EXPORTS PINIT;
IMPORTS
LocationId, Position, PosMethod, MultipleLocationIds, PosPayLoad, SETCapabilities, UTRAN-GPSReferenceTimeResult, UTRAN-GANSSReferenceTimeResult, GNSSPosTechnology, GANSSSignals
FROM ILP-Components;
PINIT ::= SEQUENCE {
sETCapabilities SETCapabilities,
locationId LocationId,
posMethod PosMethod OPTIONAL,
requestedAssistData RequestedAssistData OPTIONAL,
position Position OPTIONAL,
posPayLoad PosPayLoad OPTIONAL,
multipleLocationIds MultipleLocationIds OPTIONAL,
utran-GPSReferenceTimeResult UTRAN-GPSReferenceTimeResult OPTIONAL,
utran-GANSSReferenceTimeResult UTRAN-GANSSReferenceTimeResult OPTIONAL,
gnssPosTechnology GNSSPosTechnology OPTIONAL,
...}
RequestedAssistData ::= SEQUENCE {
almanacRequested BOOLEAN,
utcModelRequested BOOLEAN,
ionosphericModelRequested BOOLEAN,
dgpsCorrectionsRequested BOOLEAN,
referenceLocationRequested BOOLEAN, -- Note: Used also for GANSS
referenceTimeRequested BOOLEAN,
acquisitionAssistanceRequested BOOLEAN,
realTimeIntegrityRequested BOOLEAN,
navigationModelRequested BOOLEAN,
navigationModelData NavigationModel OPTIONAL,
ganssRequestedCommonAssistanceDataList GanssRequestedCommonAssistanceDataList OPTIONAL,
ganssRequestedGenericAssistanceDataList GanssRequestedGenericAssistanceDataList OPTIONAL,
extendedEphemeris ExtendedEphemeris OPTIONAL,
extendedEphemerisCheck ExtendedEphCheck OPTIONAL,
...}
ExtendedEphemeris ::= SEQUENCE {
validity INTEGER (1..256), -- Requested validity in 4 hour steps
...}
ExtendedEphCheck ::= SEQUENCE {
beginTime GPSTime, -- Begin time of ephemeris extension held by SET
endTime GPSTime, -- End time of ephemeris extension held by SET
...}
GPSTime ::= SEQUENCE {
gPSWeek INTEGER (0..1023),
gPSTOWhour INTEGER (0..167),
...}
GanssRequestedCommonAssistanceDataList ::= SEQUENCE {
ganssReferenceTime BOOLEAN,
ganssIonosphericModel BOOLEAN,
ganssAdditionalIonosphericModelForDataID00 BOOLEAN,
ganssAdditionalIonosphericModelForDataID11 BOOLEAN,
ganssEarthOrientationParameters BOOLEAN,
...,
ganssAdditionalIonosphericModelForDataID01 BOOLEAN OPTIONAL}
GanssRequestedGenericAssistanceDataList ::= SEQUENCE(SIZE(1..maxGANSS)) OF GanssReqGenericData
GanssReqGenericData ::= SEQUENCE {
ganssId INTEGER(0..15), -- coding according to parameter definition in Section 12.14
ganssSBASid BIT STRING(SIZE(3)) OPTIONAL, --coding according to parameter definition in section 12.14
ganssRealTimeIntegrity BOOLEAN OPTIONAL,
ganssDifferentialCorrection DGANSS-Sig-Id-Req OPTIONAL,
ganssAlmanac BOOLEAN,
ganssNavigationModelData GanssNavigationModelData OPTIONAL,
ganssTimeModels BIT STRING(SIZE(16)) OPTIONAL,
ganssReferenceMeasurementInfo BOOLEAN,
ganssDataBits GanssDataBits OPTIONAL,
ganssUTCModel BOOLEAN,
ganssAdditionalDataChoices GanssAdditionalDataChoices OPTIONAL,
ganssAuxiliaryInformation BOOLEAN,
ganssExtendedEphemeris ExtendedEphemeris OPTIONAL,
ganssExtendedEphemerisCheck GanssExtendedEphCheck OPTIONAL,
...,
bds-DifferentialCorrection BDS-Sig-Id-Req OPTIONAL,
bds-GridModelReq BOOLEAN OPTIONAL}
DGANSS-Sig-Id-Req ::= BIT STRING (SIZE(8)) -- coding according to parameter definition in Section 12.15
BDS-Sig-Id-Req ::= BIT STRING (SIZE(8)) -- coding according to parameter definition in section 12.15
GanssNavigationModelData ::= SEQUENCE {
ganssWeek INTEGER(0..4095),
ganssToe INTEGER(0..167),
t-toeLimit INTEGER(0..10),
satellitesListRelatedDataList SatellitesListRelatedDataList OPTIONAL,
...}
SatellitesListRelatedDataList ::= SEQUENCE(SIZE(0..maxGANSSSat)) OF SatellitesListRelatedData
SatellitesListRelatedData ::= SEQUENCE {
satId INTEGER(0..63),
iod INTEGER(0..1023),
...}
maxGANSS INTEGER ::= 16
maxGANSSSat INTEGER ::= 32
GanssDataBits ::= SEQUENCE {
ganssTODmin INTEGER (0..59),
reqDataBitAssistanceList ReqDataBitAssistanceList,
...}
ReqDataBitAssistanceList ::= SEQUENCE {
gnssSignals GANSSSignals,
ganssDataBitInterval INTEGER (0..15),
ganssDataBitSatList SEQUENCE (SIZE(1..maxGANSSSat)) OF INTEGER (0..63) OPTIONAL,
...}
GanssAdditionalDataChoices ::= SEQUENCE {
orbitModelID INTEGER(0..7) OPTIONAL,
clockModelID INTEGER(0..7) OPTIONAL,
utcModelID INTEGER(0..7) OPTIONAL,
almanacModelID INTEGER(0..7) OPTIONAL,
...}
GanssExtendedEphCheck ::= SEQUENCE {
beginTime GANSSextEphTime, -- Begin time of ephemeris extension held by SET
endTime GANSSextEphTime, -- End time of ephemeris extension held by SET
...}
GANSSextEphTime ::= SEQUENCE {
gANSSday INTEGER (0..8191),
gANSSTODhour INTEGER (0..23),
...}
NavigationModel ::= SEQUENCE {
gpsWeek INTEGER(0..1023),
gpsToe INTEGER(0..167),
nsat INTEGER(0..31),
toeLimit INTEGER(0..10),
satInfo SatelliteInfo OPTIONAL,
...}
SatelliteInfo ::= SEQUENCE (SIZE (1..31)) OF SatelliteInfoElement
SatelliteInfoElement ::= SEQUENCE {
satId INTEGER(0..63),
iode INTEGER(0..255),
...}
END
--
-- 13.2.7 PAUTH
--
ILP-PAUTH DEFINITIONS AUTOMATIC TAGS ::=
BEGIN
EXPORTS PAUTH;
IMPORTS SPCSETKey, SPCTID, SPCSETKeylifetime
FROM ILP-Components;
PAUTH ::= SEQUENCE {
sPCSETKey SPCSETKey,
spctid SPCTID,
sPCSETKeylifetime SPCSETKeylifetime OPTIONAL,
...}
END
--
-- 13.2.8 PALIVE
--
ILP-PALIVE DEFINITIONS AUTOMATIC TAGS ::=
BEGIN
EXPORTS PALIVE;
IMPORTS SPCStatusCode
FROM ILP-Components;
PALIVE ::= SEQUENCE {
sPCStatusCode SPCStatusCode OPTIONAL,
...}
END
--
-- 13.2.9 PEND
--
ILP-PEND DEFINITIONS AUTOMATIC TAGS ::=
BEGIN
EXPORTS PEND;
IMPORTS Position, StatusCode
FROM ILP-Components;
PEND ::= SEQUENCE {
position Position OPTIONAL,
statusCode StatusCode OPTIONAL,
...}
END
--
-- 13.2.10 PMESS
--
ILP-PMESS DEFINITIONS AUTOMATIC TAGS ::=
BEGIN
EXPORTS PMESS;
IMPORTS Velocity, PosPayLoad, UTRAN-GPSReferenceTimeResult, UTRAN-GANSSReferenceTimeResult, UTRAN-GPSReferenceTimeAssistance, UTRAN-GANSSReferenceTimeAssistance
FROM ILP-Components;
PMESS ::= SEQUENCE {
posPayLoad PosPayLoad,
velocity Velocity OPTIONAL,
utran-GPSReferenceTimeAssistance UTRAN-GPSReferenceTimeAssistance OPTIONAL,
utran-GPSReferenceTimeResult UTRAN-GPSReferenceTimeResult OPTIONAL,
utran-GANSSReferenceTimeAssistance UTRAN-GANSSReferenceTimeAssistance OPTIONAL,
utran-GANSSReferenceTimeResult UTRAN-GANSSReferenceTimeResult OPTIONAL,
...}
END
|