Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GNSS always busy--can't progress #17

Open
TFenby opened this issue Jun 5, 2019 · 14 comments
Open

GNSS always busy--can't progress #17

TFenby opened this issue Jun 5, 2019 · 14 comments

Comments

@TFenby
Copy link

TFenby commented Jun 5, 2019

I'm trying your simple GNSS tests/examples, and finding that the first loop of while (GNSS.busy()) { } never exits. I checked the source and found that it just returns the value of gnss_busy(), but can't find any source for that--I assume it's part of the GPS chip? Regardless, do you know what might be causing it never not to be "busy"?

@kriswiner
Copy link
Owner

kriswiner commented Jun 5, 2019 via email

@TFenby
Copy link
Author

TFenby commented Jun 5, 2019

Long Cricket. This sketch and line in particular:

@TFenby
Copy link
Author

TFenby commented Jun 5, 2019

There's also the example named "GPS" that came with the Arduino IDE package via https://github.com/GrumpyOldPizza/ArduinoCore-stm32l0

@kriswiner
Copy link
Owner

kriswiner commented Jun 5, 2019 via email

@TFenby
Copy link
Author

TFenby commented Jun 5, 2019

Yes to both questions. I've actually successfully registered the LoRaWAN portion with TTN at this point. Just can't figure out what's up with GNSS.

@kriswiner
Copy link
Owner

kriswiner commented Jun 5, 2019 via email

@TFenby
Copy link
Author

TFenby commented Jun 5, 2019

Is there another repository for that besides https://github.com/GrumpyOldPizza? I've looked through your GitHub, Tindie, and even HAD but have only really found your sketches and GrumpyOldPizza's Arudino SDK board info.

@kriswiner
Copy link
Owner

kriswiner commented Jun 5, 2019 via email

@TFenby
Copy link
Author

TFenby commented Jun 5, 2019

Yeah, that's what I've done. Tlera Corp didn't show up in the boards manager, though, until I added https://grumpyoldpizza.github.io/ArduinoCore-stm32l0/package_stm32l0_boards_index.json as a board manager URL in the IDE. Perhaps that's where I went astray?

@kriswiner
Copy link
Owner

kriswiner commented Jun 5, 2019 via email

@TFenby
Copy link
Author

TFenby commented Jun 5, 2019

Yes to both. Sounds like I haven't made any obvious mistakes so far, so that's heartening at least. I think for the time being I'm going to focus back in on TTN and come back to this with a fresher mind. If I continue to have issues I'll reach out again. Thank you for your very rapid responses!

@kriswiner
Copy link
Owner

kriswiner commented Jun 5, 2019 via email

@TFenby
Copy link
Author

TFenby commented Jun 5, 2019

I'll give pin 5 a shot. And I do have an external antenna on order now to see how that affects it. Will let you know the results.

@kriswiner
Copy link
Owner

kriswiner commented Jun 6, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants