Could you please clarify what could be th reason of such Error when using ZPS_eAplZdoBind()
This is happening time to time. To be specific I can call ZPS_eAplZdoBind() to an object without any issue and in an other occasion, all ZPS_eAplZdoBind() I'm doing will report the same error ZPS_APL_ZDP_E_INV_REQUESTTYPE
The code is using the JN-AN-1216
This looks similar to https://community.nxp.com/t5/Wireless-Connectivity/ZPS-APL-ZDP-E-INV-REQUESTTYPE-on-jn5168-zigbee/m-... but it looks that no answers was provided
Hi @zigbee1,
You could free the APD Instance if you have that error.
hAPduInst = PDUM_hAPduAllocateAPduInstance(apduZDP); // ToDo - Clarify apduZCL is defined in application scope; how to link the name in BDB (independent of application)
.
.
.
if( ZPS_APL_ZDP_E_INV_REQUESTTYPE == eStatus ||
ZPS_APL_ZDP_E_INSUFFICIENT_SPACE== eStatus )
{
PDUM_eAPduFreeAPduInstance(hAPduInst);
}
Regards,
Mario
Could you kindly response to the question which is what is the meaning of that errors ?
What you have responded is what to do when receiving this error to avoid a PDU leakage (and which by the way is already done) !
Hi,
I am sorry, the meaning is return code, in this case as you know, it means the supplied request type was invalid.
after, are you still getting this issue?
Regards,
Mario
the same command works time to time! How can we debug that. can you clarify what is incorrect ?
Hi @zigbee1,
Could you please share the implementation that you did?
What is the process that you are doing?
Also, you could print out the vDisplayBindingTable for the debugging purpose.
Regards,
Mario