[SailfishDevel] Bluetooth battery level monitoring

2019-12-12 Thread Anton Thomasson
Hi I'd really like to have some monitoring of the battery level. After having read up a bit on how it works, i happened by the relevant Bluetooth AT event in the journal log. Dec 06 18:45:11 Sailfish ofonod[2932]: Server: < AT+IPHONEACCEV=2,1,3,2,0\r That says 2 pairs of data, and the pair start

[SailfishDevel] Cannot resume playback with Bluetooth headphones

2019-12-08 Thread Anton Thomasson
Dear list, I have an app where in order to keep streaming audio playing (when i switch between WiFi and celluar) i have hooked up onError of the QML MediaPlayer to a timer which tries to start playing again. This has been working great so far, as in like 95%+ success rate, but hardly ever succeed

Re: [SailfishDevel] Get current SSID?

2019-12-01 Thread Anton Thomasson
ey come online on a network > > Op zo 1 dec. 2019 om 21:06 schreef Anton Thomasson < > antonthomas...@gmail.com>: > >> Hi Slava, >> >> Thanks, that was really helpful. >> I have it working in a DBusInterface now, that should do well enough for >> my i

Re: [SailfishDevel] Get current SSID?

2019-12-01 Thread Anton Thomasson
Hi Slava, Thanks, that was really helpful. I have it working in a DBusInterface now, that should do well enough for my intents :) Br, Anton Den sön 1 dec. 2019 kl 18:58 skrev Slava Monich : > Hi Anton, > > I would say the easiest way is to find a connman service which matches > the following cr

[SailfishDevel] Get current SSID?

2019-12-01 Thread Anton Thomasson
Hi list, How would i go about getting the current SSID in an app? Is there even a "proper way"? The reason i'm asking is that i'm working on (IPP) printer support as promised, and i'd like to "scope" saved printers with the SSID of the network that they reside on. No reason to look for things tha

Re: [SailfishDevel] Looking for IOCTL commands to probe /etc/diag

2017-08-21 Thread Anton Thomasson
Oh, one more thing... it's probably /dev/diag you are looking for :) /Anton 2017-08-21 21:02 GMT+02:00 Anton Thomasson : > Hi Laurent, > > I played around with a similar thing quite a while back, being snoopsnitch > and osmo-qcdiag. > For compilation, installed gcc on the ph

Re: [SailfishDevel] Looking for IOCTL commands to probe /etc/diag

2017-08-21 Thread Anton Thomasson
Hi Laurent, I played around with a similar thing quite a while back, being snoopsnitch and osmo-qcdiag. For compilation, installed gcc on the phone itself, since as you say only simple C code is needed. There seemed to be problems with /dev/diag on my original Jolla that i never got past, however

Re: [SailfishDevel] Suggestion: expose androids intents on dbus

2015-02-23 Thread Anton Thomasson
ch about DBus but I imagine > it's already written to accomodate DBus message sandboxing or namespacing, > so security wise I think the cards are likely to be in Sailfish's hands, > not Alien's. Though, as Alien is closed source and likely doesn't run in a > sandbox, i

[SailfishDevel] Suggestion: expose androids intents on dbus

2015-02-15 Thread Anton Thomasson
Hi I recently managed to execute Android commands from outside of Alien Dalvik. This was achieved by looking at how it's done when apps are launched and Alien Dalvik is started normally. To see the resulting scripts, go here: https://github.com/attah/alien-tools Now to the point, I think these s