Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

iOS and pairing/bonding issue

Hi all,

I'm developing an application for the nRF52832 that pairs and bonds with an app that my colleague are developing for iOS. However we are facing an issue with pairing and bonding that appears occasionally in the app. When my colleague reads the characteristics which are protected (requires bond) normally we get the "DEVICE_XX would like to pair YES/NO" dialogue on the iPhone. But occasionally we get an error message instead:

"Error Domain=CBErrorDomain Code=8 "The specified UUID is not allowed for this operation." UserInfo={NSLocalizedDescription=The specified UUID is not allowed for this operation.}"

Have anyone seen this issue before?

HW:nRF52832

SDK: V15.0

SD: V6.0 (s132)

Parents
  • Hi,

    We haven't seen this issue before. Could you try turning the bluetooth on your phone off/on? To see if it might be an chaching issue. 

    Have you tried testing with other firmwares on the same DK? Does it happen on the latest stable release iOS12.4? 

    Could also try it with nRF Connect and other iPhones as well?

  • Hi again,

    It seems like the Service Changed Characteristic is not shown on iOS. I can clearly see it on my Android phone when using nRF connect. However on my iPhone 6s, running iOS12.4 its not visible, and my colleague cannot see it aswell when he discovers the services programmatically. How do you handle Generic Attribute (0x1801) on iOS?

    Connecting on iOS gives error 8 (NRF_ERROR_INVALID_STATE), since notifications are disabled, however it's not possible to activate notifications since Generic Attribute is not visible.

Reply
  • Hi again,

    It seems like the Service Changed Characteristic is not shown on iOS. I can clearly see it on my Android phone when using nRF connect. However on my iPhone 6s, running iOS12.4 its not visible, and my colleague cannot see it aswell when he discovers the services programmatically. How do you handle Generic Attribute (0x1801) on iOS?

    Connecting on iOS gives error 8 (NRF_ERROR_INVALID_STATE), since notifications are disabled, however it's not possible to activate notifications since Generic Attribute is not visible.

Children
Related