Use supl_client_abort() A GPS SUPL nrf9160

Hi.

I use GPS with SUPL client library, so I need your help.

I enabled CONFIG_AGPS_SRC_SUPL and use gps_agps_request() function to request agps

I found that in supl_start(), you don't use supl_client_abort() function.

This document (https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/libraries/others/supl_os_client.html#supl-client) noted that  "The SUPL client OS integration library then starts the SUPL session by calling the supl_client_session() function from the SUPL client library with the supl_session_ctx_t parameter. The application does not return from this function until the SUPL session is finished or the supl_client_abort() function is called.". 

I want use supl_client_abort() but segger embedded studio can't build it. It said "undefine reference supl_client_abort" although I included "supl_session.h".

How can I use it?

Thank you.

Parents Reply Children
  • Hi,

     

    haohv6 said:
    Another issue, I use Agps with supl, it work fine but sometimes, Its position is wrong ( It may be up to thousands of kilometers).

    That almost sounds like a corrupted buffer/uart output?

    Does it continuously report the wrong position?

    haohv6 said:
    I use sdk 1.4.0 and fw 1.2.3, I don't use Low accurancy GPS mode.

    Have you tested on a newer ncs version? We're currently on v1.7.1.

     

    Kind regards,

    Håkon

Related