blob: 96c7608f7eaab65d6ff5893ce4406ecc6f0eb58d (
plain)
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
|
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="constants.xsl"?>
<!-- SPDX-License-Identifier: MPL-2.0
Component Name: EnhancedPositionService
Compliance Level: Abstract Component
Copyright (C) 2012, BMW Car IT GmbH, Continental Automotive GmbH, PCA Peugeot Citroën, XS Embedded GmbH
License:
This Source Code Form is subject to the terms of the
Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with
this file, You can obtain one at http://mozilla.org/MPL/2.0/.
-->
<constants name="EnhancedPositionService">
<version>3.0.0 (10-Dec-2014)</version>
<doc>
<line>This document defines the constants that are used in the EnhancedPositionService APIs</line>
<line>Constants for "Keys" are always individual bits within a 64 bit unsigned integer and are unique within the EnhancedPositionService</line>
<line>Constants for "Enums" increment consecutively and are only unique within the context of the specific enum</line>
</doc>
<!-- PositionInfo and PositionFeedback Keys - for use in bit mask -->
<id name="LATITUDE" value="0x00000001" />
<id name="LONGITUDE" value="0x00000002" />
<id name="ALTITUDE" value="0x00000004" />
<id name="HEADING" value="0x00000008" />
<id name="SPEED" value="0x00000010" />
<id name="CLIMB" value="0x00000020" />
<id name="ROLL_RATE" value="0x00000040" />
<id name="PITCH_RATE" value="0x00000080" />
<id name="YAW_RATE" value="0x00000100" />
<id name="PDOP" value="0x00000200" />
<id name="HDOP" value="0x00000400" />
<id name="VDOP" value="0x00000800" />
<id name="USED_SATELLITES" value="0x00001000" />
<id name="TRACKED_SATELLITES" value="0x00002000" />
<id name="VISIBLE_SATELLITES" value="0x00004000" />
<id name="SIGMA_HPOSITION" value="0x00008000" />
<id name="SIGMA_ALTITUDE" value="0x00010000" />
<id name="SIGMA_HEADING" value="0x00020000" />
<id name="SIGMA_SPEED" value="0x00040000" />
<id name="SIGMA_CLIMB" value="0x00080000" />
<id name="GNSS_FIX_STATUS" value="0x00100000" />
<id name="DR_STATUS" value="0x00200000" />
<id name="RELIABILTY_INDEX" value="0x00400000" />
<!-- Time Keys - for use in bit mask -->
<id name="YEAR" value="0x01000000" />
<id name="MONTH" value="0x02000000" />
<id name="DAY" value="0x04000000" />
<id name="HOUR" value="0x08000000" />
<id name="MINUTE" value="0x10000000" />
<id name="SECOND" value="0x20000000" />
<id name="MS" value="0x40000000" />
<!-- Generic "Enum" values -->
<id name="INVALID" value="0x00000000" />
<!-- SatelliteSystem "Enum" -->
<id name="GPS" value="0x00000001" />
<id name="GLONASS" value="0x00000002" />
<id name="GALILEO" value="0x00000003" />
<id name="BEIDOU" value="0x00000004" /> <!-- Chinese Beidou Navigation Satellite System -->
<id name="COMPASS" value="0x00000004" /> <!-- COMPASS is a synonym for BEIDOU -->
<!-- PositionFeedback "Enum" -->
<id name="MAP_MATCHED_FEEDBACK" value="0x00000001" />
<id name="TEST_FEEDBACK" value="0x00000002" />
<!-- ... -->
</constants>
|