diff options
author | Dylan Van Assche <me@dylanvanassche.be> | 2021-04-19 07:29:48 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2021-04-20 15:29:29 +0000 |
commit | 1beea40270682331c471b479532583dfef85387e (patch) | |
tree | b4b1b25b72b5fd291529d068010abb2bf70fa6e4 | |
parent | f7ec13deb88e9bd292d69ec7442dc892e51f3c52 (diff) |
quectel: set QGPSXTRA to enable assistance support
Quectel modems require to enable XTRA GNSS assistance first with QGPSXTRA=1, before it can be used.
-rw-r--r-- | plugins/quectel/mm-shared-quectel.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/quectel/mm-shared-quectel.c b/plugins/quectel/mm-shared-quectel.c index 61373db6..2e72adc7 100644 --- a/plugins/quectel/mm-shared-quectel.c +++ b/plugins/quectel/mm-shared-quectel.c @@ -422,10 +422,13 @@ mm_shared_quectel_location_load_capabilities (MMIfaceModemLocation *_self, * 1) "+QGPSCFG=\"nmeasrc\",1" will be necessary for getting location data * without the nmea port. * 2) may be necessary to set "+QGPSCFG=\"gpsnmeatype\". + * 3) QGPSXTRA=1 is necessary to support XTRA assistance data for + * faster GNSS location locks. */ static const MMBaseModemAtCommand gps_startup[] = { { "+QGPSCFG=\"outport\",\"usbnmea\"", 3, FALSE, mm_base_modem_response_processor_no_result_continue }, { "+QGPS=1", 3, FALSE, mm_base_modem_response_processor_no_result_continue }, + { "+QGPSXTRA=1", 3, FALSE, mm_base_modem_response_processor_no_result_continue }, { NULL } }; |