Problem Bluetooth - Arduino - Android
-
Hi,
(Sorry for my English, I'm french).
I have a problem : I want to create an application Android, which uses the Bluetooth, to have a connection with an Arduino, but I don't find a class for that.
Indeed, those classes : http://doc.qt.io/qt-5/qtbluetooth-overview.html are incapable to send letters from an Arduino.
I look for for two weeks, and I hope that you can help me !
Bye
zTony
-
Hello zTony,
Arduino card use BLueTooth RedBear (it is a LOW Energy Bluetooth),
For more information you can read this page :
http://redbearlab.com/getting-started-bleshield/
In this case you can try to use Bluetooth Low Energy API of Qt:
http://doc.qt.io/qt-5/qtbluetooth-le-overview.html
Buf if the developped api is not suitable , to red bear Low Energy Arduino you have to:
-Reimplement BLE RED BEAR Low Energy on Java(Android), Source is available just above:
-To use Qt Notifier ,which will allow you to call you Java functions on Qt,More examples of QtNOtifier are available just above:
http://doc.qt.io/qt-5/qtandroidextras-notification-example.html
I think that you all the elements that you need now,
I hope that this can help you,
Good Luck,
Bon courage ;)
-
Hello,
Thank you for your fast reply !
I use a module Bluetooth HC-06 which not uses the Bluetooth low Energy (I tested to see devices with examples http://doc.qt.io/qt-5/bluetooth-examples.html but only the classic bluetooth works).
(I would like to clarify that I use the C++ language with Qt).
Thank you anyway for your assistance, but I still look for help.
Bye !
zTony