diff --git a/apps.json b/apps.json index 9e910e09a..0ece480cb 100644 --- a/apps.json +++ b/apps.json @@ -1554,7 +1554,8 @@ "shortName": "BangleRun", "icon": "banglerun.png", "version": "0.05", - "description": "An app for running sessions.", + "interface": "interface.html", + "description": "An app for running sessions. Displays info and logs your run for later viewing.", "tags": "run,running,fitness,outdoors", "allow_emulator": false, "storage": [ diff --git a/apps/banglerun/interface.html b/apps/banglerun/interface.html new file mode 100644 index 000000000..177904077 --- /dev/null +++ b/apps/banglerun/interface.html @@ -0,0 +1,216 @@ + + + + + +
+ + + + + diff --git a/apps/banglerun/src/gps.ts b/apps/banglerun/src/gps.ts index 3c0ee120d..bad6fd1c0 100644 --- a/apps/banglerun/src/gps.ts +++ b/apps/banglerun/src/gps.ts @@ -24,6 +24,10 @@ function parseNmea(state: AppState, nmea: string): void { const tokens = nmea.split(','); const sentence = tokens[0].substr(3, 3); + // FIXME: Bangle.js reports HDOP from GGA - can this be used instead + // of manually parsing all of the raw GPS data, which can cause FIFO_FULL + // errors? + switch (sentence) { case 'GGA': state.lat = parseCoordinate(tokens[2]) * (tokens[3] === 'N' ? 1 : -1);