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();

Fullscreen
1
2
3
4
5
6
7
8
9
10
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
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

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?