bluetooth low energy (ble) summary for ios
TRANSCRIPT
![Page 1: Bluetooth Low Energy (BLE) Summary for iOS](https://reader031.vdocument.in/reader031/viewer/2022012923/588266de1a28ab470c8b4a13/html5/thumbnails/1.jpg)
BLE SEMINARPrepared by Jo
![Page 2: Bluetooth Low Energy (BLE) Summary for iOS](https://reader031.vdocument.in/reader031/viewer/2022012923/588266de1a28ab470c8b4a13/html5/thumbnails/2.jpg)
![Page 3: Bluetooth Low Energy (BLE) Summary for iOS](https://reader031.vdocument.in/reader031/viewer/2022012923/588266de1a28ab470c8b4a13/html5/thumbnails/3.jpg)
About
![Page 4: Bluetooth Low Energy (BLE) Summary for iOS](https://reader031.vdocument.in/reader031/viewer/2022012923/588266de1a28ab470c8b4a13/html5/thumbnails/4.jpg)
Bluetooth 4.0 Low Energy
![Page 5: Bluetooth Low Energy (BLE) Summary for iOS](https://reader031.vdocument.in/reader031/viewer/2022012923/588266de1a28ab470c8b4a13/html5/thumbnails/5.jpg)
Why BLE?
![Page 6: Bluetooth Low Energy (BLE) Summary for iOS](https://reader031.vdocument.in/reader031/viewer/2022012923/588266de1a28ab470c8b4a13/html5/thumbnails/6.jpg)
BLE Benefit
• Less time on the air
• Less energy when on the air
![Page 7: Bluetooth Low Energy (BLE) Summary for iOS](https://reader031.vdocument.in/reader031/viewer/2022012923/588266de1a28ab470c8b4a13/html5/thumbnails/7.jpg)
BLE Benefit
![Page 8: Bluetooth Low Energy (BLE) Summary for iOS](https://reader031.vdocument.in/reader031/viewer/2022012923/588266de1a28ab470c8b4a13/html5/thumbnails/8.jpg)
Key terms
Client ServerHas DataWant Data
Central PeripheralControl peripheral Work
![Page 9: Bluetooth Low Energy (BLE) Summary for iOS](https://reader031.vdocument.in/reader031/viewer/2022012923/588266de1a28ab470c8b4a13/html5/thumbnails/9.jpg)
How interact?
![Page 10: Bluetooth Low Energy (BLE) Summary for iOS](https://reader031.vdocument.in/reader031/viewer/2022012923/588266de1a28ab470c8b4a13/html5/thumbnails/10.jpg)
Advertising
![Page 11: Bluetooth Low Energy (BLE) Summary for iOS](https://reader031.vdocument.in/reader031/viewer/2022012923/588266de1a28ab470c8b4a13/html5/thumbnails/11.jpg)
Advertising Multiple Channels
![Page 12: Bluetooth Low Energy (BLE) Summary for iOS](https://reader031.vdocument.in/reader031/viewer/2022012923/588266de1a28ab470c8b4a13/html5/thumbnails/12.jpg)
Setting up a Connection
![Page 13: Bluetooth Low Energy (BLE) Summary for iOS](https://reader031.vdocument.in/reader031/viewer/2022012923/588266de1a28ab470c8b4a13/html5/thumbnails/13.jpg)
Topology
연결Advertising
![Page 14: Bluetooth Low Energy (BLE) Summary for iOS](https://reader031.vdocument.in/reader031/viewer/2022012923/588266de1a28ab470c8b4a13/html5/thumbnails/14.jpg)
Service & Characteristic
Server
![Page 15: Bluetooth Low Energy (BLE) Summary for iOS](https://reader031.vdocument.in/reader031/viewer/2022012923/588266de1a28ab470c8b4a13/html5/thumbnails/15.jpg)
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](https://reader031.vdocument.in/reader031/viewer/2022012923/588266de1a28ab470c8b4a13/html5/thumbnails/16.jpg)
Service&
CharacteristicTree
![Page 17: Bluetooth Low Energy (BLE) Summary for iOS](https://reader031.vdocument.in/reader031/viewer/2022012923/588266de1a28ab470c8b4a13/html5/thumbnails/17.jpg)
Client Side - 3 Step
![Page 18: Bluetooth Low Energy (BLE) Summary for iOS](https://reader031.vdocument.in/reader031/viewer/2022012923/588266de1a28ab470c8b4a13/html5/thumbnails/18.jpg)
Reconnect - 3Ways
![Page 19: Bluetooth Low Energy (BLE) Summary for iOS](https://reader031.vdocument.in/reader031/viewer/2022012923/588266de1a28ab470c8b4a13/html5/thumbnails/19.jpg)
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](https://reader031.vdocument.in/reader031/viewer/2022012923/588266de1a28ab470c8b4a13/html5/thumbnails/20.jpg)
Pairing vs Bonding
• pairing 은 연결 후 전송되는 데이터 자체를 암호화 하지만• bonding 은 peripheral 과 central 이 key 를 주고 받기 때문에 더 안전하다 .
• 애플에서는 내부적으로 지원하는것 같음 .
![Page 21: Bluetooth Low Energy (BLE) Summary for iOS](https://reader031.vdocument.in/reader031/viewer/2022012923/588266de1a28ab470c8b4a13/html5/thumbnails/21.jpg)
Advertising Packet
![Page 22: Bluetooth Low Energy (BLE) Summary for iOS](https://reader031.vdocument.in/reader031/viewer/2022012923/588266de1a28ab470c8b4a13/html5/thumbnails/22.jpg)
Advertising Packet
![Page 23: Bluetooth Low Energy (BLE) Summary for iOS](https://reader031.vdocument.in/reader031/viewer/2022012923/588266de1a28ab470c8b4a13/html5/thumbnails/23.jpg)
애플 공식 가이드라인
![Page 24: Bluetooth Low Energy (BLE) Summary for iOS](https://reader031.vdocument.in/reader031/viewer/2022012923/588266de1a28ab470c8b4a13/html5/thumbnails/24.jpg)
애플 공식 가이드라인
![Page 25: Bluetooth Low Energy (BLE) Summary for iOS](https://reader031.vdocument.in/reader031/viewer/2022012923/588266de1a28ab470c8b4a13/html5/thumbnails/25.jpg)
SIG 공식 프로파일Adopted Bluetooth Profiles, Services and Protocols
![Page 26: Bluetooth Low Energy (BLE) Summary for iOS](https://reader031.vdocument.in/reader031/viewer/2022012923/588266de1a28ab470c8b4a13/html5/thumbnails/26.jpg)
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](https://reader031.vdocument.in/reader031/viewer/2022012923/588266de1a28ab470c8b4a13/html5/thumbnails/27.jpg)
Battery Service
![Page 28: Bluetooth Low Energy (BLE) Summary for iOS](https://reader031.vdocument.in/reader031/viewer/2022012923/588266de1a28ab470c8b4a13/html5/thumbnails/28.jpg)
Battery Service배터리는 Characteristic 이 아님 .
![Page 29: Bluetooth Low Energy (BLE) Summary for iOS](https://reader031.vdocument.in/reader031/viewer/2022012923/588266de1a28ab470c8b4a13/html5/thumbnails/29.jpg)
Device Information Service
![Page 30: Bluetooth Low Energy (BLE) Summary for iOS](https://reader031.vdocument.in/reader031/viewer/2022012923/588266de1a28ab470c8b4a13/html5/thumbnails/30.jpg)
Device Information Service
DIS exposes manufacturer information about a device
![Page 31: Bluetooth Low Energy (BLE) Summary for iOS](https://reader031.vdocument.in/reader031/viewer/2022012923/588266de1a28ab470c8b4a13/html5/thumbnails/31.jpg)
Find Me Profile
![Page 32: Bluetooth Low Energy (BLE) Summary for iOS](https://reader031.vdocument.in/reader031/viewer/2022012923/588266de1a28ab470c8b4a13/html5/thumbnails/32.jpg)
Find Me ProfileFMP 는 잃어버린 제품의 위치를 찾는데 사용할 수 있다 .
![Page 33: Bluetooth Low Energy (BLE) Summary for iOS](https://reader031.vdocument.in/reader031/viewer/2022012923/588266de1a28ab470c8b4a13/html5/thumbnails/33.jpg)
Blood Pressure Sensor
![Page 34: Bluetooth Low Energy (BLE) Summary for iOS](https://reader031.vdocument.in/reader031/viewer/2022012923/588266de1a28ab470c8b4a13/html5/thumbnails/34.jpg)
Blood Pressure Profile헬스케어 디바이스에서 사용할 수 있다 .
![Page 35: Bluetooth Low Energy (BLE) Summary for iOS](https://reader031.vdocument.in/reader031/viewer/2022012923/588266de1a28ab470c8b4a13/html5/thumbnails/35.jpg)
Blood Pressure Service혈압 Service 에는 혈압에 관련된 것만 있음 .
Service 단위로 나뉘는 것을 볼수 있음 .
![Page 36: Bluetooth Low Energy (BLE) Summary for iOS](https://reader031.vdocument.in/reader031/viewer/2022012923/588266de1a28ab470c8b4a13/html5/thumbnails/36.jpg)
Heart Rate Sensor
![Page 37: Bluetooth Low Energy (BLE) Summary for iOS](https://reader031.vdocument.in/reader031/viewer/2022012923/588266de1a28ab470c8b4a13/html5/thumbnails/37.jpg)
Heart Rate Profile심박센서에 사용될수 있음 .심박 Service 와 Device 정보 Service 가 따로 있는것을 볼수 있음 .
![Page 38: Bluetooth Low Energy (BLE) Summary for iOS](https://reader031.vdocument.in/reader031/viewer/2022012923/588266de1a28ab470c8b4a13/html5/thumbnails/38.jpg)
Heart Rate Service심박 Service 에는 관련된 Characteristic 만 있음 .
![Page 39: Bluetooth Low Energy (BLE) Summary for iOS](https://reader031.vdocument.in/reader031/viewer/2022012923/588266de1a28ab470c8b4a13/html5/thumbnails/39.jpg)
Proximity Profile
![Page 40: Bluetooth Low Energy (BLE) Summary for iOS](https://reader031.vdocument.in/reader031/viewer/2022012923/588266de1a28ab470c8b4a13/html5/thumbnails/40.jpg)
Proximity Profile디바이스간 거리관계를 모니터링 한다 . 디바이스 멀어질 때 알림을 받을 수 있다 . 디바이스 거리가 멀어지면 연결가능 레벨을 설정해서 디바이스 사용을 중지할 수 있다 .
![Page 41: Bluetooth Low Energy (BLE) Summary for iOS](https://reader031.vdocument.in/reader031/viewer/2022012923/588266de1a28ab470c8b4a13/html5/thumbnails/41.jpg)
Link Loss Service디바이스간 거리가 멀어져서 연결이 끊길 수 있는 단계가 됐을 때 알림을 보낸다 .
![Page 42: Bluetooth Low Energy (BLE) Summary for iOS](https://reader031.vdocument.in/reader031/viewer/2022012923/588266de1a28ab470c8b4a13/html5/thumbnails/42.jpg)
Tx Power Service
![Page 43: Bluetooth Low Energy (BLE) Summary for iOS](https://reader031.vdocument.in/reader031/viewer/2022012923/588266de1a28ab470c8b4a13/html5/thumbnails/43.jpg)
Tx Power ServiceTransmit power 를 표시한다 .
![Page 44: Bluetooth Low Energy (BLE) Summary for iOS](https://reader031.vdocument.in/reader031/viewer/2022012923/588266de1a28ab470c8b4a13/html5/thumbnails/44.jpg)
Time Profile
![Page 45: Bluetooth Low Energy (BLE) Summary for iOS](https://reader031.vdocument.in/reader031/viewer/2022012923/588266de1a28ab470c8b4a13/html5/thumbnails/45.jpg)
Time Profile현재시간 , 날짜 , 타임존 , 을 얻고 , 시간에 관련된 기능을 수행
DTS( 일광 절약 시간제 ) 는 한국에서 사용하지 않음 .
![Page 46: Bluetooth Low Energy (BLE) Summary for iOS](https://reader031.vdocument.in/reader031/viewer/2022012923/588266de1a28ab470c8b4a13/html5/thumbnails/46.jpg)
Current Time Service시간과 관련된 서비스현재시간 , 지역 시간 정보 ,
![Page 47: Bluetooth Low Energy (BLE) Summary for iOS](https://reader031.vdocument.in/reader031/viewer/2022012923/588266de1a28ab470c8b4a13/html5/thumbnails/47.jpg)
Reference Time Update Service
client 가 server 의 시간을 업데이트 할 때 사용할 수 있음 .
![Page 48: Bluetooth Low Energy (BLE) Summary for iOS](https://reader031.vdocument.in/reader031/viewer/2022012923/588266de1a28ab470c8b4a13/html5/thumbnails/48.jpg)
Sample Profiles
![Page 49: Bluetooth Low Energy (BLE) Summary for iOS](https://reader031.vdocument.in/reader031/viewer/2022012923/588266de1a28ab470c8b4a13/html5/thumbnails/49.jpg)
LED Service
![Page 50: Bluetooth Low Energy (BLE) Summary for iOS](https://reader031.vdocument.in/reader031/viewer/2022012923/588266de1a28ab470c8b4a13/html5/thumbnails/50.jpg)
Temperature Service
![Page 51: Bluetooth Low Energy (BLE) Summary for iOS](https://reader031.vdocument.in/reader031/viewer/2022012923/588266de1a28ab470c8b4a13/html5/thumbnails/51.jpg)
Accelerometer Service
![Page 52: Bluetooth Low Energy (BLE) Summary for iOS](https://reader031.vdocument.in/reader031/viewer/2022012923/588266de1a28ab470c8b4a13/html5/thumbnails/52.jpg)
Terms
• Service - 봉사 , 서비스 , (BLE 에서 단위적 의미 )
• Characteristic - 특징 , 특성 , (BLE 에서 원자적 의미 )
![Page 53: Bluetooth Low Energy (BLE) Summary for iOS](https://reader031.vdocument.in/reader031/viewer/2022012923/588266de1a28ab470c8b4a13/html5/thumbnails/53.jpg)
References
• http://support.connectblue.com/pages/viewpage.action?pageId=23035914
• https://developer.bluetooth.org/TechnologyOverview/Pages/Profiles.aspx
• http://developer.apple.com