From 818ca715e413ad0128e63ca039462c0d3a372fbe Mon Sep 17 00:00:00 2001 From: Wyatt Riley Date: Mon, 17 Oct 2016 13:44:38 -0700 Subject: flo: Xtra Fixes - https, version check & version 3 Tells Qualcomm GPS hardware to: 1) Use https 2) Use the more secure version 3 file 3) Check that the XTRA file version downloaded matches the version expected - i.e. the more secure (signed) version 3 Test: Tested live on device, on nyc-mr1 Bug: 31470303 Change-Id: Ib8b3494d622d760e349cac03bad15faaf0477093 --- configs/gps.conf | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/configs/gps.conf b/configs/gps.conf index 80b4c68..f4c5222 100644 --- a/configs/gps.conf +++ b/configs/gps.conf @@ -3,11 +3,20 @@ # below will be ignored, and instead the servers will # be queried from the modem. XTRA_SERVER_QUERY=0 + +# URLs from which to download XTRA data # XTRA_SERVERs below are used only if XTRA_SERVER_QUERY # is off. -XTRA_SERVER_1=http://xtrapath1.izatcloud.net/xtra2.bin -XTRA_SERVER_2=http://xtrapath2.izatcloud.net/xtra2.bin -XTRA_SERVER_3=http://xtrapath3.izatcloud.net/xtra2.bin +XTRA_SERVER_1=https://xtrapath1.izatcloud.net/xtra3grc.bin +XTRA_SERVER_2=https://xtrapath2.izatcloud.net/xtra3grc.bin +XTRA_SERVER_3=https://xtrapath3.izatcloud.net/xtra3grc.bin + +#Version check for XTRA +#DISABLE = 0 +#AUTO = 1 +#XTRA2 = 2 +#XTRA3 = 3 +XTRA_VERSION_CHECK=1 # Error Estimate # _SET = 1 -- cgit v1.2.3