Demonstration of possible usage of the Security Manager. Security Manager deals with pairing, authentication and encryption.

SM - example usage of the Security Manager to pair and encrypt

Demonstration of possible usage of the Security Manager. Security Manager deals with pairing, authentication and encryption.

The application demonstrates usage as a central and a peripheral. The central will connect to any connectable device present. Please have one ready and advertising. Application will attempt pairing. Please authorise your peer device to pair.

Upon success it will disconnect and start advertising to demonstrate usage as a peripheral. Please scan and connect using your peer device. Upon connection grant pairing if prompted. Upon success the application will disconnect. Observe the terminal to keep track of the sequence.

Running the application

Requirements

The sample application can be seen on any BLE scanner on a smartphone. If you don't have a scanner on your phone, please install :

- nRF Master Control Panel for Android.

- LightBlue for iPhone.

Information about activity is printed over the serial connection - please have a client open. You may use:

- Tera Term

Hardware requirements are in the main readme.

Building instructions

Building instructions for all samples are in the main readme.

Files at this revision

API Documentation at this revision

Comitter:
mbed_official
Date:
Fri Mar 29 12:01:28 2019 +0000
Parent:
21:152f7ff52ac1
Commit message:
Merge pull request #228 from paul-szczepanek-arm/master

update readme to match application flow
.
Commit copied from https://github.com/ARMmbed/mbed-os-example-ble

Changed in this revision

README.md Show annotated file Show diff for this revision Revisions of this file
--- a/README.md	Wed Feb 27 13:02:46 2019 +0000
+++ b/README.md	Fri Mar 29 12:01:28 2019 +0000
@@ -2,9 +2,11 @@
 
 Demonstration of possible usage of the Security Manager. Security Manager deals with pairing, authentication and encryption.
 
-The application demonstrates usage as a central and a peripheral. The central will connect to any connectable device present. Please have one ready and advertising. Application will attempt pairing. Please authorise your peer device to pair.
+The application demonstrates usage as a central and a peripheral.
 
-Upon success it will disconnect and start advertising to demonstrate usage as a peripheral. Please scan and connect using your peer device. Upon connection grant pairing if prompted. Upon success the application will disconnect. Observe the terminal to keep track of the sequence. 
+It will start advertising to demonstrate usage as a peripheral first. Please scan and connect using your peer device. Upon connection grant pairing if prompted. Upon success the application will disconnect.
+
+The application will switch to demonstrating the central role and will connect to the device that previously connected to it. Please have it ready and advertising. Observe the terminal to keep track of the sequence. 
 
 # Running the application