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

"supl_session.h" file missing

Hi,

Im trying "https://github.com/NordicPlayground/fw-nrfconnect-nrf/blob/master/samples/nrf9160/gps/src/main.c" gsp example to check supl(AGPS) to integrate into my application. 

but im unable ti compile the example as it says "supl_session.h" file is missing.(even i do not find that file in ncs directory or github)

Could you please help resolving the issue.

Thanks,

Bala

Parents
  • Hi,

    Have you checked this?
    https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/include/supl_os_client.html


    The SUPL client library is released under a different license than the nRF Connect SDK. Therefore, you must download and install it separately to be able to use this module. Before you download the library, read through the license on the webpage. You must accept the license before you can download the library.

    You can download the SUPL client library from the nRF9160 DK product page.

    Download the nRF9160 SiP SUPL Client library zip file and extract it into the nrf/ext/lib/bin/supl/ folder. Make sure to maintain the folder structure that is used in the zip file.

    That zip file doesn't exist on DK downloads so I think you have to contact your Regional Sales Manager if you want the library.

    Regards,
    Tero

  • Hi,

    Thanks for information. downloaded the client and able to run the application.

    But application is unable to download the SULP data, getting error.

    *** Booting Zephyr OS build v2.1.99-ncs1-rc1-4-gff214d637e83 ***
    Staring GPS application
    Socket created
    Getting GPS data...
    Tracking: 1 Using: 0 Unhealthy: 0
    Seconds since last fix 0

    Scanning [|] Tracking: 1 Using: 0 Unhealthy: 0
    Seconds since last fix 0

    Scanning [/]
    New AGPS data requested, contacting SUPL server, flags 59
    +CEREG: 2,"0013","00436D0F",9
    +CEREG: 1,"0013","00436D0F",9
    LTE connected
    Established LTE link
    Starting SUPL session
    ULP encoding length: 39
    Bytes sent: 39
    read again
    read again
    read again
    read error: -1
    ULP ossDecode fail 5
    SUPL error: 1
    ULP encoding length: 18
    Sending SUPL message failed, bytes_sent: -1
    SUPL session internal resources released
    Done
    Tracking: 0 Using: 0 Unhealthy: 0
    Seconds since last fix 19

    Im using ipv6 and NB network. Data communication is working properly while using MQTT.

    Thanks,

    Bala

Reply
  • Hi,

    Thanks for information. downloaded the client and able to run the application.

    But application is unable to download the SULP data, getting error.

    *** Booting Zephyr OS build v2.1.99-ncs1-rc1-4-gff214d637e83 ***
    Staring GPS application
    Socket created
    Getting GPS data...
    Tracking: 1 Using: 0 Unhealthy: 0
    Seconds since last fix 0

    Scanning [|] Tracking: 1 Using: 0 Unhealthy: 0
    Seconds since last fix 0

    Scanning [/]
    New AGPS data requested, contacting SUPL server, flags 59
    +CEREG: 2,"0013","00436D0F",9
    +CEREG: 1,"0013","00436D0F",9
    LTE connected
    Established LTE link
    Starting SUPL session
    ULP encoding length: 39
    Bytes sent: 39
    read again
    read again
    read again
    read error: -1
    ULP ossDecode fail 5
    SUPL error: 1
    ULP encoding length: 18
    Sending SUPL message failed, bytes_sent: -1
    SUPL session internal resources released
    Done
    Tracking: 0 Using: 0 Unhealthy: 0
    Seconds since last fix 19

    Im using ipv6 and NB network. Data communication is working properly while using MQTT.

    Thanks,

    Bala

Children
Related