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.

Committer:
Donatien Garnier
Date:
Fri Jun 01 13:54:04 2018 -0500
Revision:
1:916188eae2bb
Parent:
0:fcb1e0b995a9
Child:
2:cfa7a3406398
Update ST support status

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Donatien Garnier 1:916188eae2bb 1 # SM - example usage of the Security Manager to pair and encrypt
Donatien Garnier 1:916188eae2bb 2
Donatien Garnier 1:916188eae2bb 3 Demonstration of possible usage of the Security Manager. Security Manager deals with pairing, authentication and encryption.
Donatien Garnier 1:916188eae2bb 4
Donatien Garnier 1:916188eae2bb 5 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.
Donatien Garnier 1:916188eae2bb 6
Donatien Garnier 1:916188eae2bb 7 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.
Donatien Garnier 1:916188eae2bb 8
Donatien Garnier 1:916188eae2bb 9 # Running the application
Donatien Garnier 1:916188eae2bb 10
Donatien Garnier 1:916188eae2bb 11 ## Requirements
Donatien Garnier 1:916188eae2bb 12
Donatien Garnier 1:916188eae2bb 13 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 :
Donatien Garnier 1:916188eae2bb 14
Donatien Garnier 1:916188eae2bb 15 - [nRF Master Control Panel](https://play.google.com/store/apps/details?id=no.nordicsemi.android.mcp) for Android.
Donatien Garnier 1:916188eae2bb 16
Donatien Garnier 1:916188eae2bb 17 - [LightBlue](https://itunes.apple.com/gb/app/lightblue-bluetooth-low-energy/id557428110?mt=8) for iPhone.
Donatien Garnier 1:916188eae2bb 18
Donatien Garnier 1:916188eae2bb 19 Information about activity is printed over the serial connection - please have a client open. You may use:
Donatien Garnier 1:916188eae2bb 20
Donatien Garnier 1:916188eae2bb 21 - [Tera Term](https://ttssh2.osdn.jp/index.html.en)
Donatien Garnier 1:916188eae2bb 22
Donatien Garnier 1:916188eae2bb 23 Hardware requirements are in the [main readme](https://github.com/ARMmbed/mbed-os-example-ble/blob/master/README.md).
Donatien Garnier 1:916188eae2bb 24
Donatien Garnier 1:916188eae2bb 25 ## Building instructions
Donatien Garnier 1:916188eae2bb 26
Donatien Garnier 1:916188eae2bb 27 Building instructions for all samples are in the [main readme](https://github.com/ARMmbed/mbed-os-example-ble/blob/master/README.md).
Donatien Garnier 1:916188eae2bb 28
Donatien Garnier 1:916188eae2bb 29 Note: this example currently is currently not supported on ST BLUENRG targets.