Bluetooth problem on ARM Ubuntu 12.04
I'm using Qt 5.3 on an iMX6 embedded system running Ubuntu 12.04. I compiled Qt myself, and it includes the qtconnectivity module (libQt5Blutetooth.so, libQt5Nfc.so etc. are installed) which compiled without problems.
I tried the bluetooth examples, but none of them seem to work.
In the btchat example I the rfcommServer->listen(localAdapter) (chatserver.cpp line 69) returns false ("Cannot bind chat server to 00:00:00:00:00:00"). On the other examples nothing is showing up (paired or visible devices, etc).
In Ubuntu's bluetooth manager I can see the other bluetooth devices and communicate with them (bluez 4.98 and blueman 1.23)
The same examples work fine on my desktop machine (ubuntu 14.04 & Windows 7) and on my Android phone.
Do you have any idea what can cause this problem? Or how can I get more info on what's going wrong?
Thanks in advance!