I've just made some changes to the code so if you try a cutting edge build you shouldn't get those errors.
HOWEVER you may just get a 'timeout' error instead now. The error was coming because the RAK8212 modem wasn't responding to the GPS request within 1 second - and the changes won't do anything to fix that.
Can you post up a minimal example that exhibits the problem?
It may just be that moving the GPS initialisation to some point when the modem isn't as busy will fix it
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I've just made some changes to the code so if you try a cutting edge build you shouldn't get those errors.
HOWEVER you may just get a 'timeout' error instead now. The error was coming because the RAK8212 modem wasn't responding to the GPS request within 1 second - and the changes won't do anything to fix that.
Can you post up a minimal example that exhibits the problem?
It may just be that moving the GPS initialisation to some point when the modem isn't as busy will fix it