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

Qt bluetooth can not scan device on Mac 12 beta

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes