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

iBeacons: Interacting with the physical world u...

Kod.io
October 26, 2013

iBeacons: Interacting with the physical world using Bluetooth LE

By Taylan Pinçe
http://kod.io

Kod.io

October 26, 2013
Tweet

More Decks by Kod.io

Other Decks in Programming

Transcript

  1. GPS

  2. NFC

  3. Device Adoption 1 2 3 iPhone 4S+ iPad 3+ Samsung

    Galaxy S3+ 4 LG, Nokia Lumia, others
  4. iOS Send some data to Arduino CBPeripheral *peripheral; UInt8 buffer[2]

    = {0x01, 0x00}; buffer[1] = 150; [peripheral writeValue:data ...];
  5. Arduino while (ble_available()) { byte data0 = ble_read(); byte data1

    = ble_read(); if (data0 == 0x01) { analogWrite(MOTOR_FWD, data1); } } Read incoming data
  6. Apple & Bluetooth LE 1 2 3 Macs since 2011

    iPhones since 2011 iOS & OSX integration 4 Location services in iOS7
  7. iBeacons 1 2 3 Built on Bluetooth LE Reliable proximity

    info Background mode 4 iOS7 & Mavericks
  8. Caveats 1 2 3 Bluetooth should be on Background apps

    allowed Location privacy allowed 4 Needs an app or Passbook
  9. Q&A