Results 1 to 3 of 3

Thread: Scanning for nRF51822 Bluetooth Low Energy Device using QT

  1. #1
    Join Date
    Apr 2015
    Posts
    1
    Qt products
    Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android

    Default Scanning for nRF51822 Bluetooth Low Energy Device using QT

    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:
    Qt Code:
    1. connect(m_deviceDiscoveryAgent, SIGNAL(deviceDiscovered(const QBluetoothDeviceInfo&)),
    2. this, SLOT(addDevice(const QBluetoothDeviceInfo&)));
    To copy to clipboard, switch view to plain text mode 
    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.

  2. #2
    Join Date
    Mar 2016
    Posts
    1
    Qt products
    Qt5
    Platforms
    MacOS X Android

    Default Re: Scanning for nRF51822 Bluetooth Low Energy Device using QT

    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.

  3. #3
    Join Date
    Feb 2016
    Posts
    1
    Qt products
    Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: Scanning for nRF51822 Bluetooth Low Energy Device using QT

    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

Similar Threads

  1. WIA scanning in Qt C++
    By karankumar1609 in forum General Programming
    Replies: 1
    Last Post: 9th May 2013, 12:27
  2. Scanning Barcode
    By codeman in forum Qt Programming
    Replies: 3
    Last Post: 20th January 2011, 20:47
  3. Image scanning
    By Scratch in forum Qt Programming
    Replies: 4
    Last Post: 22nd July 2009, 09:36
  4. scanning images
    By sriluyarlagadda in forum Qt Programming
    Replies: 8
    Last Post: 9th May 2008, 13:37
  5. Scanning a image
    By xgoan in forum Qt Programming
    Replies: 1
    Last Post: 9th August 2006, 11:36

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.