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:

- Tera Term

Hardware requirements are in the main readme.

Building instructions

Building instructions for all samples are in the main readme.

Committer:
mbed_official
Date:
Thu Aug 15 17:01:11 2019 +0100
Revision:
22:973b10dc67f7
Parent:
1:d4bb1e33950e
Merge pull request #252 from donatieng/mbed_os_update

Update Master branch to use Mbed OS 5.13.1
.
Commit copied from https://github.com/ARMmbed/mbed-os-example-ble

Who changed what in which revision?

UserRevisionLine numberNew 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).