I would like to get my Thingy:91 X to receive Location via GNSS only (no cellular, no A-GPS, no P-GPS, no AWS).
Thus, I adapted the code from the "Asset Tracker Template".
The code runs on my thingy and I can trigger a Location request by presseing the button on the top.
However, there is no success.
This is the result I get, when beeing outoor.
[00:18:48.679,168] <err> location: Location acquisition failed and fallbacks are also done [00:18:48.679,168] <wrn> location_module: Location request failed: [00:18:48.679,199] <wrn> location_module: Used method: GNSS (2) [00:18:48.679,229] <dbg> location_module: location_print_data_details: Elapsed method time: 28119 ms [00:18:48.679,229] <dbg> location_module: location_print_data_details: Satellites tracked: 0 [00:18:48.679,260] <dbg> location_module: location_print_data_details: Satellites used: 0 [00:18:48.679,260] <dbg> location_module: location_print_data_details: Elapsed GNSS time: 3029 ms [00:18:48.679,290] <dbg> location_module: location_print_data_details: GNSS execution time: 3000 ms [00:18:48.679,687] <dbg> location_module: state_location_search_active_run: Location search done message received, going to inactive state
In this example, there were no satellites tracked an thus, there was no GNSS Signal - I get that.
But is that correct? The Thingy91:X has a Dedicated GPS antanna with LNA.
Is there some Settings for the antenna required, in order to run the GNSS module? E.g. using external antenna?
In the code, there are some states defined, that seem to orginate from a future version of the SDK which is not yet available.
For example in location.c line 530:
case LOCATION_EVT_CANCELLED:
LOG_DBG("Location request cancelled");
message_send(LOCATION_SEARCH_DONE);
break;
and network.c line 185:
case LTE_LC_EVT_PDN_SUSPENDED:
LOG_DBG("PDN connection suspended");
network_status_notify(NETWORK_DISCONNECTED);
break;
case LTE_LC_EVT_PDN_RESUMED:
LOG_DBG("PDN connection resumed");
network_status_notify(NETWORK_CONNECTED);
According to this page, they will be added in the upcomming nrf Connect SDK Version 3.3.0
docs.nordicsemi.com/.../release-notes-changelog.html
So long story short, how can I get GNSS with the current nrf Connect SDK working on the Thingy: 91 X?
UPDATE:
I measured the supply voltage of the LNA (U9) at TP8:
And the COEX2 signal enabling the power supply of the LNA at TP22:
Thus I conclude, that LNA is working properly.