Example usage of the privacy features in the GAP.
Privacy - example usage of the privacy feature
Demonstration of privacy features in Gap. It shows how to use private addresses when advertising and connecting and how filtering ties in with these operations.
The application will start by repeatedly trying to connect to the same application running on another board. It will do this by advertising and scanning for random intervals waiting until the difference in intervals between the boards will make them meet when one is advertising and the other scanning.
Two devices will be operating using random resolvable addresses. The application will connect to the peer and pair. It will attempt bonding and if possible create a whitelist based on the bond.
Subsequent connections will turn on filtering if the whitelist has been successfully created.
Running the application
Application requires two devices. Each one should be loaded with the same example. The application will alternate between scanning and advertising until the two devices find each other and the demonstration proceeds.
Information about activity is printed over the serial connection - please have two clients open, each connected to a device. You may use:
Hardware requirements are in the main readme.
Building instructions for all samples are in the main readme.
Note: example currently doesn't use ST provided stack and instead uses a Cordio port for the ST.
Revisions of mbed-os.lib
|2:13ad22604846||17 months ago||Merge pull request #252 from donatieng/mbed_os_update||File Diff Annotate|
|1:3e651a06d287||23 months ago||Updating mbed-os to mbed-os-5.11.5||File Diff Annotate|
|0:2a36ad25fd97||23 months ago||Merge pull request #217 from adbridge/master||File Diff Annotate|