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.

Revisions of mbed-os.lib

Revision Date Message Actions
42:092c08942a29 2017-09-08 Merge pull request #102 from adbridge/master File  Diff  Annotate
41:e70926c98d59 2017-08-08 Merge pull request #100 from 0xc0170/master File  Diff  Annotate
39:30c1ce6ed04d 2017-07-19 Merge pull request #97 from 0xc0170/master File  Diff  Annotate
37:faf45b99876e 2017-07-11 Merge pull request #93 from adbridge/master File  Diff  Annotate
36:452bdf1e125a 2017-06-22 Merge pull request #89 from adbridge/master File  Diff  Annotate
34:81ebf4f364ca 2017-06-20 Merge pull request #88 from adbridge/master File  Diff  Annotate
32:1d55c70f6fa5 2017-06-08 Merge pull request #82 from adbridge/master File  Diff  Annotate
31:a6996bd97da8 2017-05-25 Merge pull request #81 from adbridge/master File  Diff  Annotate
30:a82653bf1693 2017-05-10 Merge pull request #79 from adbridge/master File  Diff  Annotate
28:d863bcd84513 2017-05-09 Merge pull request #77 from 0xc0170/master File  Diff  Annotate
27:ba206885b3b6 2017-04-05 Merge pull request #70 from 0xc0170/master File  Diff  Annotate
24:b3e0534f42c5 2017-03-14 Merge pull request #68 from adbridge/master File  Diff  Annotate
23:451985cd31e5 2017-03-09 Merge pull request #66 from ARMmbed/oob_test_mbed-os-5.4 File  Diff  Annotate
22:4107f3b5e1d2 2017-03-01 Merge pull request #55 from adbridge/master File  Diff  Annotate
20:a6ed46cf3b5e 2017-02-15 Merge pull request #52 from 0xc0170/master File  Diff  Annotate
19:71810282bc35 2017-02-02 Merge pull request #48 from adbridge/master File  Diff  Annotate
18:778e0979e317 2017-01-26 Merge pull request #46 from adbridge/master File  Diff  Annotate
17:5e8827e65946 2016-12-15 Update mbed-os revision to mbed-os 5.3.0. File  Diff  Annotate
16:1d0eaf59745a 2016-12-15 Merge pull request #42 from ARMmbed/mbed-os-5.3.0-rc3 File  Diff  Annotate
15:303edf18e379 2016-10-28 Updating mbed-os to mbed-os-5.2.1 File  Diff  Annotate
14:c28080f69596 2016-10-24 Updating mbed-os to mbed-os-5.2.0 File  Diff  Annotate
13:c5f3a7d8764a 2016-10-24 Merge pull request #32 from ARMmbed/oob File  Diff  Annotate
11:fd8606aa9272 2016-10-05 Updating mbed-os to mbed-os-5.1.5 File  Diff  Annotate
10:cdbcdb3bf380 2016-09-16 Updating mbed-os to mbed-os-5.1.4 File  Diff  Annotate
9:e1e0d347ec4e 2016-08-20 Updating mbed-os to mbed-os-5.1.2 File  Diff  Annotate
8:1dfaa10dfbb2 2016-08-19 Updating mbed-os to mbed-os-5.1.1 File  Diff  Annotate
7:6357db9a41ce 2016-08-05 Updating mbed-os to mbed-os-5.1.0 File  Diff  Annotate
5:117ce7c06814 2016-08-03 Updating mbed-os to mbed-os-5.1.0-rc5 File  Diff  Annotate
4:c4954c1265e2 2016-07-30 Updating mbed-os to mbed-os-5.1.0-rc4 File  Diff  Annotate
3:b1e385adea43 2016-07-29 Merge branch 'master' of https://github.com/ARMmbed/mbed-os-example-ble File  Diff  Annotate
2:6a3a66fd3889 2016-07-28 Sync with mbed-os-5.1.0-rc3 File  Diff  Annotate
1:d839eae15f56 2016-07-28 Merge branch 'master' of https://github.com/ARMmbed/mbed-os-example-ble File  Diff  Annotate
0:932f719b42d5 2016-07-26 Update example at tag mbed-os-5.0.1-rc1 File  Diff  Annotate