BLE EddystoneObserver example

This example is a fork of the following mbed-os example:

https://developer.mbed.org/teams/mbed-os-examples/code/mbed-os-example-ble-EddystoneObserver/

Please read the documentation in this page.

Committer:
bcostm
Date:
Fri Jul 28 10:36:15 2017 +0200
Revision:
40:62d1c6837fea
Parent:
3:b1e385adea43
Add DISCO_L475VG_IOT01A in mbed_app.json

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbed_official 3:b1e385adea43 1 The Eddystone Observer scans for Eddystone beacons that are running the [Eddystone Service example](https://github.com/ARMmbed/mbed-os-example-ble/tree/master/BLE_EddystoneService) (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.
mbed_official 3:b1e385adea43 2
mbed_official 3:b1e385adea43 3 # Running the application
mbed_official 3:b1e385adea43 4
mbed_official 3:b1e385adea43 5 ## Requirements
mbed_official 3:b1e385adea43 6
mbed_official 3:b1e385adea43 7 General hardware information is in the [main readme](https://github.com/ARMmbed/mbed-os-example-ble/blob/master/README.md).
mbed_official 3:b1e385adea43 8
mbed_official 3:b1e385adea43 9 This sample requires two devices - one to [broadcast the beacon](https://github.com/ARMmbed/mbed-os-example-ble/tree/master/BLE_EddystoneService) and one to scan for the broadcast. If you have more devices, you can use them as extra beacons.
mbed_official 3:b1e385adea43 10
mbed_official 3:b1e385adea43 11 You need a terminal program to listen to the observer's output through a serial port. You can download one, for example:
mbed_official 3:b1e385adea43 12
mbed_official 3:b1e385adea43 13 * Tera Term for Windows.
mbed_official 3:b1e385adea43 14
mbed_official 3:b1e385adea43 15 * CoolTerm for Mac OS X.
mbed_official 3:b1e385adea43 16
mbed_official 3:b1e385adea43 17 * GNU Screen for Linux.
mbed_official 3:b1e385adea43 18
mbed_official 3:b1e385adea43 19 ## Building instructions
mbed_official 3:b1e385adea43 20
mbed_official 3:b1e385adea43 21 Building instructions for all samples are in the [main readme](https://github.com/ARMmbed/mbed-os-example-ble/blob/master/README.md).
mbed_official 3:b1e385adea43 22
mbed_official 3:b1e385adea43 23 1. Build and run the [Eddystone beacon](https://github.com/ARMmbed/mbed-os-example-ble/tree/master/BLE_EddystoneService) on one or more other devices.
mbed_official 3:b1e385adea43 24
mbed_official 3:b1e385adea43 25 1. Build the Eddystone Observer application and install it on your board as explained in the building instructions. Leave the board connected to your computer.
mbed_official 3:b1e385adea43 26
mbed_official 3:b1e385adea43 27 ## Checking console output
mbed_official 3:b1e385adea43 28
mbed_official 3:b1e385adea43 29 To see the application's output:
mbed_official 3:b1e385adea43 30
mbed_official 3:b1e385adea43 31 1. Check which serial port your Eddystone Observer is connected to.
mbed_official 3:b1e385adea43 32
mbed_official 3:b1e385adea43 33 1. 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``.
mbed_official 3:b1e385adea43 34
mbed_official 3:b1e385adea43 35 1. The Eddystone Observer should start printing URLs of nearby Eddystone beacons to the terminal.