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

43 add gps location and time sync support #53

Merged
merged 6 commits into from
Oct 8, 2023

Conversation

gkoh
Copy link
Owner

@gkoh gkoh commented Oct 8, 2023

Add support for the Grove GPS unit.

gkoh and others added 5 commits February 27, 2023 09:28
Trial runs show the camera sends 0x5042 every minute or so to request a
geo update.

Testing shows the NimBLE stack deadlocks if we try to send from the
notification callback handler. Thus, we set a variable and send the geo
update via the menu handling loop.

Set the GPS coordinates to Montevideo to test signed lat/long handling.
(This in-lieu of an actual GPS unit).
Hardcode the GPS reference time to Christmas day, 2024 at 12:34:56.

Correct the final characteristic write to be an indication, not a
notification.
This _seems_ to be more reliable, but needs more testing.
Add a settings menu entry to show real-time GPS information.
GPS is active as soon as system is started.
Must be in 'Remote Control' shutter menu for GPS data to be properly
updated.

This is still a work in progress, but looks like the major pieces are
working.
Battery life is atrocious at this stage.

LED will flash slowly to indicate GPS fix is pending.
Flash speed will increase when GPS fix is acquired.
If GPS updates are not received after 60 seconds, go back to pending.
Add header widget for GPS fix/nofix.
Additionally, redraw the GPS header widget on update.
@gkoh gkoh linked an issue Oct 8, 2023 that may be closed by this pull request
@gkoh gkoh merged commit 2c43766 into master Oct 8, 2023
@gkoh gkoh deleted the 43-add-gps-location-and-time-sync-support branch October 8, 2023 05:20
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

Successfully merging this pull request may close these issues.

Add GPS location and time sync support
1 participant