2015年6月25日 星期四

CC2540 / CC2541 White List Test

CC2540 / CC2541 Android Phone White List Test

Get BLEPeripheral_WL Device MAC






















Android Phone Scan





















Use one android phone to bonding BLEPeripheral_WL























Enable White List Function

White List Function define:Allow Scan Request and Connect from White List Only























Android Phone Re-Scan





















Disable White List Function






















Android Phone Re-Scan
























2015年6月15日 星期一

CC2540 / CC2541 Modify The Maximum Number Of Bonds to 25

CC2540 / CC2541  Modify The Maximum Number Of Bonds to 25

CC2540 / CC2541  Maximum Number Of Bonds default : 10

1. Add USART command and function to get bonding info

CMD_PERIPHERAL_GET_BOND_INFO


Return





Maximum Number Of Bonds default : 10, Unbonds BOND.MAC returnFF FF FF FF FF FF

2. Add one bonding device and check the bonding info. 


















3.Modify the TI-BLE-CC254x BLE-Stack source code & add bonding device to bonding id:25


2015年5月29日 星期五

CC2540 / CC2541 Get Real MAC Address (for iphone)

CC2540 / CC2541 Get Real MAC Address (for iphone)

Android Phone Test

BLE Peripheral Device
















Check Android Phone BLE MAC Address















Use Android App to Scanning the device
















Connected














BLE Peripheral to check the Connect device MAC





















iPhone Test














Check IPhone BLE MAC Address






















Use IPhone App to Scanning the device





















Connected















BLE Peripheral to check the Connect device MAC





























Add function and command to get real MAC address























Turn off IPHONE Bluetooth device and BLE Peripheral will into Advertising

































Turn on IPHONE Bluetooth and try again






















Use command to get real MAC address

2015年5月21日 星期四

CC2540 / CC2541 BLE Central Write and Peripheral Notification (Data Max:20Byte)) !!

Central:CC2540
Peripheral :CC2541

Function Block








Device Init Down




















Central Start Discover



















Central Connented




















Central Write Data to Peripheral (20 Byte)



















Peripheral Display Central Write Data



















Peripheral Notification Data to Central (20 Byte)
















Central Display Peripheral Notificatiom Data