View Single Post
Markkyboy's Avatar
Posts: 433 | Thanked: 727 times | Joined on Oct 2012 @ Costa Blanca, Espaņa
#4
To turn bluetooth ON via dbus, you can use;

Code:
dbus-send --system --print-reply --dest=net.connman /net/connman/technology/bluetooth net.connman.Technology.SetProperty string:"Powered" variant:boolean:true
To turn bluetooth OFF, change true for false at the end of the line;

Code:
dbus-send --system --print-reply --dest=net.connman /net/connman/technology/bluetooth net.connman.Technology.SetProperty string:"Powered" variant:boolean:false
Taken from an answer given by Schturman with solution from 'coderus' on TJC;

https://together.jolla.com/question/...onoff-via-cli/ - originally from - http://talk.maemo.org/showpost.php?p...6&postcount=64

Regards,
__________________
..oO(Don't just sit there standing around, pick up a shovel and sweep up!)Oo..

Last edited by Markkyboy; 2016-11-14 at 22:21.
 

The Following 5 Users Say Thank You to Markkyboy For This Useful Post: