Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Problem Bluetooth - Arduino - Android

Problem Bluetooth - Arduino - Android

Scheduled Pinned Locked Moved Mobile and Embedded
5 Posts 2 Posters 1.8k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Z Offline
    Z Offline
    zTony
    wrote on last edited by zTony
    #1

    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

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mostefa
      wrote on last edited by
      #2

      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:

      https://github.com/RedBearLab

      -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 ;)

      1 Reply Last reply
      1
      • Z Offline
        Z Offline
        zTony
        wrote on last edited by
        #3

        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

        1 Reply Last reply
        0
        • Z Offline
          Z Offline
          zTony
          wrote on last edited by zTony
          #4

          Hi

          With Microsoft Windows, I used QtSerialPort but I can't use that with Android.

          Bye

          1 Reply Last reply
          0
          • Z Offline
            Z Offline
            zTony
            wrote on last edited by
            #5

            no body to help me :(

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved