This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Hi,I am working on AGPS sample on ncs version 1.5.0 ..Downloaded the corresponding supl_client_library.Where as i am facing an issue with ipv4 from library.Can some one help me out on how to resolve this?

*** Booting Zephyr OS build v2.4.99-ncs1  ***
[2021-03-08 11:16:38] I: A-GPS sample has started
[2021-03-08 11:16:38] Enabling PSM
[2021-03-08 11:16:38] Setting PSM values - RPTAU - 00100001, RAT - 11100001
[2021-03-08 11:16:38] Disabling EDRX
[2021-03-08 11:16:38] Registering LTE Link Callbacks !
[2021-03-08 11:16:38] LTE Link Connecting...
[2021-03-08 11:16:40] +CEREG: 2,"C053","000A8F0F",9,0,0,"11100000","11100000"
[2021-03-08 11:16:40] LTE cell changed: Cell ID: 691983, Tracking area: 49235
[2021-03-08 11:16:40] +CSCON: 1
[2021-03-08 11:16:40] RRC mode: Connected
[2021-03-08 11:16:42] +CEREG: 1,"C053","000A8F0F",9,,,"00000010","00011111"
[2021-03-08 11:16:42] LTE Link Connected!
[2021-03-08 11:16:42] Network registration status: Connected - home network
[2021-03-08 11:16:42] PSM parameter update: TAU: 18600, Active time: 4
[2021-03-08 11:16:42] D: MAGPIO set: AT%XMAGPIO=1,0,0,1,1,1565,1586
[2021-03-08 11:16:42] D: COEX0 set: AT%XCOEX0=1,1,1565,1586
[2021-03-08 11:16:42] D: GPS socket created, fd: 1232491587
[2021-03-08 11:16:42] GPS Initialised succesfully
[2021-03-08 11:16:42] +CGEV: IPV6 0
[2021-03-08 11:16:42] Match for +CGEV notification
[2021-03-08 11:16:42] Received notification +CGEV: IPV6 0
[2021-03-08 11:16:42]
[2021-03-08 11:17:12] +CSCON: 0
[2021-03-08 11:17:12] RRC mode: Idle
[2021-03-08 11:19:12] D: GPS mode is enabled
[2021-03-08 11:19:12] D: GPS operational
[2021-03-08 11:19:12] I: Periodic GPS search started with interval 240 s, timeout 120 s
[2021-03-08 11:19:12] gps handler
[2021-03-08 11:19:12] I: GPS_EVT_SEARCH_STARTED
[2021-03-08 11:19:12] D: A-GPS data update needed
[2021-03-08 11:19:12] gps handler
[2021-03-08 11:19:12] I: GPS_EVT_AGPS_DATA_NEEDED
[2021-03-08 11:19:12] D: Using GPS driver to input assistance data
[2021-03-08 11:19:12] I: SUPL is initialized
[2021-03-08 11:19:14] +CSCON: 1
[2021-03-08 11:19:14] RRC mode: Connected
[2021-03-08 11:19:22] E: Failed to resolve IPv4 hostname supl.google.com, errno: -10
[2021-03-08 11:19:22] E: Failed to open SUPL socket
[2021-03-08 11:19:22] E: SUPL request failed, error: -10
[2021-03-08 11:19:22] E: Failed to request A-GPS data, error: -10
[2021-03-08 11:19:22] gps handler
[2021-03-08 11:19:22] D: Tracking: 0 Using: 0 Unhealthy: 0
[2021-03-08 11:19:22] D: Seconds since last fix 164
[2021-03-08 11:19:22] gps handler
[2021-03-08 11:19:22] D: Waiting for time window to operate
[2021-03-08 11:19:22] gps handler
[2021-03-08 11:19:22] I: GPS_EVT_OPERATION_BLOCKED
[2021-03-08 11:19:32] D: GPS priority enabled

CTRL-A Z for help | 115200 8N1 | NOR | Minicom 2.7.90 | VT102 | Offline | ttyACM0                                                                                                            

Related