I am working on a Bluetooth-based application.
GATT Server and Gatt Client, The above communication is working fine, I am not having an issue with it.
The problem is I am getting a connection from an unknown device, I want to allow connection from my app only if someone other tries to connect I want to reject that connection.
How can I implement that ?.
If a reject connection is not possible, how can I identify this connection is requested from my app, is there any way to add some security before connecting with my GATT server ?.
Thanks.