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