AnsweredAssumed Answered

How to read endddvice's attribute value

Question asked by zhang zhaoge on May 10, 2019
Latest reply on May 14, 2019 by zhang zhaoge

hello everyone:

    The SDK I used is jn-sw-4168, and the Application Template I used is ZigBee PRO Application Template for JN516x (jn-an-1184). Now, at the coordinate end, send data to the enddevice end through ZPS_eAplAfUnicastAckDataReq interface,and receive data normally at the enddevice.But while reading enddevice's custom attribute data with eZCL_SendReadAttributesRequest interface did not return the data, and no generation E_ZCL_CBET_READ_INDIVIDUAL_ATTRIBUTE_RESPONSE or E_ZCL_CBET_READ_ATTRIBUTES_RESPONSE events


The function that reads the attribute data is (at coordinate) :


The services on the enddevice side are my own defined and register.


The log information at coordinator is :


the log information at enddevice is : 


Could you please tell me what caused the failure of my above operation?

Where is the relevant demo code?


Attached is my code, thank you!