Determine if SUPL is working on EG25-G

I am using an EG25-G module and want to use A-GPS.

I have XTRA data (gpsOneXtra) working correctly (after a fair bit of work and realizing that the URL in the application note v1.2 is wrong [use http://xtrapath4.izatcloud. net/xtra2.bin], see here: http s://forums.quectel.
com/t/gpsonextra-not-working-in-bg96/2703/2).

I am setting my SUPL URL and port, but I don’t know how to verify if it is working. In another example, htt
p://www.noomio. com.au/wiki/bg96/bg96-gnss-example-using-a-gps-google-supl-server/, I see connection and disconnect notices, but I don’t get those on my module.

What should I do to tell if SUPL is working? How does SUPL compare to XTRA?

Thanks for the help!

  • Andy

Here is a trace of my commands with XTRA disabled:

cmd: AT+QGPSEND
OK

Del data
cmd: AT+QGPSDEL=0
OK

Set supl...
cmd: AT+QGPSSUPLURL="supl.google.com:7276"
OK

SUPL URL:
cmd: AT+QGPSSUPLURL?
+QGPSSUPLURL: "supl.google.com:7276"

OK

cmd: AT+QGPSCFG="plane",0
OK

Starting GPS session...
cmd: AT+QGPS=1,2
>> OK

And with XTRA enabled:

Stop
cmd: AT+QGPSEND
OK

Del data
cmd: AT+QGPSDEL=0
OK

Set supl...
cmd: AT+QGPSSUPLURL="supl.google.com:7276"
OK

SUPL URL:
cmd: AT+QGPSSUPLURL?
+QGPSSUPLURL: "supl.google.com:7276"

OK

cmd: AT+QGPSCFG="plane",0
OK

Loading binary data....
Checksum =  0x433a
cmd: AT+QFUPL="RAM:xtra2.bin",60717,5,1
resp =  CONNECT

Writing 0 - 1025 bytes [1025 bytes]... OK
Writing 1025 - 2050 bytes [1025 bytes]... OK
...cut....
Writing 59450 - 60475 bytes [1025 bytes]... OK
Writing 60475 - 60717 bytes [242 bytes]... OK

Enabling AGPS...
cmd: AT+QGPSXTRA=1
+QFUPL: 60717,433a

OK

Getting UTC time...
Time str:2020/07/25,03:00:10
Loading time...
cmd: AT+QGPSXTRATIME=0,"2020/07/25,03:00:10",1,1,3500
OK

Setting XTRA data path...
cmd: AT+QGPSXTRADATA="RAM:xtra2.bin"
OK

Delete file
cmd: AT+QFDEL="RAM:xtra2.bin"
OK

Waiting for data to settle...    <--- NOTE: I had to add a 2 second delay here, otherwise I'd get ERROR on the next command and a slow fix when I started GPS.
XTRA data status:
cmd: AT+QGPSXTRADATA?
+QGPSXTRADATA: 10080,"2020/07/24,21:00:00"

OK

Starting GPS session...
cmd: AT+QGPS=1,2
>> OK

(sorry about the spaces in the URLs, forum doesn’t let me post more than 2 links)

Dear Abarry,
When SUPL is working, the TTFF of cold start should be below 15 seconds. If not, the value should be more than 30 seconds. SUPL has similar performance compared to XTRA.

Best Regards