Qt Bluetooth Code
-
wrote on 27 Oct 2015, 10:34 last edited by
Can some one provide me qt Bluetooth code which works
search for deceives
pair and connect to selected device using rfcomm protocol.Currently none of the examples that are available in qt 5.5 is working.
-
Are you on one of the supported platforms?
-
Can some one provide me qt Bluetooth code which works
search for deceives
pair and connect to selected device using rfcomm protocol.Currently none of the examples that are available in qt 5.5 is working.
wrote on 27 Oct 2015, 13:46 last edited by@RohitIti Not supported on windows.
-
wrote on 27 Oct 2015, 13:54 last edited by
Hi,
I posted on this topic yesterday in the lounge so I will jump in on this thread.
So does anyone have any working C++ code on Qt using the windows Bluetooth API? https://msdn.microsoft.com/en-us/library/windows/apps/windows.devices.bluetooth.aspx
A simple scanner program would probably be enough to get started.
-
Are you on one of the supported platforms?
wrote on 28 Oct 2015, 03:36 last edited by@Chris-Kawa Hi Chris.I am developing on windows QT. My application will be deployed on any android device. Currently i have written code too search and display all available Bluetooth devices in range. once after selecting the device i am able to pair but i am not able to connect to other(remote) device.
My device Bluetooth is turning off immediately and a pop up appears saying do you want to switch on Bluetooth. after allowing the same , my application crashes.
QT examples are also not working.
-
Hi,
I posted on this topic yesterday in the lounge so I will jump in on this thread.
So does anyone have any working C++ code on Qt using the windows Bluetooth API? https://msdn.microsoft.com/en-us/library/windows/apps/windows.devices.bluetooth.aspx
A simple scanner program would probably be enough to get started.
wrote on 28 Oct 2015, 03:39 last edited by@Dr_Firmware Hello Dr_Firmware, Thank you for replying. If i use windows api then i doubt if this will work on any android device after deploying. So i was in search of working code in qt and i will deploy it on android device and test the application.
Can you provide any information on this ?
Thank you very much.
-
@Dr_Firmware Hello Dr_Firmware, Thank you for replying. If i use windows api then i doubt if this will work on any android device after deploying. So i was in search of working code in qt and i will deploy it on android device and test the application.
Can you provide any information on this ?
Thank you very much.
wrote on 28 Oct 2015, 20:41 last edited by@RohitIti Hi, so I guess I misunderstood you. So you want to develop an android app that uses bluetooth. This should be doable. Although I have no idea how to do it at the moment. I just got qt 5.5 working and created a "hello android" app and simulated on Nexus S AVD. So things are looking up but this is a whole new world for me. If I get anywhere with this I will let you know.
Regards,
Chris
1/7