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_oad_offchip工程中在PROFILES中添加一个自定义的服务,手机APP连接上从机后,读写特征值,通知都无反应,怎么回事呢?自定义的服务在simple_peripheral工程中,能正常通信。



通过simple_central程序与从机连接,单步仿真主机程序(simple_central工程),发现程序卡死在 

if ((pMsg->method == ATT_READ_BY_TYPE_RSP) && (pMsg->msg.readByTypeRsp.numPairs > 0))

{

。。。

}

pMsg->method 返回的是 ATT_ERROR_RSP。