大家好:
我用的协议栈版本是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:?是有什么顺序吗