Pitmairen / bryton-gps-linux

An attempt to read Bryton GPS devices on Linux
GNU General Public License v3.0
29 stars 14 forks source link
cycling fitness gps gps-device python training

Bryton GPS on linux

This is an attempt to make Bryton GPS devices usable on Linux.

Code for the Rider40 is now available in the code directory.

There is also branches for Rider20, Rider20+, Rider35, Rider310 and Rider50:

It currently has the following functionality:

Use the --help argument to see all the options.

The code is released under the GPL v3 license.

I have only access to a Rider40, but im interested in data from other devices. See dump.py for an example how to read the data from you device. It probably works with other devices.

Rider 40:

Data Description for Rider40 <https://github.com/pitmairen/bryton-gps-linux/raw/master/Rider40>_.

Usage:

You need Python 2.7.

And if you are using one of Rider20, Rider40, Rider35, you also need the py_sg module <https://pypi.python.org/pypi/py_sg/>_. Rider50 and Rider20+ don't need this.

This can be installed with pip or easy_install:

pip install py_sg

To access the device without root access you can use the following udev rule: (Not needed by Rider50 and Rider20+)

SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="5720", GROUP="users"

Place this into the file "/etc/udev/rule.d/99-brytongps.rules" you may have to reboot for it to take effect.

Now you can run:

$ python brytongps.py -h