Hi, I’m stuck on the sparkfun GNSS library version 2.0.15 (currently the library is at 2.2.8). I don’t know what version of the GNSS library exactly causes the issue, but I’ve tried a few releases and it just takes a long time to narrow it down. What I can do that always causes the problem is use the GNSS autoPVT in callback mode, while simultaneously writing to a BLE characteristic once a second and after about 15 seconds with the latest GNSS library it will crash with an mbed OS stack overflow. If I change the GNSS library back to 2.0.15 it works great.
Here’s the combination of versions that gets the stack overflow error:
Arduino Apollo3 board version 2.2.1
ArduinoBLE library version 1.2.2
Sparkfun ublox GNSS Arduino library version 2.2.8
The same code (apart from the required change to the GNSS library to use the ublox struct pointer) works fine with these versions:
Arduino Apollo3 board version 2.2.1
ArduinoBLE library version 1.2.2
Sparkfun ublox GNSS Arduino library version 2.0.15
I’m planning to create a tiny arduino sketch that demonstrates the problem, but it is a pretty big effort and maybe you have some ideas on why or what I should try? There seems to be a lot of great improvements to the GNSS library that I want to try and take advantage of. We really get pretty good results from 2.0.15 version of the library, but occasionally the GNSS module won’t respond to commands to setNavigationFrequency() and gets locked up and I wondered if newer versions fix these rare issues.
Thanks