ZPS_APL_ZDP_E_INV_REQUESTTYPE time to time when calling ZPS_eAplZdoBind

cancel
Showing results for 
Search instead for 
Did you mean: 

ZPS_APL_ZDP_E_INV_REQUESTTYPE time to time when calling ZPS_eAplZdoBind

95 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
3 Replies

70 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

60 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

53 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