ZPS_APL_ZDP_E_INV_REQUESTTYPE time to time when calling ZPS_eAplZdoBind

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

ZPS_APL_ZDP_E_INV_REQUESTTYPE time to time when calling ZPS_eAplZdoBind

1,290 Views
zigbee1
Contributor III

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

Labels (1)
0 Kudos
5 Replies

1,265 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

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

0 Kudos

1,255 Views
zigbee1
Contributor III

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) !

0 Kudos

1,248 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

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

0 Kudos

1,192 Views
zigbee1
Contributor III

the same command works time to time! How can we debug that. can you clarify what is incorrect ?

0 Kudos

1,153 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

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

0 Kudos