PDA

View Full Version : Scanning for nRF51822 Bluetooth Low Energy Device using QT



ihaabi
24th April 2015, 11:26
Hello,
I have been trying to implement an application based on QT Bluetooth defined library.
In order to do so, I tried to utilized the heartlistener.pro project file from the example code of QT.

In its heartrate.cpp file it has defined the connection as following:


connect(m_deviceDiscoveryAgent, SIGNAL(deviceDiscovered(const QBluetoothDeviceInfo&)),
this, SLOT(addDevice(const QBluetoothDeviceInfo&)));

The deviceDiscovered Signal works fine for any of the mobile bluetooth and on discovery call the slot method i.e. addDevice. however, it does not perform the same operation for my BLE Device, based on nRF51822.

So far what I have discovered that Bluetooth has some issues with the stack compatibility. I might need to dig a bit deeper to see if we can hook up directly to the Android native API.

It would be really great, if someone can help me with this problem. Thank you.


Note:
- My Qt Version is 5.4.1 and I am using it on OpenSUSE 13.1
- I have downloaded the same application in Samsung Galaxy S3 and the code does not discover the device. However, same mobile discover the nRF51822 device using other BLE related applications.
- Qt Extended supports Bluetooth communications hardware and software profiles by relying on BlueZ, the official Linux Bluetooth stack.

jacobbloy
23rd March 2016, 01:21
Hi did you have any luck with this, I'm using the nrf uart service with the nrf51822 and it can't detect the charactoristics.

johanradyn
17th May 2016, 12:33
Hi guys..

I am trying to do the same and got stuck on pretty much the same problem.. I can start the device discovery and my nRF DK board will show in the lowenergyscanner example application, but when I try to connect to the DK board to scanServices, the lowenergyscanner application does not want to connect.

I do not understand the reason why, please point me in the correct direction. Thank you