RAK8212 problem when used GPS & GPRS at the same time #7300
Unanswered
espruino-discuss
asked this question in
Other Boards
Replies: 1 comment
-
Posted at 2019-04-04 by @gfwilliams 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 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2019-04-04 by user97438
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.
Beta Was this translation helpful? Give feedback.
All reactions