[SOLVED] Bluetooth - start/stop (switch on/off) via CLI ?
Hi to all
Someone know how to start/stop (switch on/off) bluetooth via CLI ? Already tried, but without success:
dbus-send --type=method_call --dest=com.jolla.Bluetooth /com/jolla/Bluetooth org.freedesktop.DBus.Properties.Set string:"enable"
Thanks
You can restart/stop/start the bluetooth.service, do you want that ? systemctl restart bluetooth.service
fawz ( 2014-04-26 06:11:44 +0200 )editIt's not what I need, I mean on/off BT like you do from the setting -> right upper corner...
I found that I can switch BT on with this command:
but the problem is after 2 seconds it start switching BT off (you can see the running line on the top side of screen. If in this moment you will run this command:
it will stop it and BT stayed ON. But now I can't switch BT off, the "endSession" command not work :(
Schturman ( 2014-04-26 10:55:05 +0200 )edit