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: Z Stack3.0 协调器发送了一个Identify Query 命令给路由器,路由器在哪里有回调

Part Number: CC2530

Z Stack3.0 协调器发送了一个Identify Query 命令给路由器,路由器在哪里有回调,回调函数是什么?

  • Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    /*********************************************************************
    * ZCL General Profile Callback table
    */
    static zclGeneral_AppCallbacks_t zclSampleSw_CmdCallbacks =
    {
    zclSampleSw_BasicResetCB, // Basic Cluster Reset command
    NULL, // Identfiy cmd
    NULL, // Identify Query command
    NULL, // Identify Query Response command
    NULL, // Identify Trigger Effect command
    #ifdef ZCL_ON_OFF
    NULL, // On/Off cluster commands
    NULL, // On/Off cluster enhanced command Off with Effect
    NULL, // On/Off cluster enhanced command On with Recall Global Scene
    NULL, // On/Off cluster enhanced command On with Timed Off
    #endif
    #ifdef ZCL_LEVEL_CTRL
    NULL, // Level Control Move to Level command
    NULL, // Level Control Move command
    NULL, // Level Control Step command
    NULL, // Level Control Stop command
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    发出Identify Query  command后,另一端会恢回复相应的dentify Query Response command

  • 是不是自动回复的,还是需要我手动恢复,如果是手动回复,在那个函数回复,另外就是我的路由器好像就没有回复

  • 自动回复的,同一个问题都集中到一个帖子回复:https://e2echina.ti.com/support/wireless-connectivity/zigbee-and-thread/f/zigbee-thread-forum/211968/cc2530-cc2530-z-stack3-0-sdk

    将此前提到的完整抓包文件传上来

  • 你的專案有定義ZCL_IDENTIFY嗎?