# eppconvert

Tools to parse and convert Daum Ergo Bike EPP files. This contains a
mostly complete specification of the epp/eup file format, using
python-construct.

## Requirements

 * [python](https://www.python.org) 2.7 or 3.4
 * [python-construct](https://pypi.python.org/pypi/construct) 2.8

## gpx2epp

Reads gpx file and writes epp version 7 file to stdout. Example usage:

	gpx2epp.py track.gpx 200 > track.epp

The optional second parameter determines the stepsize in meters the
epp file uses. The ergo bike can cope with arbitrary stepsizes, but
only files with a stepsize of 200 can be modified in the bike UI
editor.

Only the first track of the GPX is converted, including all track
segments.

## eppread

Reads an epp file and prints a textual representation to
stdout. Can be useful for debugging. Example usage:

	eppread.py track.epp 5

The optional second parameter limits the number of data points that
are printed.

# eppconvert

Tools to parse and convert Daum Ergo Bike EPP files. This contains a
mostly complete specification of the epp/eup file format, using
python-construct.

## Requirements

 * [python](https://www.python.org) 2.7
 * [python-construct](https://pypi.python.org/pypi/construct) 2.8
   The distribution-provided version will likely be too old, so install
   the latest version with: `pip install construct`

## gpx2epp

Reads gpx file and writes epp version 7 file to stdout. Example usage:

	./gpx2epp.py track.gpx 200 > track.epp

The optional second parameter determines the stepsize in meters the
epp file uses. The ergo bike can cope with arbitrary stepsizes, but
only files with a stepsize of 200 can be modified in the bike UI
editor.

Only the first track of the GPX is converted, including all track
segments.

## eppread

Reads an epp file and prints a textual representation to
stdout. Can be useful for debugging. Example usage:

	./eppread.py track.epp 5

The optional second parameter limits the number of data points that
are printed.

Remove python 3.4 from supported versions for now
Remove python 3.4 from supported versions for now

While parsing works fine with python 3.5 and 3.6, the output part of
gpx2epp is completely wrong. E.g instead of the expected result:

00000000  45 57 32 5f 45 55 50 20  07 00 00 00 00 00 00 00  |EW2_EUP ........|

you get:

00000000  62 27 45 57 32 5f 45 55  50 20 5c 78 30 37 5c 78  |b'EW2_EUP \x07\x|
