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

questions for AGPS

Hi

I merged the AGPS to serial_lte_modem slm_at_gps.c but it did not work:

1, if I activate LTE in gps_thread_fn(), it will be failed in supl_session();

00> Established LTE link
00> 
00> Starting SUPL session
00> ip 6cb1:61c0:: (c061b16c) port 7276
00> 
00> ossinit failed, rc: 8
00> 
00> SUPL session internal resources released
00> 
00> Done

2, If I activated LTE and attached to network before starting GPS, the gps_data.data_id will never be NRF_GNSS_AGPS_DATA_ID, so the GPS will have no opportunity to download SUPL data from server. why?

Parents
  • Hi.

    Libsupl error 8 is LIBSUPL_SESSION_MISSING_ERR. Are you certain that you integrated the SUPL library correctly?

    Have you enabled debug logging in the library? That might provide more details about what goes wrong.

    Best regards,

    Didrik

  • Hi 

    Are you certain that you integrated the SUPL library correctly?

    How to ensure this? I download the library from your site and put them into "nrf\ext\lib\bin\supl"

    Have you enabled debug logging in the library?

    How to enable the library logging?

    Updated the agps log as below:

    00> Starting SUPL session
    00> [00:00:22.179,504] <inf> lte: +CEREG: 2,"0001","01A2D101",7,0,0,"11100000",~
    00> [00:00:22.490,875] <inf> lte: +CEREG: 1,"0001","01A2D101",7,,,"00001111","1~
    00> [00:00:22.490,875] <inf> lte: Connected to LTE network.
    00> Established LTE link
    00> 
    00> ip 6cb1:61c0:: (c061b16c) port 7276
    00> 
    00> ossinit failed, rc: 8
    00> 
    00> SUPL session internal resources released
    00> 
    00> [00:00:22.644,195] <err> agps: SUPL session failed: -15
    00> Done
    00> 
    00> [00:00:22.682,647] <inf> lte: +CEREG: 0,"0001","01A2D101",7,0,0,"11100000",~

Reply
  • Hi 

    Are you certain that you integrated the SUPL library correctly?

    How to ensure this? I download the library from your site and put them into "nrf\ext\lib\bin\supl"

    Have you enabled debug logging in the library?

    How to enable the library logging?

    Updated the agps log as below:

    00> Starting SUPL session
    00> [00:00:22.179,504] <inf> lte: +CEREG: 2,"0001","01A2D101",7,0,0,"11100000",~
    00> [00:00:22.490,875] <inf> lte: +CEREG: 1,"0001","01A2D101",7,,,"00001111","1~
    00> [00:00:22.490,875] <inf> lte: Connected to LTE network.
    00> Established LTE link
    00> 
    00> ip 6cb1:61c0:: (c061b16c) port 7276
    00> 
    00> ossinit failed, rc: 8
    00> 
    00> SUPL session internal resources released
    00> 
    00> [00:00:22.644,195] <err> agps: SUPL session failed: -15
    00> Done
    00> 
    00> [00:00:22.682,647] <inf> lte: +CEREG: 0,"0001","01A2D101",7,0,0,"11100000",~

Children
Related