Handle error 0x82 0x89 in JN5169 SDK 4170

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

Handle error 0x82 0x89 in JN5169 SDK 4170

1,402 Views
trungkstn
Contributor I

Hi, Im using JN5169, SDK 4170. When checking zigbee performance I get some errors ZPS_XS_E_NO_FREE_SIM_DATA_REQ, ZPS_XS_E_BAD_PARAM_APSDE_REQ_RSP after getting 0xD0 (

ZPS_NWK_ENUM_ROUTE_DISCOVERY_FAILED

). These erors I get from callback of ZPS_vExtendedStatusSetCallback.

I don't know how to handle this error. Please help me.

Thank & best regard

TrungTQ

Labels (1)
0 Kudos
11 Replies

1,143 Views
LChll
Contributor III

Hi Trung,

May I ask you two questions?

  • Have you successfully added curtain cluster?

  • How did you report the execution status of the curtain?

ad
0 Kudos

1,143 Views
trungkstn
Contributor I
Have you successfully added curtain cluster?

Yes. We know CLD_WINDOWCOVERING not support in SDK of NXP, We must add this cluster by ourself.

How did you report the execution status of the curtain?

We report attribute: "Current Position Lift Percentage". We check with Ubiqua's log, we send report successfully and correct format message.

0 Kudos

1,143 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi Trung,

Could you please explain with more details your application?

What is the AN that you are working on?

What are the changes that you did?

Regards,

Mario

0 Kudos

1,143 Views
trungkstn
Contributor I

Hi Mario

What is the AN that you are working on?

I based AN 1217 and my test follow step by step as below

0. Device (Router) join Coordinator (Dongle JN5169)

1. Device report attribute (Window Covering of Endpoint 1, 2 & Model ID of Endpoint 1) periodically 15 second.  

2. Unplug Dongle

3. View log of Router. After some report attributes, I see error 0x82 and 0x89.

What are the changes that you did?

I created Window Covering Cluster (because your Stack don't support this ZCL) and Disable Default Response.

0 Kudos

1,143 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi Trung,

Just to confirm, is the router a JN device?

However, you have unplugged the JN5169 Dongle, so the router is looking for his parents, and you are seen the error 0x82 and 0x89.

Do you have the sniffer log?

The ZPS_XS_E_NO_FREE_SIM_DATA_REQ is because you do nor have free simultaneous data request.

pastedImage_2.png

Regards,

Mario

0 Kudos

1,143 Views
trungkstn
Contributor I

I set both of 2 parameters to 10. But sometime I have still get this error.

0 Kudos

1,143 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi Trung,

Just to confirm, is the router a JN device?

Did you capture the traffic in the air?

Regards,

Mario

0 Kudos

1,143 Views
trungkstn
Contributor I
Just to confirm, is the router a JN device?

yes, it is router.

Did you capture the traffic in the air?

Because don't have coordinator (because of 2. Unplug Dongle), so only reply request send from router.

0 Kudos

1,143 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi Trung,

Router Device is trying to report data to Dongle that is not there.Is APS ACK enabled?
After how many packets are the error seen?

Is it possible that you could provide the Sniffer log to understand the behavior?

Regards,

Mario

0 Kudos

1,143 Views
trungkstn
Contributor I
Is APS ACK enabled?

Yes. But i send messages with No ACK.

After how many packets are the error seen? 

Sorry. This error is generated in callback of ZPS_vExtendedStatusSetCallback. I said in description error. These erors I get from callback of ZPS_vExtendedStatusSetCallback.

Is it possible that you could provide the Sniffer log to understand the behavior?

Do you simulate error? Because you must wait for a long time to get this error, sniffer can't capture full process. When we get error 0x82 and 0x89, sniffer log only has route request.

I see my question the same question in thread https://community.nxp.com/thread/509267 but seem I also don't see any solution.

0 Kudos

1,143 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi Trung,

Do you simulate error? Because you must wait for a long time to get this error, sniffer can't capture full process. When we get error 0x82 and 0x89, sniffer log only has route request.

I can not reproduce your issue. How many devices have you in your network.

Maximum Number of Simultaneous Data Requests Should be set to the maximum number of target nodes in one bound transmission. Both errors that you are getting are related.

Regards,

Mario

0 Kudos