iBeacons Tech talk

17
My Favorite Features in iOS 7 Howard Huang

description

 

Transcript of iBeacons Tech talk

Page 1: iBeacons Tech talk

My Favorite Features in iOS 7

Howard Huang

Page 2: iBeacons Tech talk

Overview

• iOS Accessories

• Game Controller

• iBeacons

Page 3: iBeacons Tech talk

iOS Accessories

• MFi(Made for iPhone)

- Lightening

- Bluetooth

• Non-MFi

- Bluetooth 4.0 low energy

- Wifi

- 3.5mm headphone protocol

Page 4: iBeacons Tech talk

Game Controller• Game Controller framework

• iOS and OS X

• Extended Gamepad, Standard Gamepad

Page 5: iBeacons Tech talk

• 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

Page 6: iBeacons Tech talk

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

Page 7: iBeacons Tech talk

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

Page 8: iBeacons Tech talk

Example

Page 9: iBeacons Tech talk

Example

Page 10: iBeacons Tech talk

Background

Page 11: iBeacons Tech talk
Page 12: iBeacons Tech talk

Foreground

Page 13: iBeacons Tech talk

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

Page 14: iBeacons Tech talk

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)

Page 15: iBeacons Tech talk

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

Page 16: iBeacons Tech talk

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!

Page 17: iBeacons Tech talk

Thanks!