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.Encrypted 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.Encrypted 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 characteristic 3 default value

















13.Peripheral (CC2541) set characteristic 3 value

























14.Read characteristic 3 value


2016年4月15日 星期五

Android 6.0 as BLE Peripheral and CC2541 as BLE Central

1.Android5.0 and Android6.0 BLE Check.


















Android 5.0 support central mode only!!

Android 6.0 support central mode and peripheral mode !!

2.Android 5.0 phone as central / Android 6.0 phone as peripheral .





















Connected with peripheral device.





















3.Check service,attribute and peripheral notify data to central .

















4.Program TI-BLE-CC254x-1.4.1 CC254x_SmartRF_SimpleBLECentral.hex














CC2541 discovering ....



Can't find !!




























5.Modify source code and try again.

Devices Found 1 and check device address