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.

debug模式下,蓝牙示例程序simple_peripheral容易挂死,是什么原因呢?

在debug模式下,蓝牙示例程序容易挂死的地方 , C:\ti\simplelink_cc2640r2_sdk_3_40_00_10\examples\rtos\CC2640R2_LAUNCHXL\ble5stack\simple_peripheral,

SimplePeripheral_init 执行过程中挂死:

icall.c , 这个  uint32_t icall_directAPI( uint8_t service , icall_lite_id_t id, ... )  中的 

errno = ICall_waitMatch(ICALL_TIMEOUT_PREDEFINE, matchLiteCS, NULL, NULL,
(void **)&pCmdStatus); 

返回的 errno为 ICALL_ERRNO_TIMEOUT, 导致 程序挂死 ICall_abort。

ICall_waitMatch的输入参数,都不是用户数据,为何会挂死。 我看到 类似问题 http://e2e.ti.com/support/wireless-connectivity/bluetooth/f/538/p/798295/2974361,但没有解决