web bluetooth api 와 physical web
TRANSCRIPT
Web Bluetooth API
• 표준이 제정되지 않은 상태
• 표준 진행 상태 : W3C Web Bluetooth CG
• Browser Vendor 별 다양한 형태의 Web Bluetooth API
• Mozilla Firefox
• Google Chrome
Web Bluetooth API
W3C Mozilla FirefoxOS Google Chrome ETRI HyWAI 3.5
Bluetooth LE 지원 O O O O
BR/EDR 지원 X O O O
페어링 처리기기 객체가 페어링 여
부 확인전역
아답터 객체 자동 자동
LE 메시지수신 처리
Promise와GATT 객체
Promise와이벤트 객체 Callback Function Callback Function
LE 메시지송신 처리
GATT 속성별 객체
GATT 속성별 객체
블루투스전역 객체
GATT속성별 객체
BR/EDR 통신 방법 LE용 API 이용 Callback Function
소켓 기반통신
소켓 기반통신
서버 역할지원 X LE BR/EDR BR/EDR, LE
W3C
• W3C Web Bluetooth CG
• W3C Web Bluetooth Documents
웹 페이지 : http://www.w3.org/community/web-bluetooth/GitHub : https://github.com/WebBluetoothCG/web-bluetooth
Use Cases : https://webbluetoothcg.github.io/web-bluetooth/use-cases.htmlSpecification : http://webbluetoothcg.github.io/web-bluetooth/
Mozilla
• WebBluetooth Documents개발문서 : https://developer.mozilla.org/en-US/docs/Web/API/Web_Bluetooth_APIWiki : https://wiki.mozilla.org/WebAPI/WebBluetooth
* This API is available on Firefox OS for internal applications only.
• Chrome Bluetooth Documents소개 : https://developer.chrome.com/apps/app_bluetoothBluetooth API : https://developer.chrome.com/apps/bluetoothBluetooth Socket API : https://developer.chrome.com/apps/bluetoothSocketBluetooth Low Energy API : https://developer.chrome.com/apps/bluetoothLowEnergy
* Chrome version 37 이상 지원
• HyWAI
ETRI
* ETRI에서개발된 Hybrid Framework* Version 3.5 부터 Web Bluetooth API Interface 제공* 웹 페이지 : http://www.w3c.or.kr/hywai/
Physical Web
Google에서 2014년 10월 공개
버스정류장, 자동판매기 등에 URL을 Advertising 하는 BLE Device를설치하여 사용자가 별도의 App 없이Web으로 정보를 볼 수 있도록 제공
blesh BLE Device 및 App
* 웹 페이지 : http://google.github.io/physical-web/* GitHub : https://github.com/google/physical-web
ETRI HyWAI Physical Web Demo
HyWAI Bluetooth API
BLE Start Discovery
BLE Stop Discovery
Chrome Browser에서BLE url 열기
Bluetooth LE Scanner