有一个使用CC2540作为蓝牙模块和MCU 的小板子,已被开发者烧录入程序,我现在想通过电脑上的蓝牙与CC2540蓝牙模块连接,并通过蓝牙实现在PC上对CC2540的控制, 我该如何开始工作??
求高手指点,本人新入行~
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
GY,
well well well...
首先,PC上你得需要有蓝牙4.0 协议栈支持。
其次,你得搞清楚你需要什么蓝牙功能?你的PC上的协议栈是否有这个功能?
然后,一切条件满足后,你就能用PC 查找并连接CC2540.
更多的开发指导,在 ..\BLE-CC254x-1.4.0\Documents\ 里,就是你安装的协议栈里面有。
更多信息,你可以看一下TI 的wiki :http://processors.wiki.ti.com/index.php/Category:BluetoothLE , 以及论坛置顶的信息。
你的电脑需要蓝牙适配器(支持蓝牙4.0),电脑端可以通过串口跟蓝牙模块通信。
若没有蓝牙适配器,使用USB Dongle(烧入相应的适配器hex文件),电脑端可以使用
BLE Device Monitor 或者 BTool软件跟蓝牙模块连接。
BLE Device Monitor
http://processors.wiki.ti.com/index.php/BLE_Device_Monitor_User_Guide
http://www.ti.com/general/docs/lit/getliterature.tsp?baseLiteratureNumber=swru301&fileType=pdf
http://www.ti.com/lit/ug/swru301a/swru301a.pdf
http://www.ti.com/lit/ug/swru270c/swru270c.pdf
http://www.ti.com/lit/ug/swru271f/swru271f.pdf
http://www.ti.com/lit/ug/swru197h/swru197h.pdf
http://www.ti.com/lit/ug/swru221a/swru221a.pdf
HCI协议
http://processors.wiki.ti.com/index.php/CC256x_VS_HCI_Commands
http://processors.wiki.ti.com/index.php/CC256x
希望对你有用。