The Eddystone Observer scans for Eddystone beacons that are running the Eddystone Service example (see there for general information about Eddystone beacons). It reads the advertising packets broadcast by these beacons, and prints a human-readable version of the advertised URLs to the serial console. he canonical source for this example lives at https://github.com/ARMmbed/mbed-os-example-ble/tree/master/BLE_EddystoneObserver

The Eddystone Observer scans for Eddystone beacons that are running the Eddystone Service example (see there for general information about Eddystone beacons). It reads the advertising packets broadcast by these beacons, and prints a human-readable version of the advertised URLs to the serial console.

Running the application

Requirements

General hardware information is in the main readme.

This sample requires two devices - one to broadcast the beacon and one to scan for the broadcast. If you have more devices, you can use them as extra beacons.

You need a terminal program to listen to the observer's output through a serial port. You can download one, for example:

  • Tera Term for Windows.
  • CoolTerm for Mac OS X.
  • GNU Screen for Linux.

Building instructions

Building with mbed CLI

If you'd like to use mbed CLI to build this, then you should refer to the main readme. The instructions here relate to using the developer.mbed.org Online Compiler

In order to build this example in the mbed Online Compiler, first import the example using the ‘Import’ button on the right hand side.

Next, select a platform to build for. This must either be a platform that supports BLE, for example the NRF51-DK, or one of the following:

List of platforms supporting Bluetooth Low Energy

Or you must also add a piece of hardware and the supporting library that includes a Bluetooth Low Energy driver for that hardware, for example the K64F or NUCLEO_F401RE with the X-NUCLEO-IDB04A1

Once you have selected your platform, compile the example and drag and drop the resulting binary onto your board.

For general instructions on using the mbed Online Compiler, please see the mbed Handbook

  • Build the Eddystone Observer application and install it on your board as explained in the building instructions. Leave the board connected to your computer.

Checking console output

To see the application's output:

  • Check which serial port your Eddystone Observer is connected to.
  • Run a terminal program with the correct serial port and the baud rate set to 9600. For example, to use GNU Screen, run: ``screen /dev/tty.usbmodem1412 9600``.
  • The Eddystone Observer should start printing URLs of nearby Eddystone beacons to the terminal.

History

Merge pull request #102 from adbridge/master default tip

2017-09-08, by mbed_official [Fri, 08 Sep 2017 14:45:27 +0100] rev 42

Merge pull request #102 from adbridge/master

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


Merge pull request #100 from 0xc0170/master

2017-08-08, by mbed_official [Tue, 08 Aug 2017 14:15:16 +0100] rev 41

Merge pull request #100 from 0xc0170/master

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


Merge pull request #99 from bcostm/add_disco_l475vg

2017-07-28, by mbed_official [Fri, 28 Jul 2017 10:45:15 +0100] rev 40

Merge pull request #99 from bcostm/add_disco_l475vg

DISCO_L475VG_IOT01A: Add this platform in the supported list of boards
.
Commit copied from https://github.com/ARMmbed/mbed-os-example-ble


Merge pull request #97 from 0xc0170/master

2017-07-19, by mbed_official [Wed, 19 Jul 2017 18:15:15 +0100] rev 39

Merge pull request #97 from 0xc0170/master

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


Merge pull request #98 from apalmieriGH/master

2017-07-19, by mbed_official [Wed, 19 Jul 2017 11:00:19 +0100] rev 38

Merge pull request #98 from apalmieriGH/master

Update reference to ST BlueNRG lib
.
Commit copied from https://github.com/ARMmbed/mbed-os-example-ble


Merge pull request #93 from adbridge/master

2017-07-11, by mbed_official [Tue, 11 Jul 2017 13:30:15 +0100] rev 37

Merge pull request #93 from adbridge/master

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


Merge pull request #89 from adbridge/master

2017-06-22, by mbed_official [Thu, 22 Jun 2017 14:31:06 +0100] rev 36

Merge pull request #89 from adbridge/master

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


Merge pull request #90 from apalmieriGH/master

2017-06-22, by mbed_official [Thu, 22 Jun 2017 11:31:55 +0100] rev 35

Merge pull request #90 from apalmieriGH/master

Update reference to ST BlueNRG lib
.
Commit copied from https://github.com/ARMmbed/mbed-os-example-ble


Merge pull request #88 from adbridge/master

2017-06-20, by mbed_official [Tue, 20 Jun 2017 11:45:41 +0100] rev 34

Merge pull request #88 from adbridge/master

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


Merge pull request #83 from apalmieriGH/master

2017-06-15, by mbed_official [Thu, 15 Jun 2017 10:15:22 +0100] rev 33

Merge pull request #83 from apalmieriGH/master

Update reference to ST BLUENRG lib
.
Commit copied from https://github.com/ARMmbed/mbed-os-example-ble