View Single Post
Posts: 58 | Thanked: 223 times | Joined on Apr 2017 @ Germany
#633
Originally Posted by abranson View Post
That's a shock - never seen that before! Looks like there are two hidden apps on the watch that only appear when you launch them. Might try to do that...

As for sending data to them, that would require a new interface in Rockpool. Afaik there's no other way to send data like that to the watch without creating your own watch app. You'd include a javascript phone-side portion of the app, which could then retrieve data. Otherwise it's all timeline pins.
Hi abranson,

I took some time to investigate in the sport system app on the pebble and found out some things:
- gadgetbridge supports this and it works with e.g. meerun
- gadgetbridge can write logfiles
- android can write bluetooth logfiles

So that should help us to bring some light into the dark...

In the gadgetbridge logfile, you can see the following:
- the uuid of the sport system app is 4dab81a6-d2fc-458a-992c-7a1f3b96a970
- in the first line the app is startet and in the last line it is stopped
- at 14:05:01.510 the first values are send to the app as json string
- first value is the duration: {"key":0,"type":"string","length":0,"value":"00:00 "}
- second value is the distance: {"key":1,"type":"string","length":0,"value":"0. 0"}
- I don't know what the third value is
- fourth value is the pace: {"key":2,"type":"string","length":0,"value":"---"}
- at 14:05:15.965 I pressed the pause button
- at 14:05:27.360 I pressed the pause button again

Hopefully this gives you enough to start with.
I would love to have a dbus interface to which I can send these values and rockpool would then send it to the sport app on the watch
Attached Files
File Type: txt gadgetbridge_log.txt (14.6 KB, 77 views)
File Type: txt btsnoop_hci.txt (763 Bytes, 59 views)
 

The Following 3 Users Say Thank You to jdrescher For This Useful Post: