Giter Club home page Giter Club logo

armstrong's Introduction

armstrong

About

Retrieve EPO.BIN GPS data from Garmin's servers on any platform that you can compile a Go binary for, rather than only those that support Garmin Connect. Since Garmin's software doesn't run natively on Linux, it's useful there.

EPO.BIN is GPS Extended Prediction Orbit (EPO) satellite data valid for 7 days, used to help speed up GPS locking on Garmin devices that support this.

For Forerunner devices, the file should be copied to GARMIN/REMOTESW/EPO.BIN on the watch.

Alternatives

There are other existing options, e.g. running curl and then a short Ruby script as detailed in this blog post, or using postrunner, a more complete application which also uses Ruby. However, this code can be compiled into a standalone binary, for different platforms, and then run without any dependencies.

Don't want to run at all?

This repository hosts a daily download of EPO.BIN.

Usage

Download

If you don't want to build from source, Linux and Windows binaries are built from tagged versions via GitHub Actions.

Build

With Go installed:

  • go build or go install

Or, use the Dockerfile via make:

  • make build-linux (for a Linux build)
  • make build-windows (for a Windows build)

Run

Just run the compiled binary. EPO.BIN should be generated in the same directory.

Credits

Code uses the POST data and idea from the blog post here and is also based on the GPL v2 licensed code in postrunner, specifically EPO_Downloader.rb. Go code is my contribution.

armstrong's People

Contributors

dependabot[bot] avatar stevenmaude avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

bbbbbr

armstrong's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.