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.

使用 simple_peripheral 例程, 添加一些程序后,无法重复进入 SimplePeripheral_processCharValueChangeEvt

使用 simple_peripheral 例程, 在SimplePeripheral_processCharValueChangeEvt 中添加了函数,期望在被写入相应特征值后开启pwm并有频繁pwm中断,实际调试时发现第一次可以写入特征值并打开pwm,但是后续无法成功写入,跟踪发现无法进入SimplePeripheral_processCharValueChangeEvt函数,但是可以进入simpleProfile_WriteAttrCB函数并正常返回。

不知道是否和pwm频繁触发中断有关系?有什么方法可以定位到具体原因吗?