bifravst / firmware

Cat Tracker application built using nRF Connect SDK
https://bifravst.github.io
Other
13 stars 7 forks source link

GPS fix not getting acquired #1

Closed coderbyheart closed 4 years ago

coderbyheart commented 4 years ago

The latest relase v0.65.0 is no longer acquiring GPS fixes although satellites are available. It very quickly terminates the GPS:

*** Booting Zephyr OS version 2.1.0  ***
[00:00:00.201,049] <dbg> nrf9160_gps.init: MAGPIO set: AT%XMAGPIO=1,0,0,1,1,1574,1577
[00:00:00.216,125] <dbg> nrf9160_gps.init: COEX0 set: AT%XCOEX0=1,1,1570,1580
[00:00:00.223,937] <inf> cat_tracker: The cat tracker has started
[00:00:00.230,651] <inf> cat_tracker: Version: v0.65.0
[00:00:00.243,225] <inf> dfu_target: Device get binding device
[00:00:00.256,286] <inf> gps_control: GPS initialized
[00:00:00.261,932] <inf> cat_tracker: Connecting to LTE network. 
[00:00:00.268,646] <inf> cat_tracker: This may take several minutes.
[00:00:00.289,367] <inf> lte_lc: Using legacy LTE PCO mode...
[00:00:00.295,745] <dbg> lte_lc.w_lte_lc_connect: Network mode: AT%XSYSTEMMODE=0,1,1,0
[00:00:12.461,517] <inf> cat_tracker: Incoming RSRP status message, RSRP value is 77
[00:00:12.470,428] <dbg> lte_lc.parse_nw_reg_status: Network registration status: 2
[00:00:17.349,060] <dbg> lte_lc.parse_nw_reg_status: Network registration status: 5
[00:00:17.357,574] <inf> cat_tracker: Connected to LTE network
[00:00:17.364,074] <dbg> nrf9160_timestamp.nrf9160_time_handler: New date time update in: 3600 seconds
[00:00:17.374,053] <dbg> nrf9160_timestamp.update_new_date_time: Updating date time UTC...
[00:00:17.382,995] <dbg> nrf9160_timestamp.check_current_time: Date time never set
[00:00:17.391,174] <dbg> nrf9160_timestamp.update_new_date_time: Error getting current time
[00:00:17.400,177] <dbg> nrf9160_timestamp.update_new_date_time: Fallback on cellular network time
[00:00:17.411,071] <dbg> nrf9160_timestamp.get_time_cellular_network: Response from modem: +CCLK: "20/02/03,11:24:01+04
[00:00:17.422,576] <dbg> nrf9160_timestamp.update_new_date_time: Time from cellular network successfully obtained
[00:00:18.054,718] <dbg> bifravst_cloud.broker_init: IPv4 Address found 18.196.54.227
[00:00:24.590,942] <inf> aws_jobs: Subscribe: $aws/things/352656100378903/jobs/notify-next
[00:00:24.601,013] <inf> aws_jobs: Subscribe: $aws/things/352656100378903/jobs/$next/get/#
[00:00:24.610,839] <dbg> bifravst_cloud.mqtt_evt_handler: MQTT client connected!
[00:00:24.618,835] <dbg> bifravst_cloud.topic_subscribe: Subscribing to: $aws/things/352656100378903/shadow/get/rejected
[00:00:24.630,401] <dbg> bifravst_cloud.topic_subscribe: Subscribing to: $aws/things/352656100378903/shadow/get/accepted/desired/cfg
[00:00:24.643,066] <dbg> bifravst_cloud.topic_subscribe: Subscribing to: $aws/things/352656100378903/shadow/update/delta
[00:00:24.655,578] <inf> cat_tracker: CLOUD_EVT_CONNECTED
[00:00:24.661,621] <dbg> bifravst_cloud.data_publish: Publishing to topic: $aws/things/352656100378903/shadow/get
[00:00:24.870,880] <inf> aws_fota: subscribed to notify-next topic
[00:00:24.877,746] <inf> aws_jobs: Publish topic: $aws/things/352656100378903/jobs/$next/get
[00:00:24.886,810] <inf> aws_jobs: Publish payload {"clientToken": ""}
[00:00:25.066,101] <dbg> bifravst_cloud.mqtt_evt_handler: MQTT_EVT_SUBACK: id = 2114 result = 0
[00:00:25.118,804] <dbg> bifravst_cloud.mqtt_evt_handler: MQTT_EVT_SUBACK: id = 1234 result = 0
[00:00:25.479,339] <dbg> aws_fota.aws_fota_on_publish_evt: Received topic: $aws/things/352656100378903/shadow/get/accepted/desired/cfg
[00:00:25.492,156] <inf> aws_fota: received an unhandled MQTT publish event on topic: $aws/things/352656100378903/shadow/get/accepted/desired/cfg
[00:00:25.505,920] <dbg> bifravst_cloud.mqtt_evt_handler: MQTT_EVT_PUBLISH: id = 15764 len = 74 
[00:00:25.515,441] <inf> cat_tracker: CLOUD_EVT_DATA_RECEIVED
[00:00:25.523,315] <inf> cloud_codec: Decoded message: {
                                                                "cfg":  {
                                                                                        "act":  true,
                                                                                                                "mvres":        60,
                                                                                                                                                "mvt":  3590,
                                                                                                                                                                 "acct": 10,
                                                                                                                                                                              "actwt": 60,
                                                                                                                                                                                            "gpst": 600
                                                                                                                                                                                                        }
                                                                                                                                                                                                         }
[00:00:25.538,421] <inf> cloud_codec: SETTING GPST TO: 600
[00:00:25.544,494] <inf> cloud_codec: SETTING ACTIVE TO: 1
[00:00:25.550,567] <inf> cloud_codec: SETTING ACTIVE WAIT TO: 60
[00:00:25.557,159] <inf> cloud_codec: SETTING PASSIVE_WAIT TO: 60
[00:00:25.563,842] <inf> cloud_codec: SETTING MOVEMENT TIMEOUT TO: 3590
[00:00:25.571,075] <inf> cloud_codec: SETTING ACCEL THRESHOLD TIMEOUT TO: 10
[00:00:25.594,055] <dbg> bifravst_cloud.mqtt_evt_handler: MQTT_EVT_PUBACK: id = 29293 result = 0
[00:00:25.679,077] <dbg> aws_fota.aws_fota_on_publish_evt: Received topic: $aws/things/352656100378903/jobs/$next/get/acceptedsired/cfg
[00:00:25.691,955] <inf> aws_fota: Checking for an available job
[00:00:25.698,669] <dbg> aws_fota.get_job_execution: Got only one field: {"clientToken":"
[00:00:25.707,489] <inf> aws_fota: No queued jobs for this device
[00:00:29.674,163] <inf> cloud_codec: Encoded message: {
                                                                "state":        {
                                                                                                "reported":     {
                                                                                                                                        "cfg":  {
                                                                                                                                                                  "gpst": 600,
                                                                                                                                                                                  "act": true,
                                                                                                                                                                                                  "actwt": 60,
                                                                                                                                                                                                                  "mvres": 60,
                                                                                                                                                                                                                                  "mvt": 359,
                                                                                                                                                                                                                                            0
                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                            }
[00:00:29.693,725] <dbg> bifravst_cloud.data_publish: Publishing to topic: $aws/things/352656100378903/shadow/update
[00:00:29.740,783] <inf> cloud_codec: Encoded message: {
                                                                "state":        {
                                                                                                "reported":     {
                                                                                                                                        "dev":  {
                                                                                                                                                                  "v": {
                                                                                                                                                                             "band": 3,
                                                                                                                                                                                            "nw": "NB-IoT GPS",
                                                                                                                                                                                                                    "iccid": "89450421180216,
                                                                                                                                                                                                                                            ,
                                                                                                                                                                                                                                            ,
                                                                                                                                                                                                                                            "
                                                                                                                                                                                                                                            ,
                                                                                                                                                                                                                                            4
                                                                                                                                                                                                                                            ,
                                                                                                                                                                                                                                            {
                                                                                                                                                                                                                                            {
                                                                                                                                                                                                                                            ,
                                                                                                                                                                                                                                            ,
                                                                                                                                                                                                                                            ,
                                                                                                                                                                                                                                            ,
                                                                                                                                                                                                                                            "
                                                                                                                                                                                                                                            ,
                                                                                                                                                                                                                                            4
                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                            }
[00:00:29.785,522] <dbg> bifravst_cloud.data_publish: Publishing to topic: $aws/things/352656100378903/shadow/update
[00:00:37.410,064] <inf> gps_control: Enabling PSM
[00:00:37.416,687] <inf> gps_control: PSM enabled
[00:00:37.422,576] <dbg> nrf9160_gps.enable_gps: GPS mode is enabled
[00:00:37.430,114] <dbg> nrf9160_gps.enable_gps: Functional mode: 1
[00:00:37.437,042] <dbg> nrf9160_gps.start: GPS socket created
[00:00:37.447,448] <dbg> nrf9160_gps.start: GPS operational
[00:00:37.453,613] <inf> gps_control: GPS started successfully.Searching for satellites
[00:00:37.462,219] <inf> gps_control: to get position fix. This may take several minutes.
[00:00:37.471,038] <inf> gps_control: GPS operation started
[00:00:38.447,784] <dbg> nrf9160_gps.gps_thread: Invalid PVT frame, discarding
[00:00:39.448,120] <dbg> nrf9160_gps.gps_thread: Invalid PVT frame, discarding
[00:00:40.448,211] <dbg> nrf9160_gps.gps_thread: Invalid PVT frame, discarding
[00:00:41.448,760] <dbg> nrf9160_gps.gps_thread: Invalid PVT frame, discarding
[00:00:42.449,066] <dbg> nrf9160_gps.gps_thread: Invalid PVT frame, discarding
[00:00:43.449,127] <dbg> nrf9160_gps.gps_thread: Invalid PVT frame, discarding
[00:00:44.449,737] <dbg> nrf9160_gps.gps_thread: Invalid PVT frame, discarding
[00:00:45.450,042] <dbg> nrf9160_gps.gps_thread: Invalid PVT frame, discarding
[00:00:46.450,744] <dbg> nrf9160_gps.gps_thread: Invalid PVT frame, discarding
[00:00:47.450,775] <dbg> nrf9160_gps.gps_thread: Invalid PVT frame, discarding
[00:00:47.934,692] <dbg> nrf9160_gps.print_satellite_stats: Tracking: 0 Using: 0 Unhealthy: 0
[00:00:47.943,878] <dbg> nrf9160_gps.print_satellite_stats: Seconds since last fix 47
[00:00:47.952,423] <dbg> nrf9160_gps.print_satellite_stats: Tracking: 0 Using: 0 Unhealthy: 0
[00:00:47.961,608] <dbg> nrf9160_gps.print_satellite_stats: Seconds since last fix 47
[00:00:48.933,013] <dbg> nrf9160_gps.print_satellite_stats: Tracking SV 15: not used,     healthy
[00:00:48.942,504] <dbg> nrf9160_gps.print_satellite_stats: Tracking SV  8: not used,     healthy
[00:00:48.952,056] <dbg> nrf9160_gps.print_satellite_stats: Tracking SV 20: not used,     healthy
[00:00:48.961,578] <dbg> nrf9160_gps.print_satellite_stats: Tracking: 3 Using: 0 Unhealthy: 0
[00:00:48.970,764] <dbg> nrf9160_gps.print_satellite_stats: Seconds since last fix 48
[00:00:49.933,166] <dbg> nrf9160_gps.print_satellite_stats: Tracking SV 15: not used,     healthy
[00:00:49.942,687] <dbg> nrf9160_gps.print_satellite_stats: Tracking SV  8: not used,     healthy
[00:00:49.952,209] <dbg> nrf9160_gps.print_satellite_stats: Tracking SV 20: not used,     healthy
[00:00:49.961,730] <dbg> nrf9160_gps.print_satellite_stats: Tracking SV 30: not used,     healthy
[00:00:49.971,252] <dbg> nrf9160_gps.print_satellite_stats: Tracking: 4 Using: 0 Unhealthy: 0
[00:00:49.980,438] <dbg> nrf9160_gps.print_satellite_stats: Seconds since last fix 49
[00:00:50.933,166] <dbg> nrf9160_gps.gps_thread: Waiting for time window to operate
[00:00:52.933,959] <dbg> nrf9160_gps.print_satellite_stats: Tracking SV 15: not used,     healthy
[00:00:52.943,481] <dbg> nrf9160_gps.print_satellite_stats: Tracking SV  8: not used,     healthy
[00:00:52.953,002] <dbg> nrf9160_gps.print_satellite_stats: Tracking SV 20: not used,     healthy
[00:00:52.962,524] <dbg> nrf9160_gps.print_satellite_stats: Tracking SV 30: not used,     healthy
[00:00:52.972,045] <dbg> nrf9160_gps.print_satellite_stats: Tracking: 4 Using: 0 Unhealthy: 0
[00:00:52.981,231] <dbg> nrf9160_gps.print_satellite_stats: Seconds since last fix 52
[00:00:53.934,722] <dbg> nrf9160_gps.print_satellite_stats: Tracking SV 15: not used,     healthy
[00:00:53.944,244] <dbg> nrf9160_gps.print_satellite_stats: Tracking SV  8: not used,     healthy
[00:00:53.953,765] <dbg> nrf9160_gps.print_satellite_stats: Tracking SV 20: not used,     healthy
[00:00:53.963,287] <dbg> nrf9160_gps.print_satellite_stats: Tracking SV 30: not used,     healthy
[00:00:53.972,808] <dbg> nrf9160_gps.print_satellite_stats: Tracking: 4 Using: 0 Unhealthy: 0
[00:00:53.981,994] <dbg> nrf9160_gps.print_satellite_stats: Seconds since last fix 53
[00:00:54.935,241] <dbg> nrf9160_gps.print_satellite_stats: Tracking SV 15: not used,     healthy
[00:00:54.944,763] <dbg> nrf9160_gps.print_satellite_stats: Tracking SV  8: not used,     healthy
[00:00:54.954,284] <dbg> nrf9160_gps.print_satellite_stats: Tracking SV 20: not used,     healthy
[00:00:54.963,806] <dbg> nrf9160_gps.print_satellite_stats: Tracking SV 30: not used,     healthy
[00:00:54.973,327] <dbg> nrf9160_gps.print_satellite_stats: Tracking: 4 Using: 0 Unhealthy: 0
[00:00:54.982,513] <dbg> nrf9160_gps.print_satellite_stats: Seconds since last fix 54
[00:00:55.935,455] <dbg> nrf9160_gps.print_satellite_stats: Tracking SV 15: not used,     healthy
[00:00:55.944,976] <dbg> nrf9160_gps.print_satellite_stats: Tracking SV  8: not used,     healthy
[00:00:55.954,498] <dbg> nrf9160_gps.print_satellite_stats: Tracking SV 20: not used,     healthy
[00:00:55.964,019] <dbg> nrf9160_gps.print_satellite_stats: Tracking SV 30: not used,     healthy
[00:00:55.973,541] <dbg> nrf9160_gps.print_satellite_stats: Tracking SV 13: not used,     healthy
[00:00:55.983,062] <dbg> nrf9160_gps.print_satellite_stats: Tracking: 5 Using: 0 Unhealthy: 0
[00:00:55.992,279] <dbg> nrf9160_gps.print_satellite_stats: Seconds since last fix 55
[00:00:56.934,814] <dbg> nrf9160_gps.print_satellite_stats: Tracking SV 15: not used,     healthy
[00:00:56.944,335] <dbg> nrf9160_gps.print_satellite_stats: Tracking SV  8: not used,     healthy
[00:00:56.953,857] <dbg> nrf9160_gps.print_satellite_stats: Tracking SV 20: not used,     healthy
[00:00:56.963,378] <dbg> nrf9160_gps.print_satellite_stats: Tracking SV 30: not used,     healthy
[00:00:56.972,900] <dbg> nrf9160_gps.print_satellite_stats: Tracking SV 13: not used,     healthy
[00:00:56.982,421] <dbg> nrf9160_gps.print_satellite_stats: Tracking: 5 Using: 0 Unhealthy: 0
[00:00:56.991,607] <dbg> nrf9160_gps.print_satellite_stats: Seconds since last fix 56
[00:00:57.934,661] <dbg> nrf9160_gps.gps_thread: Waiting for time window to operate
[00:07:06.756,561] <dbg> nrf9160_gps.gps_thread: Invalid PVT frame, discarding
[00:07:07.179,656] <inf> cat_tracker: Incoming RSRP status message, RSRP value is 78
[00:07:07.756,591] <dbg> nrf9160_gps.gps_thread: Invalid PVT frame, discarding
[00:07:08.756,896] <dbg> nrf9160_gps.gps_thread: Invalid PVT frame, discarding
[00:07:09.756,927] <dbg> nrf9160_gps.gps_thread: Invalid PVT frame, discarding
[00:07:10.757,568] <dbg> nrf9160_gps.gps_thread: Invalid PVT frame, discarding
[00:07:11.757,904] <dbg> nrf9160_gps.gps_thread: Invalid PVT frame, discarding
[00:07:12.757,995] <dbg> nrf9160_gps.gps_thread: Invalid PVT frame, discarding
[00:07:13.758,575] <dbg> nrf9160_gps.gps_thread: Invalid PVT frame, discarding
[00:07:14.758,880] <dbg> nrf9160_gps.gps_thread: Invalid PVT frame, discarding
[00:07:15.758,941] <dbg> nrf9160_gps.gps_thread: Invalid PVT frame, discarding
[00:07:16.759,552] <dbg> nrf9160_gps.gps_thread: Invalid PVT frame, discarding
[00:07:17.759,582] <dbg> nrf9160_gps.gps_thread: Invalid PVT frame, discarding
[00:07:18.792,633] <dbg> nrf9160_gps.gps_thread: Invalid PVT frame, discarding
[00:07:19.832,550] <dbg> nrf9160_gps.gps_thread: Invalid PVT frame, discarding
[00:07:20.872,467] <dbg> nrf9160_gps.gps_thread: Invalid PVT frame, discarding
[00:07:21.912,414] <dbg> nrf9160_gps.gps_thread: Invalid PVT frame, discarding
[00:07:22.564,697] <dbg> nrf9160_gps.print_satellite_stats: Tracking: 0 Using: 0 Unhealthy: 0
[00:07:22.573,913] <dbg> nrf9160_gps.print_satellite_stats: Seconds since last fix 442
[00:07:23.568,634] <dbg> nrf9160_gps.print_satellite_stats: Tracking SV 10: not used,     healthy
[00:07:23.578,155] <dbg> nrf9160_gps.print_satellite_stats: Tracking SV 15: not used,     healthy
[00:07:23.587,677] <dbg> nrf9160_gps.print_satellite_stats: Tracking SV 20: not used,     healthy
[00:07:23.597,198] <dbg> nrf9160_gps.print_satellite_stats: Tracking SV 21: not used,     healthy
[00:07:23.606,719] <dbg> nrf9160_gps.print_satellite_stats: Tracking SV 28: not used,     healthy
[00:07:23.616,271] <dbg> nrf9160_gps.print_satellite_stats: Tracking: 5 Using: 0 Unhealthy: 0
[00:07:23.625,457] <dbg> nrf9160_gps.print_satellite_stats: Seconds since last fix 443
[00:07:24.569,580] <dbg> nrf9160_gps.gps_thread: Waiting for time window to operate
[00:10:37.415,649] <dbg> nrf9160_gps.stop: Stopping GPS
[00:10:37.421,813] <inf> gps_control: GPS operation was stopped
[00:10:37.435,424] <dbg> lte_lc.parse_nw_reg_status: Network registration status: 5
[00:10:37.443,786] <inf> cat_tracker: Checking LTE connection...
[00:10:37.450,408] <inf> cat_tracker: Connected to LTE network
[00:10:37.457,031] <inf> dfu_target: Going to sleep for: 60 seconds
[00:10:37.559,387] <inf> cloud_codec: Encoded message: {
                                                                "state":        {
                                                                                                "reported":     {
                                                                                                                                        "bat":  {
                                                                                                                                                                  "v": 4250,
                                                                                                                                                                                "ts": 1580729661136
                                                                                                                                                                                                      }
                                                                                                                                                                                                         }
                                                                                                                                                                                                           }
                                                                                                                                                                                                            }
[00:10:37.573,608] <dbg> bifravst_cloud.data_publish: Publishing to topic: $aws/things/352656100378903/shadow/update
[00:10:42.219,360] <inf> cat_tracker: Incoming RSRP status message, RSRP value is 77
[00:10:42.457,122] <inf> cat_tracker: No change in device configuration
[00:10:42.623,443] <inf> cloud_codec: Encoded message: {
                                                                "state":        {
                                                                                                "reported":     {
                                                                                                                                        "roam": {
                                                                                                                                                                  "v": {
                                                                                                                                                                             "rsrp": 77,
                                                                                                                                                                                             "area": 3305,
                                                                                                                                                                                                               "mccmnc": 24202,
                                                                                                                                                                                                                                    "cell": ,
                                                                                                                                                                                                                                            "
                                                                                                                                                                                                                                            ,
                                                                                                                                                                                                                                            2
                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                            }
[00:10:42.647,491] <dbg> bifravst_cloud.data_publish: Publishing to topic: $aws/things/352656100378903/shadow/update
[00:11:37.464,172] <inf> gps_control: Enabling PSM
[00:11:37.503,265] <inf> gps_control: PSM enabled
[00:11:37.509,185] <dbg> nrf9160_gps.enable_gps: GPS mode is enabled
[00:11:37.516,662] <dbg> nrf9160_gps.enable_gps: Functional mode: 1
[00:11:37.527,679] <dbg> nrf9160_gps.start: GPS operational
[00:11:37.533,843] <inf> gps_control: GPS started successfully.Searching for satellites
[00:11:37.542,480] <inf> gps_control: to get position fix. This may take several minutes.
[00:11:37.551,269] <inf> gps_control: GPS operation started
[00:11:38.528,076] <dbg> nrf9160_gps.gps_thread: Invalid PVT frame, discarding
[00:11:38.539,794] <inf> cat_tracker: Incoming RSRP status message, RSRP value is 77
[00:11:39.078,338] <dbg> nrf9160_gps.print_satellite_stats: Tracking: 0 Using: 0 Unhealthy: 0
[00:11:39.087,524] <dbg> nrf9160_gps.print_satellite_stats: Seconds since last fix 699
[00:11:40.079,681] <dbg> nrf9160_gps.print_satellite_stats: Tracking SV 28: not used,     healthy
[00:11:40.089,202] <dbg> nrf9160_gps.print_satellite_stats: Tracking SV 20: not used,     healthy
[00:11:40.098,724] <dbg> nrf9160_gps.print_satellite_stats: Tracking SV  8: not used,     healthy
[00:11:40.108,245] <dbg> nrf9160_gps.print_satellite_stats: Tracking: 3 Using: 0 Unhealthy: 0
[00:11:40.117,431] <dbg> nrf9160_gps.print_satellite_stats: Seconds since last fix 700
[00:11:41.079,833] <dbg> nrf9160_gps.gps_thread: Waiting for time window to operate
[00:13:48.822,296] <dbg> nrf9160_gps.gps_thread: Invalid PVT frame, discarding
[00:13:49.862,304] <dbg> nrf9160_gps.gps_thread: Invalid PVT frame, discarding
[00:13:50.862,518] <dbg> nrf9160_gps.gps_thread: Invalid PVT frame, discarding
[00:13:51.658,966] <inf> cat_tracker: Incoming RSRP status message, RSRP value is 77
[00:13:51.862,640] <dbg> nrf9160_gps.gps_thread: Invalid PVT frame, discarding
[00:13:52.863,098] <dbg> nrf9160_gps.gps_thread: Invalid PVT frame, discarding
[00:13:53.863,098] <dbg> nrf9160_gps.gps_thread: Invalid PVT frame, discarding
[00:13:54.863,677] <dbg> nrf9160_gps.gps_thread: Invalid PVT frame, discarding
[00:13:55.863,708] <dbg> nrf9160_gps.gps_thread: Invalid PVT frame, discarding
[00:13:56.863,769] <dbg> nrf9160_gps.gps_thread: Invalid PVT frame, discarding
[00:13:57.864,013] <dbg> nrf9160_gps.gps_thread: Invalid PVT frame, discarding
[00:13:58.864,135] <dbg> nrf9160_gps.gps_thread: Invalid PVT frame, discarding
[00:13:59.864,807] <dbg> nrf9160_gps.gps_thread: Invalid PVT frame, discarding
[00:14:00.864,837] <dbg> nrf9160_gps.gps_thread: Invalid PVT frame, discarding
[00:14:01.865,112] <dbg> nrf9160_gps.gps_thread: Invalid PVT frame, discarding
[00:14:02.865,814] <dbg> nrf9160_gps.gps_thread: Invalid PVT frame, discarding
[00:14:03.115,081] <dbg> nrf9160_gps.print_satellite_stats: Tracking: 0 Using: 0 Unhealthy: 0
[00:14:03.124,298] <dbg> nrf9160_gps.print_satellite_stats: Seconds since last fix 843
[00:14:04.120,697] <dbg> nrf9160_gps.gps_thread: Waiting for time window to operate
simensrostad commented 4 years ago

What do you mean by quickly terminates the GPS? From the looks of it the device simply does not get a fix which is a common occurrence.

coderbyheart commented 4 years ago

Right, looking at the timing now, I see that it takes quite a while to search for GPS, it does not log much during that...