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.

请问cc2530 coordinator 如何处理通用report attributes

如图所示的发给coordinator的通用属性report包,我以为在zclSampleSw_ProcessIncomingMsg的case ZCL_CMD_REPORT里处理,结果调试发现进不了zclSampleSw_ProcessIncomingMsg函数。请问是什么原因?

  • 发送的end point,cluster id都对吗?

    另外可以单步调试下,程序执行到下面的地方,

    uint16 zcl_event_loop( uint8 task_id, uint16 events )
    {
      uint8 *msgPtr;
    
      (void)task_id;  // Intentionally unreferenced parameter
    
      if ( events & SYS_EVENT_MSG )
      {
        msgPtr = osal_msg_receive( zcl_TaskID );
        while ( msgPtr != NULL )
        {
          uint8 dealloc = TRUE;
    
          if ( *msgPtr == AF_INCOMING_MSG_CMD )
          {
            zcl_ProcessMessageMSG( (afIncomingMSGPacket_t *)msgPtr );
          }
          else