Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Beacon with Android

Beacon with Android

A talk on introduction to beacon, different usages and live demo of it.

It was delivered by Priyank Bhojak (Business Analyst, LetsNurture) and Dhananjay Patel (Android Developer, LetsNurture)

GDG Ahmedabad

June 25, 2014
Tweet

More Decks by GDG Ahmedabad

Other Decks in Technology

Transcript

  1. • Devices that allows Bluetooth devices to broadcast and receive

    tiny information within short distances. • it consists of two parts: - A broadcaster (beacon device) - A receiver (smartphone app) • With the information broadcasted by each beacon, an app can detect them and tell how close (or far) the phone is from each of them and perform actions, such as display alerts to the user, offer discounts. What is Beacons? www.letsnurture.com | www.letsnurture.co.uk
  2. - can say tiny computer - It has a powerful

    32-bit ARM® Cortex M0 CPU with 256kB flash memory, accelerometer, temperature sensor and what is most important 2.4 GHz Bluetooth 4.0 Smart (also known as BLE or Bluetooth low energy) bidirectional radio. www.letsnurture.com | www.letsnurture.co.uk
  3. How do Beacons Work? • Bluetooth 4.0 LE! - Low

    energy - Long battery life - 2.4Ghz Band • Regions - Enter/Exit regions for notifications • Ranging - Immediate, Near, Far www.letsnurture.com | www.letsnurture.co.uk
  4. Estimote Beacon • Small, wireless device which broadcast tiny radio

    signals to smart devices • Built-in: • 2.4 GHz Bluetooth Low Energy radio • Thermometer • Accelerometer • Sticky back side (Gecko) • Silicon cover • Lithium battery www.letsnurture.com | www.letsnurture.co.uk
  5. Estimote SDK • Work of sdk in three part: •

    1) beacon ranging (scan beacons and optionally filters them by their values) • 2) beacon monitoring (monitors regions for those devices that have entered/exited a region) • 3) beacon characteristic reading and writing (proximity UUID, major & minor values, broadcasting power, advertising interval), www.letsnurture.com | www.letsnurture.co.uk
  6. Ranging • Ranging allows apps to know the relative distance

    between a device and beacons • - RSSI (Received Signal Strength Index ) • - leaving shop offer (Merchandising ) • Scan and filter by their value (nearest beacon) www.letsnurture.com | www.letsnurture.co.uk
  7. Monitoring • Monitoring a device whether entered or existed. •

    Beacon Region : region is defined by values • 1) proximity UUID: 128-bit unique identifier, (Required) • 2) major: 16-bit unsigned integer to differentiate between beacons within the same proximity UUID, • 3) minor: 16-bit unsigned integer to differentiate between beacons with the same proximity UUID and major value. www.letsnurture.com | www.letsnurture.co.uk
  8. Developer kit 99$ for 3 beacons You Can Order It

    From - http://estimote.com/ www.letsnurture.com | www.letsnurture.co.uk
  9. What else??? • Sports • Athletics • Restaurants • Transport

    • Virtual guides • Loyalty programs • Advertisement market www.letsnurture.com | www.letsnurture.co.uk
  10. Beacon characteristics You can read and write the beacon characteristics.

    1) proximity UUID 2) major 3) minor 4) broadcasting power 5) Advertising interval ( 1/s to 10/s) www.letsnurture.com | www.letsnurture.co.uk
  11. What can find Beacons? • Your Android Device - Well

    some of them… maybe… Android 4.3+ - Nexus 5/4/7/10, HTC One & Max, Moto G/X/RAZR/Ultra/Maxx/Mini, S4, Sony Xperia • Your iOS 7.0 Device - iPhone 4S, iPad 3rd Gen+, iPad Mini, iPod Touch 5th Gen+ • Nothing on Windows Phone or Windows 8 yet  www.letsnurture.com | www.letsnurture.co.uk
  12. Components/SDKs to the Start Estimote SDK: -Estimote SDK for Android

    is a library to allow interaction with Beacons. -The SDK system requirements are Android 4.3 or above and Bluetooth Low Energy. Radius Networks Beacon Service : -It allows Android devices to use Beacons much like iOS devices do. -An app can request to get notifications when one or more Beacons appear or disappear. www.letsnurture.com | www.letsnurture.co.uk
  13. Resources • Code: https://github.com/jamesmontemagno/iBeaconsEverywhere • Estimote.com • Android Bluetooth Docs:

    http://developer.android.com/guide/topics/connectivity/bluetooth-le.html • Redius Networks: https://github.com/RadiusNetworks/android-ibeacon-service www.letsnurture.com | www.letsnurture.co.uk