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:
mbed_official
Date:
Thu Jul 28 23:14:32 2016 +0100
Revision:
1:d839eae15f56
Parent:
0:932f719b42d5
Child:
2:6a3a66fd3889
Merge branch 'master' of https://github.com/ARMmbed/mbed-os-example-ble


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

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbed_official 1:d839eae15f56 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 1:d839eae15f56 2
mbed_official 1:d839eae15f56 3 # Running the application
mbed_official 1:d839eae15f56 4
mbed_official 1:d839eae15f56 5 ## Requirements
mbed_official 1:d839eae15f56 6
mbed_official 1:d839eae15f56 7 General hardware information is in the [main readme](https://github.com/ARMmbed/mbed-os-example-ble/blob/master/README.md).
mbed_official 1:d839eae15f56 8
mbed_official 1:d839eae15f56 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 1:d839eae15f56 10
mbed_official 1:d839eae15f56 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 1:d839eae15f56 12
mbed_official 1:d839eae15f56 13 * Tera Term for Windows.
mbed_official 1:d839eae15f56 14
mbed_official 1:d839eae15f56 15 * CoolTerm for Mac OS X.
mbed_official 1:d839eae15f56 16
mbed_official 1:d839eae15f56 17 * GNU Screen for Linux.
mbed_official 1:d839eae15f56 18
mbed_official 1:d839eae15f56 19 ## Building instructions
mbed_official 1:d839eae15f56 20
mbed_official 1:d839eae15f56 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 1:d839eae15f56 22
mbed_official 1:d839eae15f56 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 1:d839eae15f56 24
mbed_official 1:d839eae15f56 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 1:d839eae15f56 26
mbed_official 1:d839eae15f56 27 ## Checking console output
mbed_official 1:d839eae15f56 28
mbed_official 1:d839eae15f56 29 To see the application's output:
mbed_official 1:d839eae15f56 30
mbed_official 1:d839eae15f56 31 1. Check which serial port your Eddystone Observer is connected to.
mbed_official 1:d839eae15f56 32
mbed_official 1:d839eae15f56 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 1:d839eae15f56 34
mbed_official 1:d839eae15f56 35 1. The Eddystone Observer should start printing URLs of nearby Eddystone beacons to the terminal.