26
Author:steven Introduction Bluetooth low energy(BLE) wireless technology 111/06/10 1

Bluetooth low energy(ble) wireless technology

Embed Size (px)

Citation preview

Page 1: Bluetooth low energy(ble) wireless technology

Author:steven

Introduction Bluetooth low energy(BLE) wireless

technology

112/04/131

Page 2: Bluetooth low energy(ble) wireless technology

OutlineAbout BluetoothBluetooth low energy(BLE) wireless

technologyFeature StackProfile

Nordic BLE featureExampleNordic BLE framework(con,..)

112/04/132

Page 3: Bluetooth low energy(ble) wireless technology

About Bluetooth(BT)2.0: EDR (Not Mandatory) 2.1: SSP (Mandatory)3.0: High Speed (Not Mandatory)4.0: Low Energy (Mandatory)

112/04/133

Page 4: Bluetooth low energy(ble) wireless technology

About BluetoothFig 1.History of Bluetooth

112/04/134

Page 5: Bluetooth low energy(ble) wireless technology

FeatureUltra-low peak, average and idle mode

power consumptionAbility to run for years on standard coin-cell

batteriesLow costMulti-vendor interoperability Enhanced range

112/04/135

Page 6: Bluetooth low energy(ble) wireless technology

FeatureClassic BT(Bluetooth) v.s BLE(bluetooth low

energy)1.藍牙 4.0

不傳聲音, 不傳檔案, 只傳資料, 小量的資料, 距離短 最短可在 3 毫秒內完成連線設定並開始傳輸資料 支援星形拓撲的一對多連線

2.BT 和 BLE, 不是用來取代 BT 。而是將 BT(BLE)擴展它的應用範圍。

112/04/136

Page 7: Bluetooth low energy(ble) wireless technology

FeatureBT v.s BLE

112/04/137

Page 8: Bluetooth low energy(ble) wireless technology

FeatureBT v.s BLE

112/04/138

Page 9: Bluetooth low energy(ble) wireless technology

Feature專有名詞 :

藍牙規範( Bluetooth profile )藍牙技術聯盟定義了許多 Profile 。 Profile 目的是要確保

Bluetooth 設備間的互通性( interoperability )。但Bluetooth 產品無須實現所有的 Bluetooth 規範 Profile 。

SIG 所通過的 Profile ,分成兩類;健康醫療體適能及通知類。有關健康的 Profile 有心跳計、體溫計及血壓計。通知類有電話通知、近距離通知及時間等。

及新增 HID 的 Profile(keyboard and mouse) 。

112/04/139

Page 10: Bluetooth low energy(ble) wireless technology

Feature專有名詞 :

Bluetooth smart (single mode)Bluetooth smart ready(dual mode)

BLE smart : 只能各 BT 4.0(smart and smart ready) 相容

BLE smart ready : 可向下相容於之前的 BT(2 and 3)

112/04/1310

Page 11: Bluetooth low energy(ble) wireless technology

專有名詞 (ATT , GATT, UUID and CCCD )

112/04/1311

Page 12: Bluetooth low energy(ble) wireless technology

專有名詞 (ATT , GATT, UUID and CCCD )

ATT (Attribute Protocol) and GATT (Generic Attribute Profile)every LE profile is expected to use them. But they

can also be used over "vanilla" Bluetooth (BR/EDR).ATT is a wire application protocol, while GATT

dictates how ATT is employed in service composition. Every Low Energy profile must be based on GATT. So, ultimately, every LE service uses ATT as the application protocol.

112/04/1312

Page 13: Bluetooth low energy(ble) wireless technology

專有名詞 (ATT , GATT, UUID and CCCD )

ATT: Attribute Protocola 16-bit handle; an UUID which defines the attribute type; a value of a certaing length.

112/04/1313

Page 14: Bluetooth low energy(ble) wireless technology

專有名詞 (ATT , GATT, UUID and CCCD )

GATT: Generic Attribute ProfileGATT is a base profile for all top-level LE

profiles. It defines how a bunch of ATT attributes are grouped together into meaningful services.

112/04/1314

Page 15: Bluetooth low energy(ble) wireless technology

專有名詞 (ATT , GATT, UUID and CCCD )

GATT: Generic Attribute Profile. GATT services

112/04/1315

Page 16: Bluetooth low energy(ble) wireless technology

專有名詞 (ATT , GATT, UUID and CCCD )

GATT: Generic Attribute Profile

112/04/1316

Page 17: Bluetooth low energy(ble) wireless technology

專有名詞 (ATT , GATT, UUID and CCCD )

GATT service characteristics

112/04/1317

Page 18: Bluetooth low energy(ble) wireless technology

專有名詞 (ATT , GATT, UUID and CCCD )

Characteristic descriptors

112/04/1318

Page 19: Bluetooth low energy(ble) wireless technology

專有名詞 (ATT , GATT, UUID and CCCD )

Client Characteristic Configuration descriptor

112/04/1319

Page 20: Bluetooth low energy(ble) wireless technology

Nordic BLE profileGATT-Based Specifications

1. alert notification profile/service2. Current Time Service3. Device Information Service4. Find Me Profile5. Health Thermometer Profile/Service6. Heart Rate Profile/Service7. Immediate Alert Service

112/04/1320

Page 21: Bluetooth low energy(ble) wireless technology

Nordic BLE profileGATT-Based Specifications

Link Loss ServiceNext DST Change ServicePhone Alert Status Profile/ServiceProximity ProfileReference time Update ServiceTime ProfileTx Power Service

112/04/1321

Page 22: Bluetooth low energy(ble) wireless technology

Nordic BLE profileThe source code and project file can be

found in the <InstallFolder>\Nordic\nrf51822\Board\nrf6310\ble

<installFolder> @C:\Keil\ARM\Device

112/04/1322

Page 23: Bluetooth low energy(ble) wireless technology

Nordic BLE profileTest Step :1. you can test the Profile example project By

iOS system or Master Control Panel2.The every Profile project Testing Step at

Nordic document

112/04/1323

Page 24: Bluetooth low energy(ble) wireless technology

112/04/1324

Page 25: Bluetooth low energy(ble) wireless technology

112/04/1325

Page 26: Bluetooth low energy(ble) wireless technology

referenceBluetooth: ATT and GATT

http://epx.com.br/artigos/bluetooth_gatt.phpBluetooth v4.0真的是超省電的,只要傳統的

1/10http://wjungle.blogspot.tw/2011/12/bluetooth

-v40.htmlBluetooth Smart (Low Energy)

Technologyfile:///C:/Users/steven/AppData/Roaming/

Mozilla/Firefox/Profiles/v0pqr6dp.default/ScrapBook/data/20130628115715/index.html

112/04/1326