.

Demo for periodic advertising. This requires two devices to run. Both devices run the same program. They attempt to find each other after which they adopt complementary roles. One sets up periodic advertising. The other attempts to scan and sync with the periodic advertising.

The role of the scanner device can also be performed by a BLE scanner on a smartphone. Connect to the advertiser. This will establish it as the advertiser. After you disconnect the device will begin periodic advertising. The canonical source for this example lives at https://github.com/ARMmbed/mbed-os-example-ble/tree/master/BLE_PeriodicAdvertising

Running the application

Requirements

Devices must support extended advertising and periodic advertising (Bluetooth version 5+).

The sample application can also be monitored by any BLE scanner on a smartphone.

If you don't have a scanner on your phone, please install:

Information about activity is printed over the serial connection - please have a client open. You may use:

Building instructions

Building instructions for all samples are in the https:github.com/ARMmbed/mbed-os-example-ble/blob/master/README.md.

History

Merge pull request #252 from donatieng/mbed_os_update default tip

2019-08-15, by mbed_official [Thu, 15 Aug 2019 17:02:13 +0100] rev 3

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


Updating mbed-os to mbed-os-5.11.5

2019-02-27, by mbed_official [Wed, 27 Feb 2019 13:02:26 +0000] rev 2

Updating mbed-os to mbed-os-5.11.5

.
Commit copied from https://github.com/ARMmbed/mbed-os-example-ble


Merge pull request #217 from adbridge/master

2019-02-25, by mbed_official [Mon, 25 Feb 2019 16:44:47 +0000] rev 1

Merge pull request #217 from adbridge/master

Updating mbed-os to mbed-os-5.11.4
.
Commit copied from https://github.com/ARMmbed/mbed-os-example-ble


Updating mbed-os to mbed-os-5.11.2

2019-02-13, by mbed_official [Wed, 13 Feb 2019 18:35:09 +0000] rev 0

Updating mbed-os to mbed-os-5.11.2

.
Commit copied from https://github.com/ARMmbed/mbed-os-example-ble