20160129_jeffrey - silenceuncrio/diary GitHub Wiki

Index

  • 0930 - 好好的來玩 CSR 開發套件
  • 0940 - 開發套件盒子內不少東西
  • 1005 - 照著 CSR uEnergy Development Kit Quick Start Guide 演練
  • 1055 - 看 The CSR uEnergy xIDE User Guide
  • 1100 - CSR Energy Tools v2.0 and Software Development Kit v2.0.0
  • 1130 - CSR µEnergy xIDE User Guide
  • 1150 - Hello World
  • 1315 - GATT Database Generator User Guide
  • 1345 - Bluetooth Core Specification-2207 頁
  • 1420 - Study BLUETOOTH SPECIFICATION Version 4.2 [Vol 3, Part G]
  • 1530 - BLUETOOTH SPECIFICATION Version 4.2 [Vol 3, Part F]
  • 1610 - BLUETOOTH SPECIFICATION Version 4.2 [Vol 3, Part G]
  • 1645 - 看看 application note
  • 1650 - 先看 Alert Tag Application Note
  • 1715 - CSR Support 帳密-裝最新的 SDK
  • 1740 - GATT Client Application Note - Demonstrates implementation of a GATT Client
  • 1750 - US$300 的價格買一組開發套件不算貴

0930

農曆過年前就好好的來玩 CSR 開發套件

看一下現有的資訊

是白色的盒子上貼著貼紙

貼紙 1

  • CSR
  • DK-CSR1011-10138-1A
  • CSR1011 Tag
  • Development Kit
  • CNS12016 s/no - 343967
  • CNS10020 s/no - 338378
  • BT4.0 Nanosira s/no - 345389
  • Batch Code:- 10092015-1312-AB

貼紙 2

  • Rev.:
  • DC:1546
  • U_ID:01U15110500000015324 VLot.: 10092015-1312-AB
  • P/N: DK-CSR1011-10138-1A
  • CBR 無鉛/鏀混 AITG
  • G854
  • 2015/11/05 15:29:37
  • Qty: 1

貼紙 3

  • COO UK
  • RoHS
  • CB

0940

盒子內也不少東西

FedEx 的貼紙

  • 兩張聯單貼紙
  • 一張已被撕掉

三個靜電袋

  • 銀灰色 x 1
  • 粉紅色 x 2

一張光碟大小的紙

  • Environmental Compliance and Battery Safety Notes

一張光碟

  • 封面 - CSR Push every boundary.
  • 標題 - DK-CSR1011-10138
  • 內容物
    • CS-232056-RN-3.pdf
    • CS-233022-RN-1.pdf
    • uEnergy_SDK-2.0.0.41.exe
    • uEnergy_Tools_2_0_0_99.exe

一張 A4 對折

  • CSR uEnergy Development Kit Quick Start Guide
  • CSR1011 (DK-CSR1011-10138)

昨天 Jammy 有分享 CSR_uEnergy_SDK-2.4.5.13.zip 給我

1005

照著 CSR uEnergy Development Kit Quick Start Guide 演練一次

Component List... check

Initial Set Up... check

Providing Power to the Board... check

Install the SDK... check 執行 uEnergy_SDK-2.0.0.41.exe... done

Lanuch xIDE and Create a New CSR uEnergy Project... check

1055

再來是要看 The CSR uEnergy xIDE User Guide

找不到在哪裡...

1100

看一下 CS-232056-RN-3.pdf

CSR Energy Tools v2.0 
Release Note 
Issue 3

繼續

CS-233022-RN-1.pdf

CSR Energy 
Software Development Kit v2.0.0 
Release Note
Issue 1

3.5. Support Documentation The following documents are provided:

  • CSR µEnergy xIDE User Guide
  • GATT Database Generator User Guide
  • An Application Note is provided with each profile-based example application project.
  • A README document is provided in each peripheral example project.

找到了... CSR µEnergy xIDE User Guide

不過放在哪呢?

哈哈... 在開始功能表

image

1130

就來看 CSR µEnergy xIDE User Guide

1150

Hello World... done

1315

Hello World 完要做啥呢?

GATT Database Generator User Guide?

文件最後有一節 Term and Definitions

GATT - Generic Attribute Profile

1345

乖乖不得了

1.  Introduction to GATT Database Generator 
GATT based profiles require the use of a database which a remote client accesses using procedures as specified 
in the GATT specification (Volume 3, Part G of the Bluetooth Core Specification). 

introduction 還沒看完
又看到另一面山

從官網的

Home / Specifications / Adopted Specifications

可以載到 Bluetooth Core Specification... [Core_v4.2.pdf]... 2207 頁

真是讓我開了眼界

Specification of the Bluetooth System
Specification Volume 3
Core System Package [Host Volume]

Part G
GENERIC ATTRIBUTE PROFILE (GATT)

Part G 的部分從 P.2207 ~ P.2277

1420

先大致的 Study 一下 BLUETOOTH SPECIFICATION Version 4.2 [Vol 3, Part G]

不然不太知道 GATT 的存在意義

1530

哈哈... 繼續挖...

BLUETOOTH SPECIFICATION Version 4.2 [Vol 3, Part F] ATTRIBUTE PROTOCOL (ATT)

1610

BLUETOOTH SPECIFICATION Version 4.2 [Vol 3, Part G] 這一份真的很重要

不過很難在短時間消化... 但還是要想辦法先吞下去

1645

太難吞了...

來看看有啥 application note

Alert Tag Application Note

Describes the Alert Tag application and provides guidance on how to customise the on-chip application. The application demonstrates the Alert Notification and Phone Alert Status profiles which are specified by the Bluetooth SIG.

Blood Pressure Sensor Application Note

Describes the Blood Pressure Sensor application and provides guidance on how to customise the on-chip application. The application demonstrates the Blood Pressure profile which is specified by the Bluetooth SIG.

Glucose Sensor Application Note

Describes the Glucose Sensor application and provides guidance on how to customise the on-chip application. The application demonstrates the Glucose profile which is specified by the Bluetooth SIG.

Health Thermometer Application Note

Describes the Health Thermometer application and provides guidance on how to customise the on-chip application. The application demonstrates the Health Thermometer profile which is specified by the Bluetooth SIG.

Heart Rate Sensor Application Note

Describes the Heart Rate Sensor application and provides guidance on how to customise the on-chip application. This application demonstrates the Heart Rate profile which is specified by the Bluetooth SIG.

Mouse Application Note

Describes the Mouse application and provides guidance on how to customise the on-chip application. The application demonstrates the HID over GATT profile which is specified by the Bluetooth SIG.

Keyboard Application Note

Describes the Keyboard application and provides guidance on how to customise the on-chip application. The application demonstrates the HID over GATT profile which is specified by the Bluetooth SIG.

Security Tag Application Note

Describes the Security Tag application and provides guidance on how to customise the on-chip application. The application demonstrates the Find Me and the Proximity profile which is specified by the Bluetooth SIG.

看起來是英文字母順序排的... 不知道入門的是哪一個

1650

只列主題來當候選清單

  • Alert Tag Application Note
  • Blood Pressure Sensor Application Note
  • Glucose Sensor Application Note
  • Health Thermometer Application Note
  • Heart Rate Sensor Application Note
  • Mouse Application Note
  • Keyboard Application Note
  • Security Tag Application Note

去掉需要有 Sensor 的

  • Alert Tag Application Note
  • Mouse Application Note
  • Keyboard Application Note
  • Security Tag Application Note

再去掉鍵盤跟滑鼠

  • Alert Tag Application Note
  • Security Tag Application Note

就先看 Alert Tag Application Note

1715

跟 Jammy 聊了一下

CSR Support有更多的 application 可以看

帳密如下 Username - cmhunag.proscend password - 2_fgGo

先裝最新的 SDK - CSR_uEnergy_SDK-2.5.1

1740

裝完最新的 SDK 後本機就擁有了下列的資源

  • CSR µEnergy® SDK Support Documentation
    • file:///C:/CSR_uEnergy_SDK-2.5.1/doc/support/index.html
  • Bluetooth Smart Example Applications
    • file:///C:/CSR_uEnergy_SDK-2.5.1/doc/support/exampleappsprofile.html

就鎖定下面兩個來入門吧

  • GATT Client Application Note - Demonstrates implementation of a GATT Client.
  • GATT Server Application Note - Demonstrates implementation of a GATT Server.

1750

突然覺得 US$300 的價格買一組開發套件也不算貴 這麼豐富的文件量... 幫 RD 節省下來的開發時間遠超過 US$300