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. Bluetooth Low Energy Heart Listener Example cannot work on MAC OS X

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

Scheduled Pinned Locked Moved General and Desktop
bluetoothnotify
1 Posts 1 Posters 1.1k 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.
  • L Offline
    L Offline
    LeonLing
    wrote on 13 Sept 2015, 09:51 last edited by
    #1

    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?

    1 Reply Last reply
    0

    1/1

    13 Sept 2015, 09:51

    • Login

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