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.

CC2640R2 死机



你好!

芯片型号:CC2640R2  SDK:  sdk_3_30_00_20     基础例程:multi_role

我在官网的例程 multi_role 上做了一些修改,使手机app连接从机端后,从机端以Notify的形式发送数据给手机APP.

现在遇到一个问题:

当处于临界点时,即手机将要离开multi_role 的连接范围,这时候调用:gatt.h 下的函数向手机APP发送数据:

extern bStatus_t GATT_Notification( uint16 connHandle, attHandleValueNoti_t *pNoti,

uint8 authenticated )

multi_role 马上进入死机状态。

请问如何避免这种问题的呢?