TI中文支持网
TI专业的中文技术问题搜集分享网站

CC2530: Z-Stack 3.0 Z-Stack 3.02 回调函数数量不对等

Part Number:CC2530Other Parts Discussed in Thread:Z-STACK, CC1352P,

这是Z-Stack 3.02 版本的

/*********************************************************************
* ZCL General Profile Callback table
*/
static zclGeneral_AppCallbacks_t zclSampleSw_CmdCallbacks =
{
zclSampleSw_BasicResetCB, // Basic Cluster Reset command
NULL, // Identify Trigger Effect command
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
#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
#endif
#ifdef ZCL_GROUPS
NULL, // Group Response commands
#endif
#ifdef ZCL_SCENES
NULL, // Scene Store Request command
NULL, // Scene Recall Request command
NULL, // Scene Response command
#endif
#ifdef ZCL_ALARMS
NULL, // Alarm (Response) commands
#endif
#ifdef SE_UK_EXT
NULL, // Get Event Log command
NULL, // Publish Event Log command
#endif
NULL, // RSSI Location command
NULL // RSSI Location Response command
};

下面是Z-Stack 3.0

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
NULL, // Level Control Move to Closest Frequency command
#endif
#ifdef ZCL_GROUPS
NULL, // Group Response commands
#endif
#ifdef ZCL_SCENES
NULL, // Scene Store Request command
NULL, // Scene Recall Request command
NULL, // Scene Response command
#endif
#ifdef ZCL_ALARMS
NULL, // Alarm (Response) commands
#endif
#ifdef SE_UK_EXT
NULL, // Get Event Log command
NULL, // Publish Event Log command
#endif
NULL, // RSSI Location command
NULL // RSSI Location Response command
};

Kevin Qiu1:

这是正常的,Z-STACK 3.0.2更新至2018年,而CC13xx_CC26xx每个季度都会更新SDK,会做一些修改

二者都是基于zigbee3.0的,如果一定要一样的,可以选成同一型号,或者使用将要量产的CC2651系列,它和CC2652系列协议栈一样

,

Edison Ye:

CC1352P 有没有3.02版本协议栈,目前还是3.0的,导致CC1352P做协调器,CC2530做路由器对不上

,

Edison Ye:

补充一下,我现在就是为了考虑协调器节点容量和内存问题,协调器就采用了CC1352P 协议栈只有3.0版本,路由器和终端采用的是cc2530,再用最新的协议栈也就是3.02,导致对接不上,你们有没有CC2530 3.0版本协议栈SDK

,

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:

3.0版本协议栈可以到 https://www.ti2k.com/wp-content/uploads/ti2k/DeyiSupport_Zigbee_Z-STACK-ARCHIVE 下載

赞(0)
未经允许不得转载:TI中文支持网 » CC2530: Z-Stack 3.0 Z-Stack 3.02 回调函数数量不对等
分享到: 更多 (0)

© 2024 TI中文支持网   网站地图 鲁ICP备2022002796号-1