-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgpsconfig.h
75 lines (61 loc) · 3.19 KB
/
gpsconfig.h
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
/*****************************************************************************
includes
*****************************************************************************/
#include "gnss_defs.h"
/*****************************************************************************
defines and macros
*****************************************************************************/
/*****************************************************************************
typedefs and structures
*****************************************************************************/
/*****************************************************************************
exported variables
*****************************************************************************/
tInt gnss_dsp_trk_task_priority = 14;
tInt gnss_tracker_task_priority = 13;
tInt gnss_dsp_acq_task_priority = 12;
#if defined(__MST__)
tInt gnss_flash_erase_priority = 11;
tInt waas_task_priority = 10;
tInt st_agps_ephmgr_task_priority = 6;
tInt nmea_cmdif_task_priority = 8;
tInt gnss_navigate_pps_task_priority = 10;
tInt gnss_navigate_task_priority = 7;
tInt st_agps_task_priority = 1;
tInt nmea_outmsg2_task_priority = 15;
#endif
const tInt fda_status_on = 0; /*default value is 0 - FDA is OFF*/
/* Acquire constant parameters */
/* the defualt setting for the NCO if not available in flash */
nco_t startup_nco_max = -37000;
nco_t startup_nco_center = -47000;
nco_t startup_nco_min = -57000;
// Note that gdop thresholds are not used right now
dops_t dops_default_2D = { (tDouble)15.0, (tDouble)12.0, (tDouble)12.0, (tDouble)18.0 };
dops_t dops_default_3D = { (tDouble)15.0, (tDouble)12.0, (tDouble)12.0, (tDouble)18.0 };
dops_t dops_startup_3D = { (tDouble)15.0, (tDouble)12.0, (tDouble)12.0, (tDouble)18.0 };
dops_t dops_startup_2D = { (tDouble)15.0, (tDouble)12.0, (tDouble)12.0, (tDouble)18.0 };
boolean_t gnss_fix_allow_large_2D_move = FALSE;
tU8 GNSS_TUNNEL_SHORT_THR_S = 7; //for automotive profiling it should be set to 4
tU8 GNSS_TUNNEL_LONG_THR_S = 20; //for automotive profiling it should be set to 4
#ifdef __MST__
/* nmea constant parameters */
tUInt NMEA_msg_list[2] = {0,0};
tUInt NMEA_msg_list_1[2] = {0,0};
tUInt NMEA_msg_list_2[2] = {0,0};
tUInt NMEA_on_debug_msg_list[2] = {0,0};
tUInt NMEA_on_debug_msg_list_1[2] = {0,0};
tUInt NMEA_on_debug_msg_list_2[2] = {0,0};
tU8 NMEA_msg_list_scaling = 1;
tU8 NMEA_msg_list_scaling_1 = 1;
tU8 NMEA_msg_list_scaling_2 = 1;
tInt nmea_outmsg_GGA_posdigit = 5;
tInt nmea_outmsg_RMC_posdigit = 3;
tInt nmea_outmsg_speed_digits = 1;
tInt nmea_outmsg_course_digits = 1;
gpOS_clock_t nmea_outmsg_delaytonextfix = 0;
gnss_diff_source_t diff_source = DIFF_SOURCE_AUTO;
#endif
/*****************************************************************************
exported function prototypes
*****************************************************************************/