In my application, a static passkey is given to the user(I have implemented static pass key in my application and it is working).
Suppose the Nordic device is advertising and some random user (who doesn't have a static key) connects with the peripheral. The user with the passkey has to wait till the other invalid user disconnects .
My question is , How can I make sure that only user with static key can connect with the peripheral?
Even if a user has a passkey(it is valid only fort pairing) but if a random user connects(anyone can connect but cannot pair)and the valid user has to wait for the random user (who doesn't have a static key) to disconnect