Search:
11:38:15 | AsteroidBot | [unofficial-watchfaces] jgibbon opened Pull Request #10 new watchfaces: "kitt" and "arc" (master -> master): https://git.io/vAcQC |
12:01:45 | AsteroidBot | [unofficial-watchfaces] FlorentRevest reviewed Pull Request #10 new watchfaces: "kitt" and "arc" (master -> master): https://git.io/vAc5O |
12:01:45 | AsteroidBot | [unofficial-watchfaces] FlorentRevest commented on Pull Request #10 new watchfaces: "kitt" and "arc" (master -> master): https://git.io/vAc5Y |
12:01:45 | AsteroidBot | [unofficial-watchfaces] FlorentRevest commented on Pull Request #10 new watchfaces: "kitt" and "arc" (master -> master): https://git.io/vAc53 |
12:01:45 | AsteroidBot | [unofficial-watchfaces] FlorentRevest reviewed Pull Request #10 new watchfaces: "kitt" and "arc" (master -> master): https://git.io/vAc5O |
12:01:45 | AsteroidBot | [unofficial-watchfaces] FlorentRevest commented on Pull Request #10 new watchfaces: "kitt" and "arc" (master -> master): https://git.io/vAc5s |
12:02:51 | AsteroidBot | [unofficial-watchfaces] FlorentRevest created comment on Issue #10 new watchfaces: "kitt" and "arc" https://git.io/vAc5W |
12:03:48 | AsteroidBot | [unofficial-watchfaces] FlorentRevest created comment on Issue #9 release = relief (9 Watchfaces to add) https://git.io/vAc5u |
12:11:38 | AsteroidBot | [unofficial-watchfaces] eLtMosen created comment on Issue #9 release = relief (9 Watchfaces to add) https://git.io/vAcds |
12:36:04 | kido | updates from the starfish side: so I've written this large codebase with libasteroid using QtBluetooth. it turns out that QtBluetooth wants to handle everything itself(especially the whole connection process) and since the L2CAP channel needs to be encrypted, QtBluetooth asks the kernel if it can set up a high security BLE connection but in the best case it gets rejected which eventually closes the |
12:36:06 | kido | connection, in the worst case my Jolla C kernel panics... apparently, in order to be able to set up that high sec channel we need to connect from the system side (ie: from bluetoothd) and only use the BlueZ's GATT DBus APIs. from what I could understand, this can not be done with QtBluetooth so I've been experimenting with gattlib instead but gattlib doesn't work on my computer (dbus crashes) and it doesn't |
12:36:08 | kido | cross compile cleanly with the sailfishos SDK (lots of missing symbols in the bluez libs and some type conversions it doesn't like...) so the experiment is still open |
12:37:51 | kido | if anyone is willing to help, I could push the current qtbluetooth based codebase but cross-compiling asteroid-ctrl is an easier way to reproduce the high sec L2CAP problem |
12:38:29 | kido | alternatively, I was also able to reproduce that problem with https://openrepos.net/content/martonmiklos/ble-scanner when discovering the battery service of my asteroid watch |
12:39:55 | kido | running the ble scanner from a terminal with strace, we can see that the kernel returns an EACCES error code. I've blindly tracked that down to https://github.com/KonstaT/sailfishos_kernel_jolla_msm8930/blob/master/net/bluetooth/l2cap_sock.c#L162 but setting CAP_NET_BIND_SERVICE doesn't fix the problem |
12:40:31 | locusf | argh |
12:40:31 | locusf | sounds quite horrific messa |
12:40:32 | locusf | -a |
12:40:36 | kido | it is :( |
12:41:04 | kido | it's been almost a month I've been stucked with that crap now, and I'm really losing patience |
12:41:57 | r0kk3rz | we can probably talk to jolla guys about the kernel panic at least |
12:42:21 | r0kk3rz | it could just be the jolla c |
12:44:58 | kido | it's under certain conditions, when you try to connect with qtbluetooth and then from the settings |
12:45:01 | kido | the phone reboots |
12:45:55 | kido | if you just connect from settings, the connection stays active really well (for more than a day without any disconnection and so on) |
12:46:33 | kido | which makes me think we should try to find a simple BlueZ's DBus GATT API wrapper (or write one, alternatively :( ) that "just works" on sailfish |
12:47:28 | kido | let the user connect from system settings, and then starfish communicates with starfishd on dbus and starfishd with bluetoothd on dbus as well |
12:50:51 | r0kk3rz | hmm i wonder how systemsettings works, theres probably a qml plugin or something |
12:51:05 | kido | yeah, I wonder as well but I don't think that code is public |
12:51:15 | kido | haven't had the time to check that yet |
12:51:47 | kido | maybe it just connects but never asks for a service discovery on the BLE services that require encryption |
12:52:26 | kido | well, no, that should work since it properly asks for pairing |
12:53:09 | kido | I'm really confused at that point, I wish this SFOS BLE stack was properly tested and documented |
12:54:30 | kido | and when I have a problem on asteroid, I can easily recompile everything with debugging logs from the kernel to the app but when it comes to my jolla c, it looks like the kernel building process is not documented at all, I have no idea how to rebuild bluez and so on |
12:54:41 | r0kk3rz | there looks to be a fork of a kde one https://git.merproject.org/mer-core/kf5bluezqt |
12:55:04 | kido | mhh, no support for GATT |
12:55:32 | kido | if BLE is not supported, we can't use that lib |
12:57:20 | r0kk3rz | yeah ble support is quite a new idea on sailfish |
12:57:31 | r0kk3rz | it wasnt that long they released bluez5 |
13:08:00 | AsteroidBot | [unofficial-watchfaces] jgibbon commented on Pull Request #10 new watchfaces: "kitt" and "arc" (master -> master): https://git.io/vAcxz |
13:08:00 | AsteroidBot | [unofficial-watchfaces] jgibbon reviewed Pull Request #10 new watchfaces: "kitt" and "arc" (master -> master): https://git.io/vAcxg |
13:12:01 | AsteroidBot | [unofficial-watchfaces] jgibbon reviewed Pull Request #10 new watchfaces: "kitt" and "arc" (master -> master): https://git.io/vAcxA |
13:12:01 | AsteroidBot | [unofficial-watchfaces] jgibbon commented on Pull Request #10 new watchfaces: "kitt" and "arc" (master -> master): https://git.io/vAcxx |
13:12:09 | AsteroidBot | [unofficial-watchfaces] jgibbon commented on Pull Request #10 new watchfaces: "kitt" and "arc" (master -> master): https://git.io/vAcxx |
13:14:20 | AsteroidBot | [unofficial-watchfaces] FlorentRevest commented on Pull Request #10 new watchfaces: "kitt" and "arc" (master -> master): https://git.io/vAcpI |
13:14:20 | AsteroidBot | [unofficial-watchfaces] FlorentRevest reviewed Pull Request #10 new watchfaces: "kitt" and "arc" (master -> master): https://git.io/vAcpL |
13:15:20 | AsteroidBot | [unofficial-watchfaces] jgibbon commented on Pull Request #10 new watchfaces: "kitt" and "arc" (master -> master): https://git.io/vAcpO |
13:15:20 | AsteroidBot | [unofficial-watchfaces] jgibbon reviewed Pull Request #10 new watchfaces: "kitt" and "arc" (master -> master): https://git.io/vAcp3 |
13:16:54 | AsteroidBot | [unofficial-watchfaces] FlorentRevest commented on Pull Request #10 new watchfaces: "kitt" and "arc" (master -> master): https://git.io/vAcpB |
13:16:54 | AsteroidBot | [unofficial-watchfaces] FlorentRevest reviewed Pull Request #10 new watchfaces: "kitt" and "arc" (master -> master): https://git.io/vAcpR |
13:18:11 | AsteroidBot | [unofficial-watchfaces] jgibbon created comment on Issue #10 new watchfaces: "kitt" and "arc" https://git.io/vAcpa |
13:49:16 | AsteroidBot | [unofficial-watchfaces] jgibbon synchronized Pull Request #10 new watchfaces: "kitt" and "arc" (master -> master): https://git.io/vAcQC |
13:52:26 | AsteroidBot | [unofficial-watchfaces] jgibbon created comment on Issue #10 new watchfaces: "kitt" and "arc" https://git.io/vACez |
18:36:36 | AsteroidBot | [unofficial-watchfaces] FlorentRevest created comment on Issue #10 new watchfaces: "kitt" and "arc" https://git.io/vACaS |
18:36:48 | AsteroidBot | [unofficial-watchfaces] FlorentRevest merged Pull Request #10 new watchfaces: "kitt" and "arc" (master -> master): https://git.io/vAcQC |
18:36:49 | AsteroidBot | [unofficial-watchfaces] FlorentRevest pushed 7 commit(s) to master: https://git.io/vACaH |
18:36:49 | AsteroidBot | John Gibbon: kitt watchface: initial commit (https://git.io/vACaQ) |
18:36:49 | AsteroidBot | John Gibbon: arc watchfaces: initial commit (https://git.io/vACa7) |
18:36:50 | AsteroidBot | John Gibbon: update readme (https://git.io/vACa5) |
18:36:50 | AsteroidBot | +4 more commits |
21:54:16 | AsteroidBot | [unofficial-watchfaces] eLtMosen commented on Pull Request #9 release = relief (9 Watchfaces to add) (master -> master): https://git.io/vACbZ |
21:54:16 | AsteroidBot | [unofficial-watchfaces] eLtMosen reviewed Pull Request #9 release = relief (9 Watchfaces to add) (master -> master): https://git.io/vACbn |
22:09:58 | AsteroidBot | [unofficial-watchfaces] eLtMosen commented on Pull Request #9 release = relief (9 Watchfaces to add) (master -> master): https://git.io/vACNQ |
22:09:58 | AsteroidBot | [unofficial-watchfaces] eLtMosen reviewed Pull Request #9 release = relief (9 Watchfaces to add) (master -> master): https://git.io/vACN7 |
22:13:31 | AsteroidBot | [unofficial-watchfaces] eLtMosen synchronized Pull Request #9 release = relief (9 Watchfaces to add) (master -> master): https://git.io/vNdOQ |
22:28:42 | AsteroidBot | [unofficial-watchfaces] eLtMosen created comment on Issue #9 release = relief (9 Watchfaces to add) https://git.io/vACpJ |
22:29:18 | AsteroidBot | [unofficial-watchfaces] eLtMosen edited comment on Issue #9 release = relief (9 Watchfaces to add) https://git.io/vACpJ |