There have errors:
ncaught Error: Cannot read property 'startsWith' of undefined at line 1 col 5 if(a.startsWith("AT+"))return e;if(a.startsWith("+CME ERROR:...
when calling gps.get(function(data) and GPRS On.
there is no such error if using GPS only.
@user97438 started
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.
There have errors:
ncaught Error: Cannot read property 'startsWith' of undefined
at line 1 col 5
if(a.startsWith("AT+"))return e;if(a.startsWith("+CME ERROR:...
when calling gps.get(function(data) and GPRS On.
there is no such error if using GPS only.