Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Bluetooth communication between HC05 and Windows

Bluetooth communication between HC05 and Windows

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 574 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.
  • C Offline
    C Offline
    Chaki
    wrote on 3 Oct 2021, 12:33 last edited by Chaki 10 Mar 2021, 12:34
    #1

    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.

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mrjj
      Lifetime Qt Champion
      wrote on 3 Oct 2021, 14:44 last edited by mrjj 10 Mar 2021, 14:45
      #2

      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

      C 1 Reply Last reply 3 Oct 2021, 15:28
      0
      • M mrjj
        3 Oct 2021, 14:44

        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

        C Offline
        C Offline
        Chaki
        wrote on 3 Oct 2021, 15:28 last edited by Chaki 10 Mar 2021, 15:31
        #3

        @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

        1 Reply Last reply
        0
        • M Offline
          M Offline
          mrjj
          Lifetime Qt Champion
          wrote on 3 Oct 2021, 15:32 last edited by
          #4

          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.

          1 Reply Last reply
          0

          4/4

          3 Oct 2021, 15:32

          • Login

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