View Single Post
Posts: 1,313 | Thanked: 2,978 times | Joined on Jun 2011 @ Finland
#1571
Originally Posted by slarti View Post
I got bored yesterday and was thinking about listening to dbus-signals (I assume everyone does exactly this when bored). I also happened to try connecting my N9 to my computer via bluetooth. As a result I came up with a sort of proof-of-concept script to get the bluetooth connected/disconnected rule working with Profilematic.
Thanks, good stuff here... I failed doing this trying to use to official Bluetooth APIs. My next step would have been to try by trying to spy the DBus APIs, but I lost motivation as I had used so much time trying to make the code work already.

But if this works, it might be relatively straight-forward (yet unfortunately still time-consuming) to use this code to include Bluetooth condition into ProfileMatic.
__________________
My N9/N950 projects:
 

The Following User Says Thank You to ajalkane For This Useful Post: