Hello.
I have a device (peripheral) with no input / no output capabilities that I want to connect to from a iOS device (central). Still I want the highest security I can get. So Just-works in LE Secure connection mode seems secure enough. But to increase security I also only want it to be possible to pair/bond during a short timespan after some user input (button press). And after that the device shouldn't accept any non-paired devices (centrals) to connect. However, I always want my iOS device to be able to find the device, so I guess advertising must always be on (at least as long as the devices are not connected).
How do I solve this? What modes do I use?
(I have been using iOS devices, but it should work with Android as well)