在simpleBLEPeripheral协议栈中修改了characteristic5的属性,将其从READ变为READ|WRITE|NOTIFY,
现在可以正常读写,但在手机上写入特征值后会收到从机发过来的消息,值为characteristic5的值,
但我没有在simpleProfile_WriteAttrCB和simpleProfileChangeCB中增加GATT_Notification等发送消息的函数,
有前辈知道这条消息是从哪个函数发出来的吗?
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.
在simpleBLEPeripheral协议栈中修改了characteristic5的属性,将其从READ变为READ|WRITE|NOTIFY,
现在可以正常读写,但在手机上写入特征值后会收到从机发过来的消息,值为characteristic5的值,
但我没有在simpleProfile_WriteAttrCB和simpleProfileChangeCB中增加GATT_Notification等发送消息的函数,
有前辈知道这条消息是从哪个函数发出来的吗?