[Interest] Bluetooth example (btchat) not working on linux
Andreas Ortmann
ortmann at finf.uni-hannover.de
Sun Sep 21 22:57:34 CEST 2014
Hi,
I cannot get this example code working running under linux with Qt 5.3.
http://qt-project.org/doc/qt-5/qtbluetooth-btchat-example.html
Captured debug output when running on the Desktop:
starting
/home/andi/ims/sensor-fusion/bt/build-btchat-Desktop-Debug/btchat...
qt.bluetooth.bluez: Device does not support Bluetooth or
"00:00:00:00:00:00" is not a valid local adapter
Cannot bind chat server to "00:00:00:00:00:00"
If I cross-compile it for android, start it on the android device and
run "rfcomm connect hci0 XX:XX:XX:XX:XX:XX 5" on a terminal on the linux
desktop, I can communicate with the app running on android by
reading/writing to the file descriptor /dev/rfcomm0.
Can someone given me some hint what could be the problem?
With best regards,
Andreas
More information about the Interest
mailing list