![](/media/cache/group/Mbed-100-mk2.png.50x50_q85.png)
Demonstration of the GAP profile. It shows advertising, scanning and connecting. The demo will cycle through several modes and print over the serial connection information about current activity.
GAP - Advertising, Scanning, Connecting
Demonstration of GAP API usage. It shows advertising, scanning and connecting. The demo will cycle through several modes and print over the serial connection information about current activity.
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:
Hardware requirements are in the main readme.
Building instructions
Building instructions for all samples are in the main readme.
README.md@1:d4bb1e33950e, 2018-06-20 (annotated)
- Committer:
- mbed_official
- Date:
- Wed Jun 20 11:03:19 2018 +0100
- Revision:
- 1:d4bb1e33950e
- Parent:
- 0:8539ba0984da
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 |
---|---|---|---|
mbed_official | 1:d4bb1e33950e | 1 | # GAP - Advertising, Scanning, Connecting |
mbed_official | 1:d4bb1e33950e | 2 | |
mbed_official | 1:d4bb1e33950e | 3 | Demo of the GAP profile. It shows advertising, scanning and connecting. The demo will cycle through several modes |
mbed_official | 1:d4bb1e33950e | 4 | and print over the serial connection information about current activity. |
mbed_official | 1:d4bb1e33950e | 5 | |
mbed_official | 1:d4bb1e33950e | 6 | # Running the application |
mbed_official | 1:d4bb1e33950e | 7 | |
mbed_official | 1:d4bb1e33950e | 8 | ## Requirements |
mbed_official | 1:d4bb1e33950e | 9 | |
mbed_official | 1:d4bb1e33950e | 10 | 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 : |
mbed_official | 1:d4bb1e33950e | 11 | |
mbed_official | 1:d4bb1e33950e | 12 | - [nRF Master Control Panel](https://play.google.com/store/apps/details?id=no.nordicsemi.android.mcp) for Android. |
mbed_official | 1:d4bb1e33950e | 13 | |
mbed_official | 1:d4bb1e33950e | 14 | - [LightBlue](https://itunes.apple.com/gb/app/lightblue-bluetooth-low-energy/id557428110?mt=8) for iPhone. |
mbed_official | 1:d4bb1e33950e | 15 | |
mbed_official | 1:d4bb1e33950e | 16 | Information about activity is printed over the serial connection - please have a client open. You may use: |
mbed_official | 1:d4bb1e33950e | 17 | |
mbed_official | 1:d4bb1e33950e | 18 | - [Tera Term](https://ttssh2.osdn.jp/index.html.en) |
mbed_official | 1:d4bb1e33950e | 19 | |
mbed_official | 1:d4bb1e33950e | 20 | Hardware requirements are in the [main readme](https://github.com/ARMmbed/mbed-os-example-ble/blob/master/README.md). |
mbed_official | 1:d4bb1e33950e | 21 | |
mbed_official | 1:d4bb1e33950e | 22 | ## Building instructions |
mbed_official | 1:d4bb1e33950e | 23 | |
mbed_official | 1:d4bb1e33950e | 24 | Building instructions for all samples are in the [main readme](https://github.com/ARMmbed/mbed-os-example-ble/blob/master/README.md). |