Part Number:CC2530
Z Stack3.0 协调器发送了一个Identify Query 命令给路由器,路由器在哪里有回调,回调函数是什么?
Kevin Qiu1:
/********************************************************************** ZCL General Profile Callback table*/ static zclGeneral_AppCallbacks_t zclSampleSw_CmdCallbacks = {zclSampleSw_BasicResetCB,// Basic Cluster Reset commandNULL,// Identfiy cmdNULL,// Identify Query commandNULL,// Identify Query Response commandNULL,// Identify Trigger Effect command #ifdef ZCL_ON_OFFNULL,// On/Off cluster commandsNULL,// On/Off cluster enhanced command Off with EffectNULL,// On/Off cluster enhanced command On with Recall Global SceneNULL,// On/Off cluster enhanced command On with Timed Off #endif #ifdef ZCL_LEVEL_CTRLNULL,// Level Control Move to Level commandNULL,// Level Control Move commandNULL,// Level Control Step commandNULL,// Level Control Stop commandNULL,// Level Control Move to Closest Frequency command #endif #ifdef ZCL_GROUPSNULL,// Group Response commands #endif #ifdef ZCL_SCENESNULL,// Scene Store Request commandNULL,// Scene Recall Request commandNULL,// Scene Response command #endif #ifdef ZCL_ALARMSNULL,// Alarm (Response) commands #endif #ifdef SE_UK_EXTNULL,// Get Event Log commandNULL,// Publish Event Log command #endifNULL,// RSSI Location commandNULL// RSSI Location Response command };发出Identify Query command后,另一端会恢回复相应的dentify Query Response command
,
Edison Ye:
是不是自动回复的,还是需要我手动恢复,如果是手动回复,在那个函数回复,另外就是我的路由器好像就没有回复
,
Kevin Qiu1:
自动回复的,同一个问题都集中到一个帖子回复:https://e2echina.ti.com/support/wireless-connectivity/zigbee-and-thread/f/zigbee-thread-forum/211968/cc2530-cc2530-z-stack3-0-sdk
将此前提到的完整抓包文件传上来
,
YiKai Chen:
你的專案有定義ZCL_IDENTIFY嗎?