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.

2.5.1协议栈,压力测试发送数据到绑定节点时出现跑飞现象

               zclSample_DstAddr.addrMode = (afAddrMode_t)AddrNotPresent;
               zclSample_DstAddr.endPoint = 0;
               zclSample_DstAddr.addr.shortAddr = 0;

               zclReportCmd_t *pReportCmd;
               pReportCmd = osal_mem_alloc((sizeof(zclReportCmd_t) + sizeof(zclReport_t)));
                if( pReportCmd != NULL )
                {
                    pReportCmd->numAttr = 1;
                    pReportCmd->attrList[0].attrID =   ATTRID_ON_OFF;
                    pReportCmd->attrList[0].dataType = ZCL_DATATYPE_BOOLEAN;
                    pReportCmd->attrList[0].attrData = (void *)(&zclSample1_OnOff);
                    zcl_SendReportCmd( SAMPLE_ENDPOINT1, &zclSample_DstAddr,ZCL_CLUSTER_ID_GEN_ON_OFF,
                    pReportCmd,ZCL_FRAME_SERVER_CLIENT_DIR, TRUE, zclSampleRxSeqNum);

                    osal_mem_free( pReportCmd );
                }

死机出现在zcl_SendReportCmd中,请问这部分代码有问题吗?