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 in Windows: QBluetoothDeviceDiscoveryAgent::PoweredOffError not emitted
QtWS25 Last Chance

Qt Bluetooth in Windows: QBluetoothDeviceDiscoveryAgent::PoweredOffError not emitted

Scheduled Pinned Locked Moved Unsolved General and Desktop
qtbluetoothblebluetoothbluetoothapisbluetooth low e
4 Posts 2 Posters 797 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
    harip
    wrote on last edited by
    #1

    Qt Version : Qt 5.14.1 MSVC 2017 32 bit

    The bluetooth discovery agent module is not emitting the PoweredOffError error even though the Bluetooth adaptor is turned off in windows. Is this issue expected in Windows? The same code base is working in Android platform.

    Calling error() function of discovery agent after search is giving NoError value.

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Don't quote me on this but I think it's normal. As far as I remember, Windows reports all devices as online as long as they are paired in system - even if in reality there are offline.

      (Z(:^

      1 Reply Last reply
      0
      • H Offline
        H Offline
        harip
        wrote on last edited by
        #3

        @sierdzio I was mentioning the Error that should be reported when the bluetooth adapter is off in the Windows (System searching for other devices).

        To add to your comment, in windows at least in Qt 5.14.1 the devices would be discovered even if it is not paired in system bluetooth manager. The same was not true in previous versions of Qt

        1 Reply Last reply
        0
        • sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          Ah ok sorry! Indeed last time I worked with BT it was with older Qt version.

          (Z(:^

          1 Reply Last reply
          1

          • Login

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