[Resolved]What does "E_SL_MSG_DEFAULT_RESPONSE" mean for host/node protocol for ZigBee_IoT_Gateway ?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

[Resolved]What does "E_SL_MSG_DEFAULT_RESPONSE" mean for host/node protocol for ZigBee_IoT_Gateway ?

1,076 次查看
erictao
Contributor II

According to the JN-AN-1194-ZigBee-IoT-Gateway-Control-Bridge.pdf, the E_SL_MSG_DEFAULT_RESPONSE defined as:

pastedImage_2.png

It does not get much description on this msg, but there is some usage in the sample code.

In the zigbee-jip-daemon sample code, for a ZHA On/Off cmd, it send out an E_SL_MSG_ONOFF and wait for E_SL_MSG_STATUS and then E_SL_MSG_DEFAULT_RESPONSE.

But there is no description on the response on E_SL_MSG_DEFAULT_RESPONSE for E_SL_MSG_ONOFF command:

pastedImage_3.png

What is E_SL_MSG_DEFAULT_RESPONSE used for? Is it to indicate that the Command is successfully received by the target(e.g.: APS acknowledged)?

Thank you!

0 项奖励
回复
1 回复

813 次查看
erictao
Contributor II

Got a check on JN-UG-3077 and 075366r02ZB_AFG-ZigBee_Cluster_Library_Public_download_version, this is a ZCL Default Response:

The default response command is generated when all 3 of these criteria are met:
1: A device receives a unicast command that is not a default response command
2: No other command is sent in response to the received command, using the
same Transaction sequence number as the received command
3: The Disable default response bit of its Frame control field is set to 0 (see
2.3.1.1.4) or when an error results.

which could be used to show that, e.g.: an endevice succesfully received the On/Off cmd.

0 项奖励
回复