Results 1 to 3 of 3

Thread: How to implement HCI calls in QtCreator ?

  1. #1
    Join Date
    Aug 2020
    Posts
    28
    Qt products
    Qt5

    Default How to implement HCI calls in QtCreator ?

    I am going to try to bypass Qt Bluetooth.
    I have implemented "bluetooth" library , however I am stomped how to instruct Qt to process hci calls directly.
    I am using this doc as a "template"

    https://people.csail.mit.edu/albert/...ntro/c404.html'

    dev_id = hci_get_route(NULL);
    '
    The above call does not compile, even after I installed libbluetooth-dev

    What am I missing to be able to use "hci" ?

    Any help would be greatly appreciated.

  2. #2
    Join Date
    Mar 2008
    Location
    Kraków, Poland
    Posts
    1,536
    Thanked 284 Times in 279 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How to implement HCI calls in QtCreator ?

    What does it mean "not compile" ?

  3. #3
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,230
    Thanks
    302
    Thanked 864 Times in 851 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: How to implement HCI calls in QtCreator ?

    however I am stomped how to instruct Qt to process hci calls directly
    Qt isn't "processing" anything. Qt is a C++ library, no different from your bluetooth library. It is your compiler, as executed by the compilation tool chain that is doing the processing.

    Have you included the path to your bluetooth header files in the configuration of your project? Simply installing the distribution doesn't tell the compiler where to find the header or library files needed to build your app.
    <=== The Great Pumpkin says ===>
    Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.

Similar Threads

  1. spectrogram calls
    By marc2050 in forum Qwt
    Replies: 1
    Last Post: 5th August 2011, 09:52
  2. Paint() calls
    By alitoh in forum Newbie
    Replies: 1
    Last Post: 10th May 2011, 03:05
  3. Replies: 4
    Last Post: 11th April 2011, 10:56
  4. Replies: 7
    Last Post: 2nd January 2011, 15:16
  5. How to use IOCTL calls with QT?
    By augusbas in forum Qt Programming
    Replies: 3
    Last Post: 15th November 2010, 08:55

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.