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

nRF9160 A-GPS SUPL run error

Hello:

I'm testing nrf9160's A-GPS function, and I find that an error of SUPL will be reported at runtime:

I use master branch of the nrf  repository(nrf/samples/nrf9160/gps); the modem version is v1.1.1(mfw_nrf9160_1.1.1.zip);the SUPL client library  is nrf9160_libsupl-v0.5.1-c145bfb.zip.

I modified SUPL server and server port to local server and port:

If I didn't modify SUPL server and server port to local server, dns fail(because we can't use google service in China).

so please give me some advices! Thanks

Best regards!

Harry

Parents Reply
  • There seems to be something wrong with your modem trace.

    It should be much bigger (the size grows to several hundreds of kilobytes quite quickly).

    Could you try again?

Children
  • Hi, Didrik:

    I've tried according to your suggestion, but the result is the same.

    The DEMO(nrf/samples/nrf9160/gps)starts LTE only for a short time(a few seconds),after that, LTE is closed, so the modem trace size is smaller.

    Best regards,

    Harry

    nRF9160_DK_A-GPS_1.zip

  • Hi, Didrik:

    Could you see find problems only from the log?

    Best regards,

    Harry

  • No, it was empty as well.

    I have tested taking a modem trace when running the A-GPS sample, and the size of my trace increased with several kilobytes per second.

    I have created a modified sample that activates modem tracing automatically. All you have to do is to start capturing a trace, then program the modified sample (it already uses your modified SUPL server).

    When testing my modified sample, I got the same error as you did. I have also requested help from the SDK team to identify the problem.

    May I ask what SIM card you are using?

    Also, I noticed that you give the SUPL server address as an IPv4 address, but it is resolved to an IPv6 address. Does your SUPL server support IPv6?

    agps_trace_china.zip

  • Hi, Didrik:

    Thanks for your work.I will test your DEMO.

     I am using China Mobile Communications Group Co.,Ltd SIM(CMCC) ,and  I need to make sure if my SUPL server support  IPv6.

    Best regards,

    Harry

  • Were you able to capture a modem trace?

    The IPv6 address might just have been due to the way the sample prints the address.

    Do you know what SUPL version your SUPL server is using?