iBeacons Tech talk
-
Upload
howard-huang -
Category
Technology
-
view
110 -
download
4
description
Transcript of iBeacons Tech talk
My Favorite Features in iOS 7
Howard Huang
Overview
• iOS Accessories
• Game Controller
• iBeacons
iOS Accessories
• MFi(Made for iPhone)
- Lightening
- Bluetooth
• Non-MFi
- Bluetooth 4.0 low energy
- Wifi
- 3.5mm headphone protocol
Game Controller• Game Controller framework
• iOS and OS X
• Extended Gamepad, Standard Gamepad
• Benefit
• Let the third-party accessory developer build the MFi gamepad, you don't need to add every controller framework from third-pary controller.
• Integration the game controller API inside your non-game app to do more about interaction with users. ex: Simulate the mouse with joystick
Framework: GCController
• Method for you use the game controller
• Handle the connect/disconnect (NSNotificationCenter)
• You can discover the game controller INSIDE your app
• Use polling and block to controller the input
iBeacons
• Region monitor
• Ranging and micro-locations
• Awake your app by push notification by iBeacons
• In app notification when user enter the customized region
• Third-party Bluetooth LE or iOS device can be iBeacons
• One beacon ID can cover multiple locations
• Accuracy and range awareness
Example
Example
Background
Foreground
How can the iBeacons do this?
• Bluetooth 4.0 low energy
• Two different roles: Central and Peripheral
• In App control, you can connect your app to the bluetooth 4.0 device without the agreement by user
Peripheral
• Role - Has Data
• It can keep broadcasting the advertisement data event no-one connect to it
• When the central connect to it, it can do the continuous data sending(Notify)
Central
• Role - Need Data
• Although you don't connect to the peripheral devices, you can get the advertisement data they broadcasted
• Central controls the connection
Back to iBeacons
• Definitely it is a peripheral
• iBeacons broadcasting the range from your iPhone to them -> if the range is close enough -> iOS tell your app that you're enter the region what you want -> Your app notify the user! That's it!
Thanks!