This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Just Works pairing issues

Hello,

I have a service and characteristic that I am trying to switch from open to just works, with no bonding on the device. I changed the settings in add_char_params and added the peer manager I'm running into some weird behavior when trying to connect with nrfConnect on ios.

It seems to connect fine to start, but when a parameter read is attempted a Bluetooth Pairing Request popup shows on the iPhone and then it disconnects after pressing "pair", and no value is read. It works fine when the connection is open, but adding encryption seems to break it. Does anyone have ideas of what might be going on?

I followed this link to make the changes: devzone.nordicsemi.com/.../ble-just-works-pairing

I'm using the nRF52840 with the s140 and SDK v15.3.

Any help is much appreciated

Thanks!

Related