Bluetooth low energy(ble) wireless technology

Post on 19-Jun-2015

4.640 views 6 download

Tags:

Transcript of Bluetooth low energy(ble) wireless technology

Author:steven

Introduction Bluetooth low energy(BLE) wireless

technology

112/04/131

OutlineAbout BluetoothBluetooth low energy(BLE) wireless

technologyFeature StackProfile

Nordic BLE featureExampleNordic BLE framework(con,..)

112/04/132

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

About BluetoothFig 1.History of Bluetooth

112/04/134

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

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

energy)1.藍牙 4.0

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

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

112/04/136

FeatureBT v.s BLE

112/04/137

FeatureBT v.s BLE

112/04/138

Feature專有名詞 :

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

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

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

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

112/04/139

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

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

112/04/1311

專有名詞 (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

專有名詞 (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

專有名詞 (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

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

GATT: Generic Attribute Profile. GATT services

112/04/1315

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

GATT: Generic Attribute Profile

112/04/1316

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

GATT service characteristics

112/04/1317

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

Characteristic descriptors

112/04/1318

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

Client Characteristic Configuration descriptor

112/04/1319

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

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

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

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

112/04/1324

112/04/1325

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