ZPS_APL_ZDP_E_INV_REQUESTTYPE time to time when calling ZPS_eAplZdoBind

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

ZPS_APL_ZDP_E_INV_REQUESTTYPE time to time when calling ZPS_eAplZdoBind

1,390 次查看
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

标签 (1)
0 项奖励
5 回复数

1,365 次查看
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 项奖励

1,355 次查看
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 项奖励

1,348 次查看
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 项奖励

1,292 次查看
zigbee1
Contributor III

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

0 项奖励

1,253 次查看
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 项奖励