微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 无线和射频 > TI Zigbee设计交流 > z-stack 3.0 HA开发的问题

z-stack 3.0 HA开发的问题

时间:10-02 整理:3721RD 点击:

大家好:

      我用的协议栈版本是Z-Stack  3.0,在开发zigbee门磁,有如下问题:

1、ti协议栈有没有关于实现门磁的Cluster,或者适合用那个例程

2、

case ZCL_INCOMING_MSG:
// Incoming ZCL Foundation command/response messages
zclSampleSw_ProcessIncomingMsg( (zclIncomingMsg_t *)MSGpkt );

和 zcl_general.c中

* @fn zclGeneral_HdlIncoming
*
* @brief Callback from ZCL to process incoming Commands specific
* to this cluster library or Profile commands for attributes
* that aren't in the attribute list
*/
static ZStatus_t zclGeneral_HdlIncoming( zclIncoming_t *pInMsg )

都是处理响应消息,疑问:如果在zclGeneral_HdlIncoming中处理了,还会进case ZCL_INCOMING_MSG:?是有什么顺序吗

门磁的cluster是有的,在IAS Zone设备下面,门磁就是一个Zone设备。

VV,有关IAS_Zone有没有相关文档介绍。最近也在搞IAS_Zone类设备标准化。

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top