Upload
steve-jo
View
455
Download
1
Embed Size (px)
Citation preview
BLE SEMINARPrepared by Jo
About
Bluetooth 4.0 Low Energy
Why BLE?
BLE Benefit
• Less time on the air
• Less energy when on the air
BLE Benefit
Key terms
Client ServerHas DataWant Data
Central PeripheralControl peripheral Work
How interact?
Advertising
Advertising Multiple Channels
Setting up a Connection
Topology
연결Advertising
Service & Characteristic
Server
Characteristic
CharacteristicTypeValueProperties
Client ConfigurationDescriptors
Read, Write, NotifyThe Data
Notification On/OffMore Information About The Value
UUID
Service&
CharacteristicTree
Client Side - 3 Step
Reconnect - 3Ways
Pairing
• Periphral trggers pairing
• By rejecting a read/write
• Paired -> Encrypted link
• Bonding -> Encrypted data
Central Peripheral
Read/Write
Pairing vs Bonding
• pairing 은 연결 후 전송되는 데이터 자체를 암호화 하지만• bonding 은 peripheral 과 central 이 key 를 주고 받기 때문에 더 안전하다 .
• 애플에서는 내부적으로 지원하는것 같음 .
Advertising Packet
Advertising Packet
애플 공식 가이드라인
애플 공식 가이드라인
SIG 공식 프로파일Adopted Bluetooth Profiles, Services and Protocols
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
• …
Battery Service
Battery Service배터리는 Characteristic 이 아님 .
Device Information Service
Device Information Service
DIS exposes manufacturer information about a device
Find Me Profile
Find Me ProfileFMP 는 잃어버린 제품의 위치를 찾는데 사용할 수 있다 .
Blood Pressure Sensor
Blood Pressure Profile헬스케어 디바이스에서 사용할 수 있다 .
Blood Pressure Service혈압 Service 에는 혈압에 관련된 것만 있음 .
Service 단위로 나뉘는 것을 볼수 있음 .
Heart Rate Sensor
Heart Rate Profile심박센서에 사용될수 있음 .심박 Service 와 Device 정보 Service 가 따로 있는것을 볼수 있음 .
Heart Rate Service심박 Service 에는 관련된 Characteristic 만 있음 .
Proximity Profile
Proximity Profile디바이스간 거리관계를 모니터링 한다 . 디바이스 멀어질 때 알림을 받을 수 있다 . 디바이스 거리가 멀어지면 연결가능 레벨을 설정해서 디바이스 사용을 중지할 수 있다 .
Link Loss Service디바이스간 거리가 멀어져서 연결이 끊길 수 있는 단계가 됐을 때 알림을 보낸다 .
Tx Power Service
Tx Power ServiceTransmit power 를 표시한다 .
Time Profile
Time Profile현재시간 , 날짜 , 타임존 , 을 얻고 , 시간에 관련된 기능을 수행
DTS( 일광 절약 시간제 ) 는 한국에서 사용하지 않음 .
Current Time Service시간과 관련된 서비스현재시간 , 지역 시간 정보 ,
Reference Time Update Service
client 가 server 의 시간을 업데이트 할 때 사용할 수 있음 .
Sample Profiles
LED Service
Temperature Service
Accelerometer Service
Terms
• Service - 봉사 , 서비스 , (BLE 에서 단위적 의미 )
• Characteristic - 특징 , 특성 , (BLE 에서 원자적 의미 )
References
• http://support.connectblue.com/pages/viewpage.action?pageId=23035914
• https://developer.bluetooth.org/TechnologyOverview/Pages/Profiles.aspx
• http://developer.apple.com