Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved Error when scanning bluetooth device

    General and Desktop
    bluetooth qbluetoothdevic windows 10
    3
    4
    1434
    Loading More Posts
    • 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
      helenebro last edited by

      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 Reply Quote 0
      • mrjj
        mrjj Lifetime Qt Champion last edited by

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

        I do not think its supported in Windows.

        1 Reply Last reply Reply Quote 0
        • SGaist
          SGaist Lifetime Qt Champion last edited by

          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 Reply Quote 1
          • H
            helenebro last edited by

            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 Reply Quote 0
            • First post
              Last post