1 // Copyright (c) 2001-2009 Objective Systems, Inc. (http://www.obj-sys.com) |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 |
|
9 /** |
|
10 * This file was generated by the Objective Systems ASN1C Compiler |
|
11 * (http://www.obj-sys.com). |
|
12 */ |
|
13 #ifndef SUPL_POS_INIT_H |
|
14 #define SUPL_POS_INIT_H |
|
15 |
|
16 #include <stdio.h> |
|
17 #include <stdlib.h> |
|
18 #include "rtkey.h" |
|
19 #include "rtpersrc/asn1PerCppTypes.h" |
|
20 #include "ASN1CSeqOfList.h" |
|
21 #include "SUPL-POS.h" |
|
22 #include "SUPL-START.h" |
|
23 #include "ULP-Components.h" |
|
24 |
|
25 /** |
|
26 * Header file for ASN.1 module SUPL-POS-INIT |
|
27 */ |
|
28 /**************************************************************/ |
|
29 /* */ |
|
30 /* SatelliteInfoElement */ |
|
31 /* */ |
|
32 /**************************************************************/ |
|
33 |
|
34 #define TV_SatelliteInfoElement (TM_UNIV|TM_CONS|16) |
|
35 |
|
36 struct ASN1T_SatelliteInfoElement { |
|
37 OSUINT8 satId; |
|
38 OSUINT8 iODE; |
|
39 IMPORT_C ASN1T_SatelliteInfoElement (); |
|
40 } ; |
|
41 |
|
42 IMPORT_C int asn1PE_SatelliteInfoElement (OSCTXT* pctxt, ASN1T_SatelliteInfoElement* pvalue); |
|
43 |
|
44 IMPORT_C int asn1PD_SatelliteInfoElement (OSCTXT* pctxt, ASN1T_SatelliteInfoElement* pvalue); |
|
45 |
|
46 IMPORT_C void asn1Print_SatelliteInfoElement |
|
47 (const char* name, ASN1T_SatelliteInfoElement* pvalue); |
|
48 |
|
49 /**************************************************************/ |
|
50 /* */ |
|
51 /* SatelliteInfo */ |
|
52 /* */ |
|
53 /**************************************************************/ |
|
54 |
|
55 #define TV_SatelliteInfo (TM_UNIV|TM_CONS|16) |
|
56 |
|
57 /* List of ASN1T_SatelliteInfoElement */ |
|
58 typedef ASN1TSeqOfList ASN1T_SatelliteInfo; |
|
59 |
|
60 class ASN1C_SatelliteInfo : |
|
61 public ASN1CSeqOfList |
|
62 { |
|
63 protected: |
|
64 ASN1T_SatelliteInfo& msgData; |
|
65 public: |
|
66 IMPORT_C ASN1C_SatelliteInfo (ASN1T_SatelliteInfo& data); |
|
67 IMPORT_C ASN1C_SatelliteInfo (OSRTMessageBufferIF& msgBuf, ASN1T_SatelliteInfo& data); |
|
68 ASN1C_SatelliteInfo (ASN1CType& ccobj, ASN1T_SatelliteInfo& data); |
|
69 IMPORT_C ASN1C_SatelliteInfo (OSRTContext &context, ASN1T_SatelliteInfo& data); |
|
70 void Append (ASN1T_SatelliteInfoElement* elem); |
|
71 ASN1T_SatelliteInfoElement* NewElement (); |
|
72 } ; |
|
73 |
|
74 IMPORT_C int asn1PE_SatelliteInfo (OSCTXT* pctxt, ASN1T_SatelliteInfo* pvalue); |
|
75 |
|
76 IMPORT_C int asn1PD_SatelliteInfo (OSCTXT* pctxt, ASN1T_SatelliteInfo* pvalue); |
|
77 |
|
78 IMPORT_C void asn1Print_SatelliteInfo |
|
79 (const char* name, ASN1T_SatelliteInfo* pvalue); |
|
80 |
|
81 IMPORT_C void asn1Free_SatelliteInfo (OSCTXT *pctxt, ASN1T_SatelliteInfo* pvalue); |
|
82 |
|
83 /**************************************************************/ |
|
84 /* */ |
|
85 /* NavigationModel */ |
|
86 /* */ |
|
87 /**************************************************************/ |
|
88 |
|
89 #define TV_NavigationModel (TM_UNIV|TM_CONS|16) |
|
90 |
|
91 struct ASN1T_NavigationModel { |
|
92 struct { |
|
93 unsigned satInfoPresent : 1; |
|
94 } m; |
|
95 OSUINT16 gpsWeek; |
|
96 OSUINT8 gpsToe; |
|
97 OSUINT8 nSAT; |
|
98 OSUINT8 toeLimit; |
|
99 ASN1T_SatelliteInfo satInfo; |
|
100 IMPORT_C ASN1T_NavigationModel (); |
|
101 } ; |
|
102 |
|
103 IMPORT_C int asn1PE_NavigationModel (OSCTXT* pctxt, ASN1T_NavigationModel* pvalue); |
|
104 |
|
105 IMPORT_C int asn1PD_NavigationModel (OSCTXT* pctxt, ASN1T_NavigationModel* pvalue); |
|
106 |
|
107 IMPORT_C void asn1Print_NavigationModel |
|
108 (const char* name, ASN1T_NavigationModel* pvalue); |
|
109 |
|
110 IMPORT_C void asn1Free_NavigationModel (OSCTXT *pctxt, ASN1T_NavigationModel* pvalue); |
|
111 |
|
112 /**************************************************************/ |
|
113 /* */ |
|
114 /* RequestedAssistData */ |
|
115 /* */ |
|
116 /**************************************************************/ |
|
117 |
|
118 #define TV_RequestedAssistData (TM_UNIV|TM_CONS|16) |
|
119 |
|
120 struct ASN1T_RequestedAssistData { |
|
121 struct { |
|
122 unsigned navigationModelDataPresent : 1; |
|
123 } m; |
|
124 OSBOOL almanacRequested; |
|
125 OSBOOL utcModelRequested; |
|
126 OSBOOL ionosphericModelRequested; |
|
127 OSBOOL dgpsCorrectionsRequested; |
|
128 OSBOOL referenceLocationRequested; |
|
129 OSBOOL referenceTimeRequested; |
|
130 OSBOOL acquisitionAssistanceRequested; |
|
131 OSBOOL realTimeIntegrityRequested; |
|
132 OSBOOL navigationModelRequested; |
|
133 ASN1T_NavigationModel navigationModelData; |
|
134 IMPORT_C ASN1T_RequestedAssistData (); |
|
135 } ; |
|
136 |
|
137 IMPORT_C int asn1PE_RequestedAssistData (OSCTXT* pctxt, ASN1T_RequestedAssistData* pvalue); |
|
138 |
|
139 IMPORT_C int asn1PD_RequestedAssistData (OSCTXT* pctxt, ASN1T_RequestedAssistData* pvalue); |
|
140 |
|
141 IMPORT_C void asn1Print_RequestedAssistData |
|
142 (const char* name, ASN1T_RequestedAssistData* pvalue); |
|
143 |
|
144 IMPORT_C void asn1Free_RequestedAssistData (OSCTXT *pctxt, ASN1T_RequestedAssistData* pvalue); |
|
145 |
|
146 /**************************************************************/ |
|
147 /* */ |
|
148 /* SUPLPOSINIT */ |
|
149 /* */ |
|
150 /**************************************************************/ |
|
151 |
|
152 #define TV_SUPLPOSINIT (TM_UNIV|TM_CONS|16) |
|
153 |
|
154 struct ASN1T_SUPLPOSINIT { |
|
155 struct { |
|
156 unsigned requestedAssistDataPresent : 1; |
|
157 unsigned positionPresent : 1; |
|
158 unsigned sUPLPOSPresent : 1; |
|
159 unsigned verPresent : 1; |
|
160 } m; |
|
161 ASN1T_SETCapabilities sETCapabilities; |
|
162 ASN1T_RequestedAssistData requestedAssistData; |
|
163 ASN1T_LocationId locationId; |
|
164 ASN1T_Position position; |
|
165 ASN1T_SUPLPOS sUPLPOS; |
|
166 ASN1T_Ver ver; |
|
167 IMPORT_C ASN1T_SUPLPOSINIT (); |
|
168 } ; |
|
169 |
|
170 IMPORT_C int asn1PE_SUPLPOSINIT (OSCTXT* pctxt, ASN1T_SUPLPOSINIT* pvalue); |
|
171 |
|
172 IMPORT_C int asn1PD_SUPLPOSINIT (OSCTXT* pctxt, ASN1T_SUPLPOSINIT* pvalue); |
|
173 |
|
174 IMPORT_C void asn1Print_SUPLPOSINIT |
|
175 (const char* name, ASN1T_SUPLPOSINIT* pvalue); |
|
176 |
|
177 IMPORT_C void asn1Free_SUPLPOSINIT (OSCTXT *pctxt, ASN1T_SUPLPOSINIT* pvalue); |
|
178 |
|
179 #endif |
|