I love you. In a non-sexual, nerdy way. […awkward pause…] Anyway, if anyone is a beginner like me and wants to enable or disable Bluetooth via QML, feel free to copy and paste this working example: Code: DBusInterface { id:dbif bus: DBus.SystemBus service: 'net.connman' path: '/net/connman/technology/bluetooth' iface: 'net.connman.Technology' function enable(){ var valueVariant = true; dbif.typedCall('SetProperty', [ {'type':'s', 'value': 'Powered'}, {'type':'v', 'value': valueVariant} ]); } function disable(){ var valueVariant = false; dbif.typedCall('SetProperty', [ {'type':'s', 'value': 'Powered'}, {'type':'v', 'value': valueVariant} ]); } } Note: I found the extra var statement to be necessary – from what I understand, writing true/false directly seems to be cast as Boolean, not as Variant.
DBusInterface { id:dbif bus: DBus.SystemBus service: 'net.connman' path: '/net/connman/technology/bluetooth' iface: 'net.connman.Technology' function enable(){ var valueVariant = true; dbif.typedCall('SetProperty', [ {'type':'s', 'value': 'Powered'}, {'type':'v', 'value': valueVariant} ]); } function disable(){ var valueVariant = false; dbif.typedCall('SetProperty', [ {'type':'s', 'value': 'Powered'}, {'type':'v', 'value': valueVariant} ]); } }