Kris Scholte Lubberink
/
bleswitcher
test
README.md@2:cfa7a3406398, 2018-06-20 (annotated)
- Committer:
- mbed_official
- Date:
- Wed Jun 20 11:03:28 2018 +0100
- Revision:
- 2:cfa7a3406398
- Parent:
- 1:916188eae2bb
- Child:
- 3:704a199f2316
Merge pull request #158 from adbridge/master
Updating mbed-os to mbed-os-5.8.6
.
Commit copied from https://github.com/ARMmbed/mbed-os-example-ble
Who changed what in which revision?
User | Revision | Line number | New 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 | |
mbed_official | 2:cfa7a3406398 | 29 | Note: example currently doesn't use ST provided stack and instead uses a Cordio port for the ST. |