iBeacons
Features
Bluetooth Low Energy (BLE)

The buttery lasts a year.

Proximity, Distance (not absolute but relative)

Immediate(cm), near, far(50m)

Cold Start

It works even if an app is stopped.
Potential Use in Real World
Coupon

Restaurants, Cafes, Super markets

Provide Product Info

Apple Stores, Food Menus, Book Stores, Clothes, Museums

Tracking

Kids, Employees, Sales Persons, Customers, People

Location, Map

Cars, Shopping Malls

http://kufuinc.com/213
Core Location
class ViewController: ViewController, CLLocationManagerDelegate
{
let locationManager = CLLocationManager()
locationManager.delegate = self
// specify the beacon to monitor by specifying the beacon’s UUID.
let region = CLBeaconRegion(proximityUUID: NSUUID(UUIDString:“D940…”))
func didViewLoad() {
// Start monitoring beacon signals in the specified region.
locationManager.startRangingBeaconInRegion(region)
}
// Callback when the beacons with the given UUID are detected.
func locationManager(manager: LocationManager!,
didRangeBeacons beacons: [AnyObject]!,
inRegion region: CLBeacons)
{
println(beacons)
}
}
Beacon Details
ID

uuid, major, minor

RSSI - Received Signal Strength Indicator

0 to -100 (the higher the better. -100 worst)

Proximity 

0: unknown, 1: immediate, 2: near, 3: very far
Watch Video
http://willd.me/posts/getting-started-with-ibeacon-a-swift-tutorial

Swift study: iBeacon

  • 1.
  • 2.
    Features Bluetooth Low Energy(BLE) The buttery lasts a year. Proximity, Distance (not absolute but relative) Immediate(cm), near, far(50m) Cold Start It works even if an app is stopped.
  • 3.
    Potential Use inReal World Coupon Restaurants, Cafes, Super markets Provide Product Info Apple Stores, Food Menus, Book Stores, Clothes, Museums Tracking Kids, Employees, Sales Persons, Customers, People Location, Map Cars, Shopping Malls http://kufuinc.com/213
  • 4.
    Core Location class ViewController:ViewController, CLLocationManagerDelegate { let locationManager = CLLocationManager() locationManager.delegate = self // specify the beacon to monitor by specifying the beacon’s UUID. let region = CLBeaconRegion(proximityUUID: NSUUID(UUIDString:“D940…”)) func didViewLoad() { // Start monitoring beacon signals in the specified region. locationManager.startRangingBeaconInRegion(region) } // Callback when the beacons with the given UUID are detected. func locationManager(manager: LocationManager!, didRangeBeacons beacons: [AnyObject]!, inRegion region: CLBeacons) { println(beacons) } }
  • 5.
    Beacon Details ID uuid, major,minor RSSI - Received Signal Strength Indicator 0 to -100 (the higher the better. -100 worst) Proximity 0: unknown, 1: immediate, 2: near, 3: very far
  • 6.