This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Working with A GPS got Error on SUPL session nrf9160 stack over Flow and nrf9160dk reboot again

Hi
I want to Integrate GPS(with A GPS assistance needed)with AWS iot example. when i start GPS on aws connect event ready .SUPL is initialized successfully and even SUPL socket is created successfully .inside SUPL session function i got error stack overflow and my nrf9160 dk reboot .I am using nRF Connect Sdk 1.5.0

I am using SUPL client library version 0.7.0 download from Nordic provided link and extract to the path  mention in nordic website.

Parents Reply Children
  • Hi,

     

    Waqar Ahmed said:
    I had figure out one more thing that if I start GPS on AWS event case AWS_IOT_EVT_READY:
    SUPL session created successfully(even no need to stop and start again) every time but if I start GPS LTE connected event k_sem_give(&lte_connected);
    Then all of these problem are raised.

    You should also not start a GPS session before the LTE Link is idle.

    It seems that you are creating two TCP (TLS) connections simultaneously, which can generate a lot of traffic on-air. If that is the case, it makes sense that you are able to get a better connection if you wait until your cloud is up and running before starting the AGPS session.

     

    Kind regards,

    Håkon

Related