Miumi Blogger
顯示具有
CC2540 / CC2541 BLE Development Notes
標籤的文章。
顯示所有文章
顯示具有
CC2540 / CC2541 BLE Development Notes
標籤的文章。
顯示所有文章
2017年2月7日 星期二
CC2540 / CC2541 BLE RTC TEST
CC2540 / CC2541 RTC TEST
1. Reset RTC to default (Default RTC Time : 2000 Jan 01 00:00:00)
2. Set the current time
3. RTC check
4.Leap year
5. Long-term test accuracy ...
2016年8月4日 星期四
CC2540 / CC2541 AES-CBC Encrypted / Decrypted for Notification
1.Notification Process
2.Set KEY and IV
3.Encrypted notification data and transmit to central
4.Central receive encrypted data
5.Central enter IV and KEY
6.Central decrypted
7.Central enter wrong IV to decrypted
8.Central enter wrong KEY to decrypted
CC2540 / CC2541 AES-CBC Encrypted / Decrypted for Write
1.Write Process
2.Set IV.
3.Set KEY.
4.E
ncrypted write data
and transmit to peripheral.
5.Peripheral receive encrypted data
6.Peripheral enter KEY and IV
7.Peripheral decrypted
CC2540 / CC2541 AES-CBC Encrypted / Decrypted for Write
1.Write Process
2.Set IV.
3.Set KEY.
4.E
ncrypted write data
and transmit to peripheral.
5.Peripheral receive encrypted data
6.Peripheral enter KEY and IV
7.Peripheral decrypted
2016年7月6日 星期三
CC2541 Create 128 UUID and Custom UUID
TI Tutorial :
http://processors.wiki.ti.com/index.php/Tutorial:_How_to_Create_a_Custom_Bluetooth_Smart_Embedded_Application_with_the_CC2650DK
define 128-bit UUID : F000-EE00-0451-4000-B000-000000000000
define Characteristic 1 Properties : Read
define Characteristic 2 Properties : Write / Notify
define Characteristic 3 Properties : Read
1.
Advertising Packet
2.Central(Android phone) connection with CC2541
3.Check characteristic properties
4.Read characteristic 1 default value
5.Peripheral (CC2541) set characteristic 1 value:
6.Read
characteristic 1
Value
7.
Central
(Android phone )
write data to
peripheral (CC2541)
8.Peripheral (CC2541)
receive the write data
9.Enable Notification
10.
Peripheral (CC2541) send notification data to
central
(Android phone )
11.Central
receive the
notification data
12.
Read c
haracteristic 3
default value
13.
Peripheral (CC2541) set
characteristic 3
value
14.
Read c
haracteristic 3
value
較舊的文章
首頁
訂閱:
文章 (Atom)