[oe] QT5.4.1 Bluetooth issue

Ankur Tyagi ankur.tyagi85 at gmail.com
Tue Jan 5 21:48:01 UTC 2016


Hi,

I am using meta-arago daisy branch for TI AM335x-EVM.

When trying to use QT Bluetooth API, it fails to find the device

QBluetoothLocalDevice localDevice;
// Check if Bluetooth is available on this device
if (localDevice.isValid()) {
 qDebug("is Valid");
 QBluetoothAddress myAddress = localDevice.address();
 return true;
} else {
 qDebug("Not Valid");
 return false;
}

I am using
​
QT5.4.1
​
and BlueZ 4.101

I can use hciconfig , hcitool, rfcomm, sdptool to operate Bluetooth device


root at am335x-evm:~# hciconfig -a
hci0:   Type: BR/EDR  Bus: UART
        BD Address: 34:B1:F7:E1:49:09  ACL MTU: 1021:6  SCO MTU: 180:4
        UP RUNNING PSCAN ISCAN
        RX bytes:948 acl:0 sco:0 events:42 errors:0
        TX bytes:1294 acl:0 sco:0 commands:42 errors:0
        Features: 0xff 0xfe 0x2d 0xfe 0xdb 0xff 0x7b 0x87
        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
        Link policy: RSWITCH HOLD SNIFF
        Link mode: SLAVE ACCEPT
        Name: 'at-bt'
        Class: 0x4c0100
        Service Classes: Rendering, Capturing, Telephony
        Device Class: Computer, Uncategorized
        HCI Version:  (0x7)  Revision: 0x0
        LMP Version:  (0x7)  Subversion: 0xac7c
        Manufacturer: Texas Instruments Inc. (13)


Is there any known limitation or am I missing something here ?

thanks
Ankur



More information about the Openembedded-devel mailing list