Bluetooth Low Energy (BLE) Summary for iOS

53
BLE SEMINAR Prepared by Jo

Transcript of Bluetooth Low Energy (BLE) Summary for iOS

Page 1: Bluetooth Low Energy (BLE) Summary for iOS

BLE SEMINARPrepared by Jo

Page 2: Bluetooth Low Energy (BLE) Summary for iOS
Page 3: Bluetooth Low Energy (BLE) Summary for iOS

About

Page 4: Bluetooth Low Energy (BLE) Summary for iOS

Bluetooth 4.0 Low Energy

Page 5: Bluetooth Low Energy (BLE) Summary for iOS

Why BLE?

Page 6: Bluetooth Low Energy (BLE) Summary for iOS

BLE Benefit

• Less time on the air

• Less energy when on the air

Page 7: Bluetooth Low Energy (BLE) Summary for iOS

BLE Benefit

Page 8: Bluetooth Low Energy (BLE) Summary for iOS

Key terms

Client ServerHas DataWant Data

Central PeripheralControl peripheral Work

Page 9: Bluetooth Low Energy (BLE) Summary for iOS

How interact?

Page 10: Bluetooth Low Energy (BLE) Summary for iOS

Advertising

Page 11: Bluetooth Low Energy (BLE) Summary for iOS

Advertising Multiple Channels

Page 12: Bluetooth Low Energy (BLE) Summary for iOS

Setting up a Connection

Page 13: Bluetooth Low Energy (BLE) Summary for iOS

Topology

연결Advertising

Page 14: Bluetooth Low Energy (BLE) Summary for iOS

Service & Characteristic

Server

Page 15: Bluetooth Low Energy (BLE) Summary for iOS

Characteristic

CharacteristicTypeValueProperties

Client ConfigurationDescriptors

Read, Write, NotifyThe Data

Notification On/OffMore Information About The Value

UUID

Page 16: Bluetooth Low Energy (BLE) Summary for iOS

Service&

CharacteristicTree

Page 17: Bluetooth Low Energy (BLE) Summary for iOS

Client Side - 3 Step

Page 18: Bluetooth Low Energy (BLE) Summary for iOS

Reconnect - 3Ways

Page 19: Bluetooth Low Energy (BLE) Summary for iOS

Pairing

• Periphral trggers pairing

• By rejecting a read/write

• Paired -> Encrypted link

• Bonding -> Encrypted data

Central Peripheral

Read/Write

Page 20: Bluetooth Low Energy (BLE) Summary for iOS

Pairing vs Bonding

• pairing 은 연결 후 전송되는 데이터 자체를 암호화 하지만• bonding 은 peripheral 과 central 이 key 를 주고 받기 때문에 더 안전하다 .

• 애플에서는 내부적으로 지원하는것 같음 .

Page 21: Bluetooth Low Energy (BLE) Summary for iOS

Advertising Packet

Page 22: Bluetooth Low Energy (BLE) Summary for iOS

Advertising Packet

Page 23: Bluetooth Low Energy (BLE) Summary for iOS

애플 공식 가이드라인

Page 24: Bluetooth Low Energy (BLE) Summary for iOS

애플 공식 가이드라인

Page 25: Bluetooth Low Energy (BLE) Summary for iOS

SIG 공식 프로파일Adopted Bluetooth Profiles, Services and Protocols

Page 26: Bluetooth Low Energy (BLE) Summary for iOS

Profile and Service List• Battery service

• Device Information Service

• Find Me Profile

• Blood Pressure Profile

• Blood Pressure Service

• Link Loss Service

• Proximity Profile

• Reference Time Update Service

• Time Profile

• Tx Power Service

• …

Page 27: Bluetooth Low Energy (BLE) Summary for iOS

Battery Service

Page 28: Bluetooth Low Energy (BLE) Summary for iOS

Battery Service배터리는 Characteristic 이 아님 .

Page 29: Bluetooth Low Energy (BLE) Summary for iOS

Device Information Service

Page 30: Bluetooth Low Energy (BLE) Summary for iOS

Device Information Service

DIS exposes manufacturer information about a device

Page 31: Bluetooth Low Energy (BLE) Summary for iOS

Find Me Profile

Page 32: Bluetooth Low Energy (BLE) Summary for iOS

Find Me ProfileFMP 는 잃어버린 제품의 위치를 찾는데 사용할 수 있다 .

Page 33: Bluetooth Low Energy (BLE) Summary for iOS

Blood Pressure Sensor

Page 34: Bluetooth Low Energy (BLE) Summary for iOS

Blood Pressure Profile헬스케어 디바이스에서 사용할 수 있다 .

Page 35: Bluetooth Low Energy (BLE) Summary for iOS

Blood Pressure Service혈압 Service 에는 혈압에 관련된 것만 있음 .

Service 단위로 나뉘는 것을 볼수 있음 .

Page 36: Bluetooth Low Energy (BLE) Summary for iOS

Heart Rate Sensor

Page 37: Bluetooth Low Energy (BLE) Summary for iOS

Heart Rate Profile심박센서에 사용될수 있음 .심박 Service 와 Device 정보 Service 가 따로 있는것을 볼수 있음 .

Page 38: Bluetooth Low Energy (BLE) Summary for iOS

Heart Rate Service심박 Service 에는 관련된 Characteristic 만 있음 .

Page 39: Bluetooth Low Energy (BLE) Summary for iOS

Proximity Profile

Page 40: Bluetooth Low Energy (BLE) Summary for iOS

Proximity Profile디바이스간 거리관계를 모니터링 한다 . 디바이스 멀어질 때 알림을 받을 수 있다 . 디바이스 거리가 멀어지면 연결가능 레벨을 설정해서 디바이스 사용을 중지할 수 있다 .

Page 41: Bluetooth Low Energy (BLE) Summary for iOS

Link Loss Service디바이스간 거리가 멀어져서 연결이 끊길 수 있는 단계가 됐을 때 알림을 보낸다 .

Page 42: Bluetooth Low Energy (BLE) Summary for iOS

Tx Power Service

Page 43: Bluetooth Low Energy (BLE) Summary for iOS

Tx Power ServiceTransmit power 를 표시한다 .

Page 44: Bluetooth Low Energy (BLE) Summary for iOS

Time Profile

Page 45: Bluetooth Low Energy (BLE) Summary for iOS

Time Profile현재시간 , 날짜 , 타임존 , 을 얻고 , 시간에 관련된 기능을 수행

DTS( 일광 절약 시간제 ) 는 한국에서 사용하지 않음 .

Page 46: Bluetooth Low Energy (BLE) Summary for iOS

Current Time Service시간과 관련된 서비스현재시간 , 지역 시간 정보 ,

Page 47: Bluetooth Low Energy (BLE) Summary for iOS

Reference Time Update Service

client 가 server 의 시간을 업데이트 할 때 사용할 수 있음 .

Page 48: Bluetooth Low Energy (BLE) Summary for iOS

Sample Profiles

Page 49: Bluetooth Low Energy (BLE) Summary for iOS

LED Service

Page 50: Bluetooth Low Energy (BLE) Summary for iOS

Temperature Service

Page 51: Bluetooth Low Energy (BLE) Summary for iOS

Accelerometer Service

Page 52: Bluetooth Low Energy (BLE) Summary for iOS

Terms

• Service - 봉사 , 서비스 , (BLE 에서 단위적 의미 )

• Characteristic - 특징 , 특성 , (BLE 에서 원자적 의미 )

Page 53: Bluetooth Low Energy (BLE) Summary for iOS

References

• http://support.connectblue.com/pages/viewpage.action?pageId=23035914

• https://developer.bluetooth.org/TechnologyOverview/Pages/Profiles.aspx

• http://developer.apple.com