Location example get error -14 after connected with LTE

Hi,

I am working on location example using nrf9160 custom board. So my board manage to connect it to the LTE Network but I dont know why I can't get any location. I think the reason I can't get any informatin about my location for GNSS because I am putting the board inside my workspace which is indoor, but the question is why I can't get any location information through Cellular method.

Below is log rtt information about location sample that I run.

00> *** Booting Zephyr OS build v3.2.99-ncs2 ***
00> Location sample started
00> 
00> Connecting to LTE...
00> Connected to LTE
00> Waiting for current time
00> Requesting location with short GNSS timeout to trigger fallback to cellular...
00> [00:01:46.249,725] <err> rest_client: getaddrinfo() failed, error: -2
00> [00:01:46.257,263] <err> rest_client: rest_client_do_api_call() failed, err -14
00> [00:01:46.265,716] <err> location: nRF Cloud A-GPS request failed, error: -14
00> [00:01:47.278,900] <inf> location: Method specific timeout expired
00> [00:01:47.286,224] <inf> location: Location retrieval failed using 'GNSS', trying with 'Cellular' next
00> [00:01:47.384,918] <err> rest_client: getaddrinfo() failed, error: -2
00> [00:01:47.392,456] <err> rest_client: rest_client_do_api_call() failed, err -14
00> [00:01:47.400,909] <err> location: Failed to acquire location using cloud location, error: -14
00> [00:01:47.410,705] <err> location: Location acquisition failed and fallbacks are also done
00> Getting location failed
00> 
00> Requesting location with the default configuration...
00> [00:03:47.531,036] <inf> location: Method specific timeout expired
00> [00:03:47.538,024] <wrn> location: GNSS timed out possibly due to too short GNSS time windows
00> [00:03:47.548,034] <inf> location: Location retrieval failed using 'GNSS', trying with 'Cellular' next
00> [00:03:47.641,937] <err> rest_client: getaddrinfo() failed, error: -2
00> [00:03:47.649,475] <err> rest_client: rest_client_do_api_call() failed, err -14
00> [00:03:47.657,928] <err> location: Failed to acquire location using cloud location, error: -14
00> [00:03:47.667,724] <err> location: Location acquisition failed and fallbacks are also done
00> Getting location failed
00> 
00> Requesting low accuracy GNSS location...
00> [00:05:47.786,682] <inf> location: Method specific timeout expired
00> [00:05:47.793,670] <wrn> location: GNSS timed out possibly due to too short GNSS time windows
00> [00:05:47.803,619] <err> location: Location acquisition failed and fallbacks are also done
00> Getting location timed out

I am looking information about those error -14 or -2 but can't get any information about these.

Anybody has solution or information to share with me? thanks, really appreciate it.

Parents Reply Children
Related