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. Error when scanning bluetooth device
Forum Update on Monday, May 27th 2025

Error when scanning bluetooth device

Scheduled Pinned Locked Moved Unsolved General and Desktop
bluetoothqbluetoothdevicwindows 10
4 Posts 3 Posters 1.7k 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.
  • H Offline
    H Offline
    helenebro
    wrote on last edited by
    #1

    Hi,
    I want to use Bluetooth in Qt. I have seen example given by Qt which scan bluetooth device ("lowenergyscanner").
    But I have an error when I start scanning :

    "Writing or reading from the device resulted in an error."
    

    This corresponds to QBluetoothDeviceDiscoveryAgent::InputOutputError but I don't find more information regarding this error.

    I'm under Windows 10 and Qt 5.4.2 (MinGW)

    I'm also test with Qt5.5.1, and I get :

    An unknown error has occurred
    

    On windows (panel control), I can scan and see my bluetooth device.

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi
      http://doc.qt.io/qt-5/qtbluetooth-index.html

      I do not think its supported in Windows.

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi,

        Please take the time to search the forum a bit. I've already answered that question several times.

        As @mrjj wrote, the package is currently not providing support on Windows. However you can clone the module from code.qt.io and checkout the wip/win branch to test it on Windows.

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        1
        • H Offline
          H Offline
          helenebro
          wrote on last edited by
          #4

          Thank you for your answer.
          I didn't think this functionnality isn't supported by windows.
          @SGaist I find indeed your previous answer. I will look this

          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