Bluetooth communication between HC05 and Windows
-
wrote on 3 Oct 2021, 12:33 last edited by Chaki 10 Mar 2021, 12:34
Hello,
Is there way to connect a HC05-Bluetooth Module to a qt-programm running on Windows and tranfer data between these two?If possible, could someone provide a sample code.
-
Lifetime Qt Championwrote on 3 Oct 2021, 14:44 last edited by mrjj 10 Mar 2021, 14:45
Hi
I dont know that module but does it offer serial access ? (a comport )From googling, I would yes you can
https://stackoverflow.com/questions/64027005/how-to-recieve-data-from-bt-module-hc-05-by-using-python-on-windows-10 -
Hi
I dont know that module but does it offer serial access ? (a comport )From googling, I would yes you can
https://stackoverflow.com/questions/64027005/how-to-recieve-data-from-bt-module-hc-05-by-using-python-on-windows-10wrote on 3 Oct 2021, 15:28 last edited by Chaki 10 Mar 2021, 15:31@mrjj thanks for your answer!
That bluetooth module is connected to the Rx and Tx pins (serial access) of an Arduino and I have been able to receive and send data on a phone with "Bluetooth Serial Terminal".
My question is, if the following documentation is the right approach in order wright a qt c++ programm to communicate from my windows pc to the bluetooth module: https://doc.qt.io/qt-5/qtbluetooth-overview.html or whether qt has something else I can use -
Hi
Yes that is the right module and if the HC05 supports OBEX Object Push Profile (OPP)
then you should be able to send files to it.
3/4