|
2016-11-13
, 00:34
|
|
Posts: 6,436 |
Thanked: 12,701 times |
Joined on Nov 2011
@ Ängelholm, Sweden
|
#2
|
The Following User Says Thank You to coderus For This Useful Post: | ||
|
2016-11-13
, 11:26
|
|
Posts: 654 |
Thanked: 2,368 times |
Joined on Jul 2014
@ UK
|
#3
|
The Following User Says Thank You to Feathers McGraw For This Useful Post: | ||
|
2016-11-13
, 12:22
|
|
Posts: 433 |
Thanked: 727 times |
Joined on Oct 2012
@ Costa Blanca, España
|
#4
|
dbus-send --system --print-reply --dest=net.connman /net/connman/technology/bluetooth net.connman.Technology.SetProperty string:"Powered" variant:boolean:true
dbus-send --system --print-reply --dest=net.connman /net/connman/technology/bluetooth net.connman.Technology.SetProperty string:"Powered" variant:boolean:false
The Following 5 Users Say Thank You to Markkyboy For This Useful Post: | ||
Tags |
bluetooth, rockpoold, systemd, user script |
|
I've been rummaging with dbus, so far I discovered this using qdbus:
Anyone know how to do this? The end goal is to create a script to turn bluetooth on and restart rockpoold afterwards, and launch it as a user script with systemd (currently on fairphone 2 rockpool starts before bluetooth and therefore my pebble doesn't pair when I reboot until I turn on bluetooth and restart rockpool).