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

Qt bluetooth can not scan device on Mac 12 beta

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Invalid
    • Affects Version/s: 5.15.6
    • Fix Version/s: None
    • Labels:
      None
    • Platform/s:
      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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            tpochep Timur Pocheptsov
            Reporter:
            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