beacons; microlocation, context and the physical web

18
Beacons MicroLocation, Context and The PhysicalWeb A Selim Salman plus.google.com/+ASelimSalman aselims.github.io twitter.com/A_SelimS

Upload: a-selim-salman

Post on 16-Apr-2017

448 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: Beacons; MicroLocation, Context and The Physical Web

BeaconsMicroLocation, Context and The PhysicalWeb

A Selim Salmanplus.google.com/+ASelimSalmanaselims.github.iotwitter.com/A_SelimS

Page 2: Beacons; MicroLocation, Context and The Physical Web

Diversified Android Engineer

Technology Evangelist

Interested about Ubiquitous Computing

[email protected]@a_selims

Page 3: Beacons; MicroLocation, Context and The Physical Web

Agenda- Intro to Beacons - Use Cases- Workshop Coding- Get the extra mile!

Page 4: Beacons; MicroLocation, Context and The Physical Web

What is a Beacon?- Beacons are simple devices that send one-way BLE signals.

- Estimote Beacon is a small computer. Its 32-bit ARM® Cortex M0 CPU is accompanied by accelerometer, temperature sensor, and what is most important—2.4 GHz radio using Bluetooth 4.0 Smart, also known as BLE or Bluetooth low energy.

- Google's beacon platform enables contextual experiences for your users through interactions with BLE

Page 5: Beacons; MicroLocation, Context and The Physical Web

EcoSystemQR code

RFID / NFC

Beacon

GPS

...

Location matters!

Page 6: Beacons; MicroLocation, Context and The Physical Web

A BeaconBluetooth Smart (BLE)

40-50m

Pairing

Distance:- Transmit power (TX)- Signal strength (RSSi)

Blinking attitude ;)

70m

Page 7: Beacons; MicroLocation, Context and The Physical Web

Use Case Scenarios

Estimote Image

Page 8: Beacons; MicroLocation, Context and The Physical Web

Just imagine!

Google Image

Page 9: Beacons; MicroLocation, Context and The Physical Web

Markup the world!

Google Image

Page 10: Beacons; MicroLocation, Context and The Physical Web

Eddystone specification● Open

● FrameType:

a. Eddystone-UID: An opaque unique ID. 0x00

b. Eddystone-URL: A compressed URL that, once parsed and decompressed, is directly usable by the client. 0x10

c. Eddystone-TLM: A block of telemetry information containing beacon status and runtime values. 0x20

Page 11: Beacons; MicroLocation, Context and The Physical Web

Eddystone specification

Page 12: Beacons; MicroLocation, Context and The Physical Web

Eddystone Beacons ManufacturerAnd more…

Estimote

Page 13: Beacons; MicroLocation, Context and The Physical Web

The Physical WebEvery device has a url

● a wirelessly broadcasted URL

● software on a device that detects and displays the URL when requested

Analogy:IPv6

Any BLE-enabled device can receive it!

https://play.google.com/store/apps/details?id=physical_web.org.physicalweb

Page 14: Beacons; MicroLocation, Context and The Physical Web

Demo Time

Page 15: Beacons; MicroLocation, Context and The Physical Web

Before we startMinimum: Android 4.3 (Jelly Bean, API Level18)

Better: Android 5.0 (Lollipop, API Level 21) “LEScanner”

Be Aware: Android 6.0 (Marshmallow, API Level 23) “Permissions!”

Page 16: Beacons; MicroLocation, Context and The Physical Web

Permissions<!– Allow any Bluetooth communication --><uses-permission android:name="android.permission.BLUETOOTH"/>

<!– Allow device discovery --><uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/>

<!– Allow location access for Android 6.0 Marshmallow (API Level 23) --><uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />

Limit to BLE-capable devices (or check inside App instead):<uses-feature android:name="android.hardware.bluetooth_le"android:required="true“/>

Page 17: Beacons; MicroLocation, Context and The Physical Web

Let us get it started!

Show me the Code

Page 18: Beacons; MicroLocation, Context and The Physical Web

Linkshttps://developers.google.com/beacons/proximity/attachments

https://developers.google.com/nearby/

https://developers.google.com/beacons/proximity/

https://google.github.io/physical-web/

https://github.com/google/beacon-platform

https://github.com/google/beacon-platform/tree/master/samples/android

https://github.com/google/eddystone

http://developer.estimote.com/

http://blog.estimote.com/post/106913675010/how-do-beacons-work-the-physics-of-beacon-tech