Ibeacon hack4aizu

Preview:

DESCRIPTION

 

Citation preview

iBeaconとBLEGClue

iBeaconsとは?AppleがiOS7から搭載したBLEベースのMicro Locationの仕組み

iBeaconで取れる値

minor ID : 2バイトmajor ID : 2バイト

BeaconのUUIDがマッチした場合

!

!

!

!

!

が取得できる

$0000~$ffff = 0-65535$0000~$ffff = 0-65535

rssi : 数値proximity : 数値

数値Far, Near, Immediate

iBeaconの仕組みCoreLocation APIを使用。 通常のBLEの場合はCoreBluetooth APIを使用。

iBeaconの仕組み1CoreLocation APIを使用。

iBeacon iOS 7 App2

Beacon UUIDを指定してBeacon をScan

BBBBBB-BBBB-BBBB-BBBB-BBBBBBBBBBBBB

UUID(16バイト)

minor ID : 2バイトmajor ID : 2バイト

BBBBBB-BBBB-BBBB-BBBB-BBBBBBBBBBBBB

UUID(16バイト)

iOS 7

rssiproximity

didRangeBeacons

startRangingBeaconsInRegion

iBeaconsって?

Immediate

Near

Far Unknown

iBeaconの仕組み2CoreLocation APIを使用。

iBeacon iOS 7

didEnterRegion

App1

Beacon UUIDのマッチした アプリにイベントを通知

10秒 Process

AAAAAAAA-AAAA-AAAA-AAAA-AAAAAAAAAAAAAAAA

UUID(16バイト)

iOS 7

minor ID : 2バイトmajor ID : 2バイト

rssiproximity

iBeaconの仕組み3CoreLocation APIを使用。

iBeacon iOS 7

didEnterRegion App2

Beacon UUIDのマッチした アプリにイベントを通知

10秒 Process

BBBBBB-BBBB-BBBB-BBBB-BBBBBBBBBBBBB

UUID(16バイト)

iOS 7

App1

minor ID : 2バイトmajor ID : 2バイト

rssiproximity

iBeaconの仕組み4CoreLocation APIを使用。

iBeacon iOS 7

didExitRegion App2

Beacon UUIDのマッチした アプリにイベントを通知

10秒 Process

BBBBBB-BBBB-BBBB-BBBB-BBBBBBBBBBBBB

UUID(16バイト)

iOS 7iBeacon

minor ID : 2バイトmajor ID : 2バイト

rssiproximity

iBeaconsって?

iBeaconsdidEnterRegion

didExitRegion

didRangeBeacons

NanoMini Kit

Shield

内蔵型

Hack for Town

2/15,16 in Aizuwakamatsu

iBeacon 50個設置!!

For Android

• Android 4.3以降でBLEのAPIが搭載

• LeScan APIでBLEのADV_INDのパケットをのぞけば自作できる

エコシステム

• キーワード: Appcessory市場, BLEガジェット

Appcessory

iOS Androidガジェット

Wifi BLE

Bluetooth Mic

Appcessory

Mems Sensor

通信モジュール

BLEモジュールBluegiga社 BLE113

開発はScriptで CE, FCC, Telec認証済み

BLEチップ: TI CC2541

BLEチップ

nRF51822CC2541

Intel 8051

8 Bitマイコン

Cloud Funding

5% 4%

米国/英国 全世界

iOS Android

ガジェット

Cloud

Hardware Accelerator

highway1

Bolt

Hardware Accelerator

3ヶ月でハードを試作 4%-6%のエクイップ Kickstarterに応募