Keyboard multi-pairing does not work.

Hello,

I am developing a BLE keyboard. I am using SDK17.1.0 and nRF52840.
The part that is stuck is multi-pairing. I need to develop a function that alternately connects to 3 central devices like Logitech keyboard.
In the meantime, I found the following post(posted by Kenneth) on Nordic Devzone and ported this code to the keyboard source (ble_app_hids_keyboard) of SDK17.1.0 and am testing it using nRF52DK.

https://devzone.nordicsemi.com/f/nordic-q-a/57881/store-custom-application-data-using-peer-manager/234701

The connection to the first device is successful. When I press button 3 on the nRF52DK board, the connection with the first device is disconnected and a new advertisement is made. However, the other central devices do not search and I cannot connect. On the nRF52DK board, the LED clearly blinks and displays Advertise. And when I look at the log through Putty, Fast Advertising and Slow Advertising are displayed. But why is the device not searched for on the new central device?

And I would appreciate it if you could update the main.c in the link above more stably.

Best Regards,

YIM.

Related