williamr@2
|
1 |
/*
|
williamr@2
|
2 |
* Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
|
williamr@2
|
3 |
* All rights reserved.
|
williamr@2
|
4 |
* This component and the accompanying materials are made available
|
williamr@4
|
5 |
* under the terms of "Eclipse Public License v1.0"
|
williamr@2
|
6 |
* which accompanies this distribution, and is available
|
williamr@4
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
williamr@2
|
8 |
*
|
williamr@2
|
9 |
* Initial Contributors:
|
williamr@2
|
10 |
* Nokia Corporation - initial contribution.
|
williamr@2
|
11 |
*
|
williamr@2
|
12 |
* Contributors:
|
williamr@2
|
13 |
*
|
williamr@2
|
14 |
* Description:
|
williamr@2
|
15 |
* Name : LbsFieldIds.h
|
williamr@2
|
16 |
* Part of : Location Framework/Location FW
|
williamr@2
|
17 |
* Interface : Location Acquisition API
|
williamr@2
|
18 |
* Position data Fields
|
williamr@2
|
19 |
* Version : %version: 4 %
|
williamr@2
|
20 |
*
|
williamr@2
|
21 |
*/
|
williamr@2
|
22 |
|
williamr@2
|
23 |
|
williamr@2
|
24 |
|
williamr@2
|
25 |
#ifndef __LBSFIELDIDS_H__
|
williamr@2
|
26 |
#define __LBSFIELDIDS_H__
|
williamr@2
|
27 |
|
williamr@2
|
28 |
#include <e32std.h>
|
williamr@2
|
29 |
|
williamr@2
|
30 |
/* This file contains the enumerations for the different positioning
|
williamr@2
|
31 |
* related fields that a positioning technology can return.
|
williamr@2
|
32 |
*/
|
williamr@2
|
33 |
|
williamr@2
|
34 |
/**
|
williamr@2
|
35 |
* Standard position field identifiers.
|
williamr@2
|
36 |
* It defines the enumerated values that indicates the different types of
|
williamr@2
|
37 |
* positioning related information that a positioning module can return.
|
williamr@2
|
38 |
* Each of these fields are categorised into different capabilities.
|
williamr@2
|
39 |
* Even though the client can request for any of these fields,
|
williamr@2
|
40 |
* the positioning module may or may not return this information based
|
williamr@2
|
41 |
* on its capability.
|
williamr@2
|
42 |
* The data type for each field is also specified here. This data type
|
williamr@2
|
43 |
* must be used when retrieving the value for this field using
|
williamr@2
|
44 |
* HPositionGenericInfo::GetValue()
|
williamr@2
|
45 |
* @publishedAll
|
williamr@2
|
46 |
* @released
|
williamr@2
|
47 |
*/
|
williamr@2
|
48 |
enum _TPositionFieldId
|
williamr@2
|
49 |
{
|
williamr@2
|
50 |
/**
|
williamr@2
|
51 |
* Reserved field ID. Used to terminate an array of requested fields.
|
williamr@2
|
52 |
*/
|
williamr@2
|
53 |
EPositionFieldNone,
|
williamr@2
|
54 |
/**
|
williamr@2
|
55 |
* A free field that can be used for a comment.
|
williamr@2
|
56 |
* This field can be returned by any type of positioning technology.
|
williamr@2
|
57 |
* The value of this field uses data type TDes16.
|
williamr@2
|
58 |
*/
|
williamr@2
|
59 |
EPositionFieldComment,
|
williamr@2
|
60 |
|
williamr@2
|
61 |
/**
|
williamr@2
|
62 |
* Fields related to Speed capability are part of this section.
|
williamr@2
|
63 |
*/
|
williamr@2
|
64 |
EPositionFieldSpeedCapabilitiesBegin = 100,
|
williamr@2
|
65 |
/**
|
williamr@2
|
66 |
* Horizontal speed at which the terminal is travelling.
|
williamr@2
|
67 |
* The value of this field is specified in metres per second and
|
williamr@2
|
68 |
* it uses data type TReal32.
|
williamr@2
|
69 |
*/
|
williamr@2
|
70 |
EPositionFieldHorizontalSpeed,
|
williamr@2
|
71 |
/**
|
williamr@2
|
72 |
* Accuracy of the horizontal speed defined by the field
|
williamr@2
|
73 |
* #EPositionFieldHorizontalSpeed.
|
williamr@2
|
74 |
* The value of this field is specified in metres per second and
|
williamr@2
|
75 |
* it uses data type TReal32.
|
williamr@2
|
76 |
*/
|
williamr@2
|
77 |
EPositionFieldHorizontalSpeedError,
|
williamr@2
|
78 |
/**
|
williamr@2
|
79 |
* Vertical speed at which the terminal is travelling.
|
williamr@2
|
80 |
* The value of this field is specified in metres per second and
|
williamr@2
|
81 |
* it uses data type TReal32.
|
williamr@2
|
82 |
*/
|
williamr@2
|
83 |
EPositionFieldVerticalSpeed,
|
williamr@2
|
84 |
/**
|
williamr@2
|
85 |
* Accuracy of the vertical speed defined by the field
|
williamr@2
|
86 |
* #EPositionFieldVerticalSpeed.
|
williamr@2
|
87 |
* The value of this field is specified in metres per second and
|
williamr@2
|
88 |
* it uses data type TReal32.
|
williamr@2
|
89 |
*/
|
williamr@2
|
90 |
EPositionFieldVerticalSpeedError,
|
williamr@2
|
91 |
|
williamr@2
|
92 |
/**
|
williamr@2
|
93 |
* Fields related to Direction capability are part of this section.
|
williamr@2
|
94 |
*/
|
williamr@2
|
95 |
EPositionFieldDirectionCapabilitiesBegin = 200,
|
williamr@2
|
96 |
/**
|
williamr@2
|
97 |
* Current direction measured with respect to the true north.
|
williamr@2
|
98 |
* The value of this field is specified in degrees and it
|
williamr@2
|
99 |
* uses data type TReal32.
|
williamr@2
|
100 |
*/
|
williamr@2
|
101 |
EPositionFieldTrueCourse,
|
williamr@2
|
102 |
/**
|
williamr@2
|
103 |
* Accuracy of the current direction defined by the field
|
williamr@2
|
104 |
* #EPositionFieldTrueCourse. This field is measured with respect
|
williamr@2
|
105 |
* to true north.
|
williamr@2
|
106 |
* The value of this field is specified in degrees and it
|
williamr@2
|
107 |
* uses data type TReal32.
|
williamr@2
|
108 |
*/
|
williamr@2
|
109 |
EPositionFieldTrueCourseError,
|
williamr@2
|
110 |
/**
|
williamr@2
|
111 |
* Current direction measured with respect to the magnetic north.
|
williamr@2
|
112 |
* The value of this field is specified in degrees and it
|
williamr@2
|
113 |
* uses data type TReal32.
|
williamr@2
|
114 |
*/
|
williamr@2
|
115 |
EPositionFieldMagneticCourse,
|
williamr@2
|
116 |
/**
|
williamr@2
|
117 |
* Accuracy of the current direction defined by the field
|
williamr@2
|
118 |
* #EPositionFieldMagneticCourse. This field is measured with respect
|
williamr@2
|
119 |
* to magnetic north.
|
williamr@2
|
120 |
* The value of this field is specified in degrees and it
|
williamr@2
|
121 |
* uses data type TReal32.
|
williamr@2
|
122 |
*/
|
williamr@2
|
123 |
EPositionFieldMagneticCourseError,
|
williamr@2
|
124 |
|
williamr@2
|
125 |
/**
|
williamr@2
|
126 |
* Fields related to Compass capability are part of this section.
|
williamr@2
|
127 |
*/
|
williamr@2
|
128 |
EPositionFieldCompassCapabilitiesBegin = 300,
|
williamr@2
|
129 |
/**
|
williamr@2
|
130 |
* Current instantaneous direction of traveling measured with respect
|
williamr@2
|
131 |
* to the true north.
|
williamr@2
|
132 |
* The value of this field is specified in degrees and it
|
williamr@2
|
133 |
* uses data type TReal32.
|
williamr@2
|
134 |
*/
|
williamr@2
|
135 |
EPositionFieldHeading,
|
williamr@2
|
136 |
/**
|
williamr@2
|
137 |
* Accuracy of current instantaneous direction of traveling defined
|
williamr@2
|
138 |
* by the field #EPositionFieldHeading. This field is measured with
|
williamr@2
|
139 |
* respect to the true north.
|
williamr@2
|
140 |
* The value of this field is specified in degrees and it
|
williamr@2
|
141 |
* uses data type TReal32.
|
williamr@2
|
142 |
*/
|
williamr@2
|
143 |
EPositionFieldHeadingError,
|
williamr@2
|
144 |
/**
|
williamr@2
|
145 |
* Current instantaneous direction of traveling measured with respect
|
williamr@2
|
146 |
* to the magnetic north.
|
williamr@2
|
147 |
* The value of this field is specified in degrees and it
|
williamr@2
|
148 |
* uses data type TReal32.
|
williamr@2
|
149 |
*/
|
williamr@2
|
150 |
EPositionFieldMagneticHeading,
|
williamr@2
|
151 |
/**
|
williamr@2
|
152 |
* Accuracy of current instantaneous direction of traveling defined
|
williamr@2
|
153 |
* by the field #EPositionFieldMagneticHeading. This field is measured
|
williamr@2
|
154 |
* with respect to the magnetic north.
|
williamr@2
|
155 |
* The value of this field is specified in degrees and it
|
williamr@2
|
156 |
* uses data type TReal32.
|
williamr@2
|
157 |
*/
|
williamr@2
|
158 |
EPositionFieldMagneticHeadingError,
|
williamr@2
|
159 |
|
williamr@2
|
160 |
/**
|
williamr@2
|
161 |
* Fields related to Address capability are part of this section.
|
williamr@2
|
162 |
*/
|
williamr@2
|
163 |
EPositionFieldAddressCapabilitiesBegin = 400,
|
williamr@2
|
164 |
/**
|
williamr@2
|
165 |
* Name of the country.
|
williamr@2
|
166 |
* The value of this field uses data type TDes16.
|
williamr@2
|
167 |
*/
|
williamr@2
|
168 |
EPositionFieldCountry,
|
williamr@2
|
169 |
/**
|
williamr@2
|
170 |
* Country as specified by the two letter ISO 3166-1 code.
|
williamr@2
|
171 |
* The value of this field uses data type TDes16.
|
williamr@2
|
172 |
*/
|
williamr@2
|
173 |
EPositionFieldCountryCode,
|
williamr@2
|
174 |
/**
|
williamr@2
|
175 |
* Name of the state within the country specfied by the field
|
williamr@2
|
176 |
* #EPositionFieldCountry.
|
williamr@2
|
177 |
* The value of this field uses data type TDes16.
|
williamr@2
|
178 |
*/
|
williamr@2
|
179 |
EPositionFieldState,
|
williamr@2
|
180 |
/**
|
williamr@2
|
181 |
* Name of the city within the state specfied by the field
|
williamr@2
|
182 |
* #EPositionFieldState.
|
williamr@2
|
183 |
* The value of this field uses data type TDes16.
|
williamr@2
|
184 |
*/
|
williamr@2
|
185 |
EPositionFieldCity,
|
williamr@2
|
186 |
/**
|
williamr@2
|
187 |
* Name of the municipal district within the city specified by the field
|
williamr@2
|
188 |
* #EPositionFieldCity.
|
williamr@2
|
189 |
* The value of this field uses data type TDes16.
|
williamr@2
|
190 |
*/
|
williamr@2
|
191 |
EPositionFieldDistrict,
|
williamr@2
|
192 |
/**
|
williamr@2
|
193 |
* Street name and building number.
|
williamr@2
|
194 |
* The value of this field uses data type TDes16.
|
williamr@2
|
195 |
*/
|
williamr@2
|
196 |
EPositionFieldStreet,
|
williamr@2
|
197 |
/**
|
williamr@2
|
198 |
* Additional details about the location within a building. For example,
|
williamr@2
|
199 |
* flat number.
|
williamr@2
|
200 |
* The value of this field uses data type TDes16.
|
williamr@2
|
201 |
*/
|
williamr@2
|
202 |
EPositionFieldStreetExtension,
|
williamr@2
|
203 |
/**
|
williamr@2
|
204 |
* Name of the company, organization or building at the address.
|
williamr@2
|
205 |
* The value of this field uses data type TDes16.
|
williamr@2
|
206 |
*/
|
williamr@2
|
207 |
EPositionFieldLocationName,
|
williamr@2
|
208 |
/**
|
williamr@2
|
209 |
* Post code or Zip code of the address.
|
williamr@2
|
210 |
* The value of this field uses data type TDes16.
|
williamr@2
|
211 |
*/
|
williamr@2
|
212 |
EPositionFieldPostalCode,
|
williamr@2
|
213 |
/**
|
williamr@2
|
214 |
* Name of locality. Locality denotes a small geographical area.
|
williamr@2
|
215 |
* Locality is usually not a part of the official address.
|
williamr@2
|
216 |
* The value of this field uses data type TDes16.
|
williamr@2
|
217 |
*/
|
williamr@2
|
218 |
EPositionFieldLocality,
|
williamr@2
|
219 |
/**
|
williamr@2
|
220 |
* Information about the cross within the street field,
|
williamr@2
|
221 |
* #EPositionFieldStreet.
|
williamr@2
|
222 |
* The value of this field uses data type TDes16.
|
williamr@2
|
223 |
*/
|
williamr@2
|
224 |
EPositionFieldCrossing1,
|
williamr@2
|
225 |
/**
|
williamr@2
|
226 |
* Extension for the cross field defined by #EPositionFieldCrossing1.
|
williamr@2
|
227 |
* The value of this field uses data type TDes16.
|
williamr@2
|
228 |
*/
|
williamr@2
|
229 |
EPositionFieldCrossing2,
|
williamr@2
|
230 |
/**
|
williamr@2
|
231 |
* Name of the county, region or province.
|
williamr@2
|
232 |
* The value of this field uses data type TDes16.
|
williamr@2
|
233 |
*/
|
williamr@2
|
234 |
EPositionFieldCounty,
|
williamr@2
|
235 |
|
williamr@2
|
236 |
/**
|
williamr@2
|
237 |
* Fields related to Building capability are part of this section.
|
williamr@2
|
238 |
*/
|
williamr@2
|
239 |
EPositionFieldBuildingCapabilitiesBegin = 500,
|
williamr@2
|
240 |
/**
|
williamr@2
|
241 |
* Name of the building.
|
williamr@2
|
242 |
* The value of this field uses data type TDes16.
|
williamr@2
|
243 |
*/
|
williamr@2
|
244 |
EPositionFieldBuildingName,
|
williamr@2
|
245 |
/**
|
williamr@2
|
246 |
* Floor or level within the building.
|
williamr@2
|
247 |
* The value of this field uses data type TDes16.
|
williamr@2
|
248 |
*/
|
williamr@2
|
249 |
EPositionFieldBuildingFloor,
|
williamr@2
|
250 |
/**
|
williamr@2
|
251 |
* Room name or number within the building.
|
williamr@2
|
252 |
* The value of this field uses data type TDes16.
|
williamr@2
|
253 |
*/
|
williamr@2
|
254 |
EPositionFieldBuildingRoom,
|
williamr@2
|
255 |
/**
|
williamr@2
|
256 |
* Section of a building.
|
williamr@2
|
257 |
* The value of this field uses data type TDes16.
|
williamr@2
|
258 |
*/
|
williamr@2
|
259 |
EPositionFieldBuildingZone,
|
williamr@2
|
260 |
/**
|
williamr@2
|
261 |
* Telephone number associated with the building.
|
williamr@2
|
262 |
* The value of this field uses data type TDes16.
|
williamr@2
|
263 |
*/
|
williamr@2
|
264 |
EPositionFieldBuildingTelephone,
|
williamr@2
|
265 |
|
williamr@2
|
266 |
/**
|
williamr@2
|
267 |
* Fields related to NMEA capability are part of this section.
|
williamr@2
|
268 |
*/
|
williamr@2
|
269 |
EPositionFieldNMEACapabilitiesBegin = 600,
|
williamr@2
|
270 |
/**
|
williamr@2
|
271 |
* Raw NMEA data. If the client requests this field then on completion,
|
williamr@2
|
272 |
* it contains the number of NMEA sentences provided by the positioning
|
williamr@2
|
273 |
* module.
|
williamr@2
|
274 |
* The value of this field uses data type TUint8.
|
williamr@2
|
275 |
*/
|
williamr@2
|
276 |
EPositionFieldNMEASentences,
|
williamr@2
|
277 |
/**
|
williamr@2
|
278 |
* The first NMEA sentence. The rest of the sentences follow this field
|
williamr@2
|
279 |
* The value of this field uses data type TDes8.
|
williamr@2
|
280 |
*/
|
williamr@2
|
281 |
EPositionFieldNMEASentencesStart,
|
williamr@2
|
282 |
|
williamr@2
|
283 |
/**
|
williamr@2
|
284 |
* Fields related to Satellite capability are part of this section.
|
williamr@2
|
285 |
*/
|
williamr@2
|
286 |
EPositionFieldSatelliteCapabilitiesBegin = 700,
|
williamr@2
|
287 |
/**
|
williamr@2
|
288 |
* The number of satellites currently in view.
|
williamr@2
|
289 |
* The value of this field uses data type TInt8.
|
williamr@2
|
290 |
*/
|
williamr@2
|
291 |
EPositionFieldSatelliteNumInView,
|
williamr@2
|
292 |
/**
|
williamr@2
|
293 |
* The number of satellites being used to provide position information.
|
williamr@2
|
294 |
* The value of this field uses data type TInt8.
|
williamr@2
|
295 |
*/
|
williamr@2
|
296 |
EPositionFieldSatelliteNumUsed,
|
williamr@2
|
297 |
/**
|
williamr@2
|
298 |
* The time as obtained from satellites.
|
williamr@2
|
299 |
* The value of this field uses data type TTime.
|
williamr@2
|
300 |
*/
|
williamr@2
|
301 |
EPositionFieldSatelliteTime,
|
williamr@2
|
302 |
/**
|
williamr@2
|
303 |
* The Horizontal dilution of precision. Dilution of precision is
|
williamr@2
|
304 |
* associated with the accuracy of the field.
|
williamr@2
|
305 |
* The value of this field uses data type TReal32.
|
williamr@2
|
306 |
*/
|
williamr@2
|
307 |
EPositionFieldSatelliteHorizontalDoP,
|
williamr@2
|
308 |
/**
|
williamr@2
|
309 |
* The Vertical dilution of precision.
|
williamr@2
|
310 |
* The value of this field uses data type TReal32.
|
williamr@2
|
311 |
*/
|
williamr@2
|
312 |
EPositionFieldSatelliteVerticalDoP,
|
williamr@2
|
313 |
/**
|
williamr@2
|
314 |
* The dilution of precision in time.
|
williamr@2
|
315 |
* The value of this field uses data type TReal32.
|
williamr@2
|
316 |
*/
|
williamr@2
|
317 |
EPositionFieldSatelliteTimeDoP,
|
williamr@2
|
318 |
/**
|
williamr@2
|
319 |
* The position dilution of precision.
|
williamr@2
|
320 |
* The value of this field uses data type TReal32.
|
williamr@2
|
321 |
*/
|
williamr@2
|
322 |
EPositionFieldSatellitePositionDoP,
|
williamr@2
|
323 |
/**
|
williamr@2
|
324 |
* Altitude above the mean sea level.
|
williamr@2
|
325 |
* The value of this field uses data type TReal32.
|
williamr@2
|
326 |
*/
|
williamr@2
|
327 |
EPositionFieldSatelliteSeaLevelAltitude,
|
williamr@2
|
328 |
/**
|
williamr@2
|
329 |
* The difference between the WGS-84 earth ellipsoid and the mean sea
|
williamr@2
|
330 |
* level. A negative value indicates that the geoid is below the
|
williamr@2
|
331 |
* WGS84 ellipsoid.
|
williamr@2
|
332 |
* The value of this field uses data type TReal32.
|
williamr@2
|
333 |
*/
|
williamr@2
|
334 |
EPositionFieldSatelliteGeoidalSeparation,
|
williamr@2
|
335 |
|
williamr@2
|
336 |
/**
|
williamr@2
|
337 |
* Fields related to Media capability are part of this section.
|
williamr@2
|
338 |
*/
|
williamr@2
|
339 |
EPositionFieldMediaCapabilitiesBegin = 800,
|
williamr@2
|
340 |
/**
|
williamr@2
|
341 |
* Media link data field. If the client requests this field then on completion,
|
williamr@2
|
342 |
* it contains the number of media links provided by the positioning module.
|
williamr@2
|
343 |
* The value of this field uses data type TUint8.
|
williamr@2
|
344 |
*/
|
williamr@2
|
345 |
EPositionFieldMediaLinks,
|
williamr@2
|
346 |
/**
|
williamr@2
|
347 |
* The first media link field relevant to this location. The rest of the links
|
williamr@2
|
348 |
* follow this field.
|
williamr@2
|
349 |
* The media link is of the format type/format/URI.
|
williamr@2
|
350 |
* Type and Format are the standard major and minor MIME types of the
|
williamr@2
|
351 |
* media. URI provides the location of the media.
|
williamr@2
|
352 |
* For example, text/html/http://www.s60.com
|
williamr@2
|
353 |
* The value of this field uses data type TDes8.
|
williamr@2
|
354 |
*/
|
williamr@2
|
355 |
EPositionFieldMediaLinksStart,
|
williamr@2
|
356 |
/**
|
williamr@2
|
357 |
* The field id of the last media field. All media fields will be defined between
|
williamr@2
|
358 |
* #EPositionFieldMediaLinksStart and this field.
|
williamr@2
|
359 |
*/
|
williamr@2
|
360 |
EPositionFieldMedaiLinksEnd = 899,
|
williamr@2
|
361 |
|
williamr@2
|
362 |
/**
|
williamr@2
|
363 |
* Other propritery fields
|
williamr@2
|
364 |
*/
|
williamr@2
|
365 |
EPositionFieldProprietaryFieldsBegin = 0x8000,
|
williamr@2
|
366 |
/**
|
williamr@2
|
367 |
* the maximum field id value
|
williamr@2
|
368 |
*/
|
williamr@2
|
369 |
EPositionFieldIdLast = KMaxTUint16
|
williamr@2
|
370 |
};
|
williamr@2
|
371 |
|
williamr@2
|
372 |
#endif //__LBSFIELDIDS_H__
|