Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-96557

Qt bluetooth can not scan device on Mac 12 beta

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 5.15.6
    • None
    • macOS

    Description

      I'm testing QT bluetooth example on Mac 12 beta. I found Qt bluetooth can not scan device . it works well on Mac 11.
      the root cause is function scan device

      [manager scanForPeripheralsWithServices:nil options:nil];
      

      If change by this code. app can scan bluetooth device

      NSDictionary *options = [NSDictionary dictionaryWithObjectsAndKeys:[NSNumber numberWithBool:YES], CBCentralManagerScanOptionAllowDuplicatesKey, nil];
      [self.CM scanForPeripheralsWithServices:nil options:options];
      

      I'm not sure this is a bug or new feature on Mac 12.

      Attachments

        For Gerrit Dashboard: QTBUG-96557
        # Subject Branch Project Status CR V

        Activity

          People

            tpochep Timur Pocheptsov
            nguoithichkhampha Cuong Trinh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes