学习了很长一段时间的BLE了,但还是很迷惑,自己通过蓝牙4.0实现把传感器接收到的数据发送给手机端的APP。
让从机作为服务器,使用通知的功能,将应用数据发送给客户端手机。
要实现的话,丛机部分是不是要基于 SimpleBLEPeripheral 进行修改?要实现这种功能要怎么进行修改,流程是什么?
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.
processors.wiki.ti.com/.../CC2540_Data_Throughput 可以参考官方吞吐量的例程,这个例程就是用通知的方式实现的,基于SimplePeripheral进行修改的。应该能满足你的要求
另外,你可以参考sensortag的程序,sensortag下挂6个IIc传感器,全部是使用通知将传感器数据传输到手机的