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. Qt Bluetooth Code
Forum Update on Monday, May 27th 2025

Qt Bluetooth Code

Scheduled Pinned Locked Moved Unsolved General and Desktop
7 Posts 3 Posters 2.2k 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.
  • R Offline
    R Offline
    RohitIti
    wrote on last edited by
    #1

    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.

    D 1 Reply Last reply
    0
    • Chris KawaC Offline
      Chris KawaC Offline
      Chris Kawa
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Are you on one of the supported platforms?

      R 1 Reply Last reply
      0
      • R RohitIti

        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.

        D Offline
        D Offline
        Dr_Firmware
        wrote on last edited by
        #3

        @RohitIti Not supported on windows.

        1 Reply Last reply
        0
        • D Offline
          D Offline
          Dr_Firmware
          wrote on last edited by
          #4

          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.

          R 1 Reply Last reply
          0
          • Chris KawaC Chris Kawa

            Are you on one of the supported platforms?

            R Offline
            R Offline
            RohitIti
            wrote on last edited by
            #5

            @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.

            1 Reply Last reply
            0
            • D Dr_Firmware

              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.

              R Offline
              R Offline
              RohitIti
              wrote on last edited by
              #6

              @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.

              D 1 Reply Last reply
              0
              • R RohitIti

                @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.

                D Offline
                D Offline
                Dr_Firmware
                wrote on last edited by
                #7

                @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 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