/ttwatcher

TomTom Sport Watch utility

Primary LanguageC++GNU General Public License v2.0GPL-2.0

ttwatcher

Application to process .ttbin files and download files from TT Sport Watch.

I was having issues with my TT Sport watch and needed a way to process the .ttbin files that the watch was giving us but were corrupted. A quick search showed the two projects below had done a lot of the ground work but were written for Linux. So I set out to make a quick and dirty Windows version so I could experiment with improving the ttbin parsing / communications.

Current Releases

You can find all releases here https://github.com/altera2015/ttwatcher/releases

Documentation

The Wiki has some information on how to use the application.

Heritage

Original inspiration from:

Attributions

Building

Install Qt 5.x Framework and load up the TTWatcherMain.pro file in the src directory.

Windows

You might have to copy the hid.lib to your Release or Debug output directory if you get linking errors.

Linux

Tested on Ubuntu 14.04, 14.10 and 15.04.

On Linux if your app does not run as root you'll need to have permission to access the hid device. The easiest way is this:

$ cat /etc/udev/rules.d/99-tomtom.rules
SUBSYSTEMS=="usb", ATTRS{idVendor}=="1390", ATTRS{idProduct}=="7474", MODE="666"

More discerning users might setup a special user group and only allow that user group access.

$ sudo apt-get install qtbase5-dev qt5-qmake

# enable QT5 if also QT4 is installed
$ export QTCHOOSER_RUNTOOL=qtconfig
$ export QT_SELECT=5

$ qmake -v
QMake version 3.0
Using Qt version 5.2.1 in /usr/lib/x86_64-linux-gnu

# prepare export credentials
$ cd ttwatcher/src
$ cp strava_auth.h.orig strava_auth.h
$ cp runkeeper_auth.h.orig runkeeper_auth.h

Build from CLI:

$ cd ..
$ mkdir build && cd build
$ qmake ../TTWatcherMain.pro 
$ make
$ sudo make install
$ sudo install -m 755 -p src/ttwatcher /usr/local/bin
$ ttwatcher

Build using GUI IDE:

$ sudo apt-get install qtcreator
$ qtcreator

Import project by opening the TTWatcherMain.pro file.