AnsweredAssumed Answered

KW41Z ZigBee Write Attributes Response

Question asked by Alejandro Velez on May 5, 2020
Latest reply on May 8, 2020 by Sebastián Del Río

Grettings,

 

I'm working with a KW41Z and MCUXpresso. I have a ZigBee router as server and a ZigBee end device as client. The end device as source sends an Write Attributes command to Zr  and I need to know if the Zr was able to receive correctly the Write Attributes command from Zed. I can check with sniffer that there is a Write Attributes Response and with no errors:

 

 

 

But I need to receive that indication in the client source (Zed)

 

ZigBee Cluster Library User Guide says:

 

The E_ZCL_CBET_WRITE_ATTRIBUTES_RESPONSE event is generated
when the parsing of an incoming ‘write attributes’ response message is
complete. This event is particularly useful following a write where all the
attributes have been written without errors since, in this case, no
E_ZCL_CBET_WRITE_INDIVIDUAL_ATTRIBUTE_RESPONSE events will be
generated.

 

But I can't see where this event is triggered (assigned only in vZCL_HandleAttributesWriteResponse function and this function is never called) and the Zed needs to check if the write attributes was succesful.

 

How can I achieve this??

 

Thanks

Outcomes