Sample to show how to Watch for advertisements and connect to a device which requires encryption and authentication to access the Characteristics value.
This sample works with the BluetoothLESample2 sample as the server.
Start the BluetoothLESample2 on another device and then run this sample.
Pairing can be done before or ad hoc when the accessing the Characteristic. If Characteristic requires security or Authentication when accessed the system will automatically start a pairing operation.
See main Bluetooth sample's readme for more information.
The sample is located here.