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.

Changes

RevisionDateWhoCommit message
42:092c08942a29 2017-09-08 mbed_official Merge pull request #102 from adbridge/master default tip
41:e70926c98d59 2017-08-08 mbed_official Merge pull request #100 from 0xc0170/master
40:686fc724e77e 2017-07-28 mbed_official Merge pull request #99 from bcostm/add_disco_l475vg
39:30c1ce6ed04d 2017-07-19 mbed_official Merge pull request #97 from 0xc0170/master
38:f5ca53effa13 2017-07-19 mbed_official Merge pull request #98 from apalmieriGH/master
37:faf45b99876e 2017-07-11 mbed_official Merge pull request #93 from adbridge/master
36:452bdf1e125a 2017-06-22 mbed_official Merge pull request #89 from adbridge/master
35:5c4860ed4d23 2017-06-22 mbed_official Merge pull request #90 from apalmieriGH/master
34:81ebf4f364ca 2017-06-20 mbed_official Merge pull request #88 from adbridge/master
33:73fbeca06181 2017-06-15 mbed_official Merge pull request #83 from apalmieriGH/master
32:1d55c70f6fa5 2017-06-08 mbed_official Merge pull request #82 from adbridge/master
31:a6996bd97da8 2017-05-25 mbed_official Merge pull request #81 from adbridge/master
30:a82653bf1693 2017-05-10 mbed_official Merge pull request #79 from adbridge/master
29:083b9a2cb114 2017-05-10 mbed_official Merge pull request #78 from ashok-rao/master
28:d863bcd84513 2017-05-09 mbed_official Merge pull request #77 from 0xc0170/master
27:ba206885b3b6 2017-04-05 mbed_official Merge pull request #70 from 0xc0170/master
26:70616e996c01 2017-04-05 mbed_official Merge pull request #72 from pan-/update_bluenrg_ref
25:f72af777a0f4 2017-04-05 mbed_official Merge pull request #71 from pan-/fix_bluenrg_reference
24:b3e0534f42c5 2017-03-14 mbed_official Merge pull request #68 from adbridge/master
23:451985cd31e5 2017-03-09 mbed_official Merge pull request #66 from ARMmbed/oob_test_mbed-os-5.4
22:4107f3b5e1d2 2017-03-01 mbed_official Merge pull request #55 from adbridge/master
21:e0eb5a6feaa4 2017-02-27 mbed_official Merge pull request #54 from apalmieriGH/master
20:a6ed46cf3b5e 2017-02-15 mbed_official Merge pull request #52 from 0xc0170/master
19:71810282bc35 2017-02-02 mbed_official Merge pull request #48 from adbridge/master
18:778e0979e317 2017-01-26 mbed_official Merge pull request #46 from adbridge/master
17:5e8827e65946 2016-12-15 mbed_official Update mbed-os revision to mbed-os 5.3.0.
16:1d0eaf59745a 2016-12-15 mbed_official Merge pull request #42 from ARMmbed/mbed-os-5.3.0-rc3
15:303edf18e379 2016-10-28 mbed_official Updating mbed-os to mbed-os-5.2.1
14:c28080f69596 2016-10-24 mbed_official Updating mbed-os to mbed-os-5.2.0
13:c5f3a7d8764a 2016-10-24 mbed_official Merge pull request #32 from ARMmbed/oob
12:5e1ef2515c70 2016-10-12 mbed_official Merge pull request #31 from pan-/fix_flexible_array
11:fd8606aa9272 2016-10-05 mbed_official Updating mbed-os to mbed-os-5.1.5
10:cdbcdb3bf380 2016-09-16 mbed_official Updating mbed-os to mbed-os-5.1.4
9:e1e0d347ec4e 2016-08-20 mbed_official Updating mbed-os to mbed-os-5.1.2
8:1dfaa10dfbb2 2016-08-19 mbed_official Updating mbed-os to mbed-os-5.1.1
7:6357db9a41ce 2016-08-05 mbed_official Updating mbed-os to mbed-os-5.1.0
6:bf20d089c50f 2016-08-04 mbed_official Update reference to the ST shield library.
5:117ce7c06814 2016-08-03 mbed_official Updating mbed-os to mbed-os-5.1.0-rc5
4:c4954c1265e2 2016-07-30 mbed_official Updating mbed-os to mbed-os-5.1.0-rc4
3:b1e385adea43 2016-07-29 mbed_official Merge branch 'master' of https://github.com/ARMmbed/mbed-os-example-ble
2:6a3a66fd3889 2016-07-28 Vincent Coubard Sync with mbed-os-5.1.0-rc3
1:d839eae15f56 2016-07-28 mbed_official Merge branch 'master' of https://github.com/ARMmbed/mbed-os-example-ble
0:932f719b42d5 2016-07-26 Vincent Coubard Update example at tag mbed-os-5.0.1-rc1