Important: Please read the Qt Code of Conduct -

Bluetooth Low Energy Heart Listener Example cannot work on MAC OS X

  • When the example start to writeDescriptor(), the error occurs:
    [OSXBTCentralManager peripheral:didUpdateNotificationStateForCharacteristic:error:] failed with error Error Domain=CBErrorDomain Code=1 "One or more parameters were invalid." UserInfo=0x7fdd2460cd80 {NSLocalizedDescription=One or more parameters were invalid.}

    And my heat rate sensor device don't receive any write request.
    The writeDescriptor() op is to change the CCCD to enable notifications.
    What's more, when the device is in notifying state and the CCCD descriptor's value returns 0001, the error occurs before the writeDescriptor() op.

    The same code works well on iPad and Android, but not on my Mac mini with Yosemite 10.10.5.

    Could anyone give me some clue?

Log in to reply