This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Avoid automatic connection

I am currently developing a device and would like the default behavior at boot to be:

1. Boot up

2. The device should start advertising for non-bonded devices.

3. When there is a certain physical interaction of the user with the device, the device should try to connect with any previously bonded device already on the white list.

4. When the host device disconnects, the device should return to state 2.

I have been trying to achieve that with the GAP advertising configuration without any real success. Is it even possible to achieve this behavior? How could it be implemented?