Are there any nRF51 demo firmware implementing paring function that the central and peripheral devices will connect automatically without user interaction when they come accross
Are there any nRF51 demo firmware implementing paring function that the central and peripheral devices will connect automatically without user interaction when they come accross
Connect or pair? Have you examined ble_app_hrs and ble_app_hrs_c?
Are there any demo that support paring and bonding that two device are bonding together during paring, and only two paired device will connect automatically without user interaction when they come accross
The ble_app_hrs and ble_app_hrs_c examples will connect without user interaction.
Then they will bond.
If they disconnect they will connect again, as long as they are still advertising and scanning, you may need to change the timeouts, or change what action to be taken when a timeout occurs.
They are not using a whitelist, so the peripheral will accept connection requests from other centrals, and the central will receive advertisments from other peripherals. You will have to add the whitelist to the examples yourself, there are several questions on here explaining how to do it.