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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

1,102 Views
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 Kudos
Reply
1 Reply

839 Views
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 Kudos
Reply