[Interest] Bluetooth example (btchat) not working on linux

Thiago Macieira thiago.macieira at intel.com
Mon Sep 22 16:44:16 CEST 2014


On Monday 22 September 2014 07:50:10 Blasche Alexander wrote:
> Based on your description the following call fails:
> 
> QBluetoothLocalDevice device(QBluetoothAddress());
> 
> It is supposed to find the local default adapter but it fails. I have a
> couple of questions:
> 
> What Bluez version do you use?
> What version of Qt are you using?
> 
> If you use Bluez 4 please send me the output of the following command:
> 
> dbus-send --system --dest=org.bluez --print-reply /
> org.bluez.Manager.DefaultAdapter
> 
> If you have Bluez5 please send me the output of:
> 
> dbus-send --system --dest=org.bluez --print-reply /
> org.freedesktop.DBus.ObjectManager.GetManagedObjects
> 
> Note that the Bluez5 command will produce somewhat longer output.

Also:

qdbus --literal --system org.bluez / 
org.freedesktop.DBus.ObjectManager.GetManagedObjects

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Interest mailing list