小弟在学习CC2540,用的是BLE-CC254x-1.3 stack,请教各位大侠,CC2540可以用可以发起连接请求,连接前次连上的蓝牙吗?用BTool演示,只能是BTool发起scan, 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.
首先, 你得让你的手机上的BLE 变成从设备, 发广播包出来. 这个你必须确认你手机可以这么做, 并且有相应的app能支持.
然后, 你把CC254x 烧入类似simpleBLECentral 这种类似的代码, 可以让其作为主设备, 这样才能发起连接.