osal_start_timerEx( zclSampleSw_TaskID, SAMPLESW_ENREQ_TIMEOUT_EVT , 1000 ); 设置断点
Mon Jan 04, 2016 15:54:31: Breakpoint hit: Code @ zcl_samplesw.c:1007.22
Mon Jan 04, 2016 15:54:45: Breakpoint hit: Code @ zcl_samplesw.c:1007.22
ZDP_SimpleDescReq( &simpleDec_DstAddr, simpleDec_DstAddr.addr.shortAddr,simpleDec_EndPoint, 0); 设置断点
Mon Jan 04, 2016 15:54:48: Breakpoint hit: Code @ zcl_samplesw.c:1023.30
if (!((pSimpleDesc.simpleDesc.AppProfId == 0xC05E) &&
(pSimpleDesc.simpleDesc.AppNumInClusters == 1)
&& (pSimpleDesc.simpleDesc.AppNumOutClusters == 1))
&& ((pSimpleDesc.simpleDesc.AppNumInClusters > 0) ||
(pSimpleDesc.simpleDesc.AppNumOutClusters > 0))) 此条件不成立!
pSimpleDesc.simpleDesc.AppProfId = 260;
pSimpleDesc.simpleDesc.AppNumInClusters = ‘\0’ (0x00)
pSimpleDesc.simpleDesc.AppNumOutClusters = ‘\0’ (0x00)
osal_mem_free(pSimpleDesc.simpleDesc.pAppInClusterList); //执行此函数里时,程序失控
Mon Jan 04, 2016 15:54:59: Unable to execute: driver busy.
抓包数据在附件