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:
paulszczepanek
Date:
Thu Mar 08 18:08:23 2018 +0000
Revision:
0:fcb1e0b995a9
Child:
1:916188eae2bb
initial commit

Who changed what in which revision?

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