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

Experiences with iBeacon

Experiences with iBeacon

Presented at Cocoaheads Wellington.

Sam Jarman

May 14, 2015

Transcript

12 slides
  1. What is an iBeacon? • Low Powered, Low Cost transmitter

    • Small, BTLE Enable Chip • Battery powered
  2. What are they good for? • “Microlocation” • Relative locations

    • Check-Ins • Push Notifications • Spatially aware content
  3. iBeacon API Overview • You define regions (UUID, Major, Minor)

    • You monitor regions (iOS does this in the background) • Once region has been detected, you can start ranging beacons • Beacon updates occur every second
  4. iBeacon with Carnival • A few steps: • Detect Beacon

    • Set Up Tags or Custom Attributes • Set up audiences based on those tags • Trigger messages based on entering/exiting audience
  5. UUIDs • Beacon has a UUID • Also has a

    Major Number • and a Minor Number • The combination is actually what makes them unique
  6. Attenuation • People • Walls • Desks • Plants •

    Seems to be mitigated with more powerful beacons
  7. Background Processes • Have to be synchronous • Have to

    be on the one thread provided to you by OS
  8. Conclusion • Good fun • Nice API provided by CLLocation

    • SKDs are out there for commercial stuff • Easy tie in with systems like Carnival or your own • Very cool possibilities

More Decks by Sam Jarman

Other Decks in Technology