@@ -52,17 +52,29 @@ void setup()
5252 // -1280208.308,-4716803.847,4086665.811 is SparkFun HQ in ECEF coordinates so...
5353
5454 // Units are cm so 1234 = 12.34m
55- // success &= myGNSS.setStaticPosition(-128020831, -471680385, 408666581, false); // False at end enables ECEF input
55+ //
56+ // If you were setting up a full GNSS station, you would want to save these settings to Battery-Backed RAM.
57+ // Because setting an incorrect static position will disable the ability to get a lock, we will save to RAM layer only in this example - not RAM_BBR.
58+ // success &= myGNSS.setStaticPosition(-128020831, -471680385, 408666581, false, VAL_LAYER_RAM); // False at end enables ECEF input
5659
5760 // Units are cm with a high precision extension so -1234.5678 should be called: (-123456, -78)
58- success &= myGNSS.setStaticPosition (-128020830 , -80 , -471680384 , -70 , 408666581 , 10 , false ); // ECEF with high precision 0.1mm parts
61+ //
62+ // If you were setting up a full GNSS station, you would want to save these settings to Battery-Backed RAM.
63+ // Because setting an incorrect static position will disable the ability to get a lock, we will save to RAM layer only in this example - not RAM_BBR.
64+ success &= myGNSS.setStaticPosition (-128020830 , -80 , -471680384 , -70 , 408666581 , 10 , false , VAL_LAYER_RAM); // ECEF with high precision 0.1mm parts
5965
6066 // We can also set via lat/long
6167 // 40.09029751,-105.18507900,1560.238
62- // success &= myGNSS.setStaticPosition(400902975, -1051850790, 156024, true); // True at end enables lat/long input
68+ //
69+ // If you were setting up a full GNSS station, you would want to save these settings to Battery-Backed RAM.
70+ // Because setting an incorrect static position will disable the ability to get a lock, we will save to RAM layer only in this example - not RAM_BBR.
71+ // success &= myGNSS.setStaticPosition(400902975, -1051850790, 156024, true, VAL_LAYER_RAM); // True at end enables lat/long input
6372
6473 // For High Precision Lat/Lon/Alt the units are: degrees^-7, degrees^-9, degrees^-7, degrees^-9, cm, 0.1mm
65- // success &= myGNSS.setStaticPosition(400902975, 10, -1051850790, 0, 156023, 80, true);
74+ //
75+ // If you were setting up a full GNSS station, you would want to save these settings to Battery-Backed RAM.
76+ // Because setting an incorrect static position will disable the ability to get a lock, we will save to RAM layer only in this example - not RAM_BBR.
77+ // success &= myGNSS.setStaticPosition(400902975, 10, -1051850790, 0, 156023, 80, true, VAL_LAYER_RAM);
6678
6779 if (!success) Serial.println (F (" At least one call to setStaticPosition failed!" ));
6880
0 commit comments