SDK版本simplelink_cc2640r2_sdk_1_30_00_25
下载SimpleBLEPeripheral 的HEX文件到Luanchpad 后,用iphone 6S 的APP 不知道为何搜索不到设备.
下载工具为 Flash Programmer 2 能看到烧写成功,读Flash也可以。
下载步骤:
界面Main——Multiple 第一个文件为simple_peripheral_cc2640r2lp_stack.hex,第二文件为simple_peripheral_cc2640r2lp_app.hex。
Action界面选择: 1 Erase –pages in image ; 2 Program — Entire source file 选择两项
之后烧录变成绿色:Success
请问 烧录成功后 为什么不能搜索到SimpleBLEPeripheral设备?是我下载的程序的方式出错吗?
Yue TANG:
使用的APP是什么 ? 有无打开蓝牙? 推荐使用 lightblue,或者TI自己的apps.
lightBlue
https://itunes.apple.com/us/app/lightblue-explorer-bluetooth/id557428110?mt=8
Description
LightBlue Explorer can connect you to all of your devices that use Bluetooth 4.0 Low Energy (also known as Bluetooth Smart, or Bluetooth Light). LightBlue Explorer has two modes, central and peripheral. In central mode, you can scan for and connect to all BLE devices around you. Once connected, you have a detailed view of all the device's profiles, from which you can read and write to characteristics and subscribe to notifications.To use peripheral mode, tap the blue circle next to one of the profiles listed under "Virtual Peripherals." When the blue checkmark appears, your iOS device will begin advertising as that particular BLE peripheral. LightBlue Explorer allows you to customize the services and characteristics of any virtual peripheral profile. Tap the "+" in the top right corner of the home screen to add new virtual peripherals. You can also clone any peripheral you connect to in central mode and save that profile to your list of virtual peripherals. Full support of read, write, and notify is included. You can view the signal strength (RSSI) to get an idea of how close you are to the peripheral.The log feature allows you to keep track of all significant BLE events that occur while using the app (e.g., device discovery, connection, reading, writing).Use LightBlue Explorer to test your new BLE Heart Rate Monitor, temperature sensor, TI CC2540 Keyfob, Nordic uBlue, Panasonic PAN1720, etc. LightBlue Explorer is also ideal for developers wanting to test the firmware of their own BLE peripherals.Key Features:- Scan for any peripherals- Grab basic device info (UUID, RSSI )- Browse Characteristics and Services – Register for Notifications- Read Characteristics- Write to Characteristics in Hex, Oct, Bin, Decimal or Ascii- Clone peripheral profiles- Choose from an array of common preconfigured peripheral profiles- Advertise as a peripheral using custom profiles- Thoroughly log BLE eventsThis app will not work on iPhone4, iPhone3GS, iPhone3G or iPod Touches before the 5th generation, or any other iOS device without built-in Bluetooth Low Energy support.
Punch Through Web SiteLightBlue Explorer – Bluetooth Low Energy Support
What's New in Version 2.4.0
* Added new feature that allows the user to sort and filter discovered devices by signal strength.* Fixed alignment of alert that occurs when Bluetooth is turned off.
Screenshots
iPhone iPad
Customer Reviews
Alen Lee:
回复 Yue TANG:
非常感谢! 是我的SDK 毕竟旧的缘故,现在用最新的版本可以用了