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 hangs indefinitely #19

Open
glenpike opened this issue May 30, 2020 · 0 comments
Open

GNSS hangs indefinitely #19

glenpike opened this issue May 30, 2020 · 0 comments

Comments

@glenpike
Copy link

I'm having problems initialising GNSS on the Hat.

My code is here:

  node = cellulariot.CellularIoTApp()
  node.setupGPIO()
  time.sleep(1)
  node.turnOnGNSS()
  time.sleep(30)
  node.disable()
  time.sleep(1)
  node.enable()

When I interrupt it, the stack trace is here:

  File "src/cosmic_test.py", line 73, in <module>
    main()
  File "src/cosmic_test.py", line 42, in main
    sixfab_sensors.init()
  File "/home/pi/cosmic-pi/src/sixfab_sensors.py", line 10, in init
    node.turnOnGNSS()
  File "/usr/local/lib/python3.7/dist-packages/sixfab_cellulariot-1.2.0-py3.7.egg/cellulariot/cellulariot.py", line 421, in turnOnGNSS
  File "/usr/local/lib/python3.7/dist-packages/sixfab_cellulariot-1.2.0-py3.7.egg/cellulariot/cellulariot.py", line 206, in sendATComm
  File "/usr/local/lib/python3.7/dist-packages/sixfab_cellulariot-1.2.0-py3.7.egg/cellulariot/cellulariot.py", line 30, in millis

I have the antenna plugged in, I am testing it outside, under cloudless sky and I have a SIM card inserted.

Should I be checking satellite coverage for my area, or is there something else I need to do or a way of checking?

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

1 participant