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.
如题,谢谢~~~
请看这篇文章,讲得比较详细:http://www.cnblogs.com/ujnzxw/p/3645429.html
GATT_ReadCharValue()这个函数是主机读取从机发送过来的数据用的吧??我看的是串口透传的代码例程,搜索发现没看到调用这个函数读取从机发过来的数据.
yueliangz0123,
在simpleBLECentral中,
主机接收数据的函数是 simpleBLECentralProcessGATTMsg()
在simpleBLEPeripheral中,
从机接收数据的函数是simpleProfile_WriteAttrCB(),被写的回调。