Bluetooth in C++

后端 未结 3 1669
Happy的楠姐
Happy的楠姐 2021-02-15 12:04

I am looking to communicate via RFCOMM to another Bluetooth device. I want to use C++ (VS2008) for the application. I already know of the 32feet library, but was unsure if it

相关标签:
3条回答
  • 2021-02-15 12:23

    This question is rather old, I know.

    Just wanted to update, that Qt Framework has now Qt Bluetooth for C++ that looks very promising -- http://doc.qt.io/qt-5/qtbluetooth-module.html

    0 讨论(0)
  • 2021-02-15 12:27

    You can do Bluetooth programming using BT sockets into the OS Bluetooth stack. This page discusses socket usage: http://msdn.microsoft.com/en-us/library/windows/desktop/aa362928(v=vs.85).aspx

    This page has links to download Bluetooth SDK from Microsoft: http://msdn.microsoft.com/en-us/library/windows/desktop/aa363058(v=vs.85).aspx

    0 讨论(0)
  • Building apps using the Microsoft stack works fairly well (XP and Vista work great, trying to run the same apps under Windows 7-64bit does not work so well...)

    The real advantage to 32feet.net is that the Bluetooth support on Windows is heavily Balkanized - you never know on a given machine whether it is using the Microsoft, Broadcom, Toshiba, BlueSolei, or some other stack. While these are all mostly compatible over-the-air, the APIs are completely different for each. Building with 32feet.net lets your application run on a larger subset of machines... That said, I have not tried building it into a C++ application - sorry.

    0 讨论(0)
提交回复
热议问题