When the sleepy device be joined through Router

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

When the sleepy device be joined through Router

3,104 Views
wslee
Contributor III

* Test environment :
- JN5169
- SDK : JN-SW-4168
- device : Coordinator, Router, Sleepy device
- JN-AN-1189 & JN-AN-1184

When The sleepy device be joined through the router, the following message was outputted in coordinator.

ERROR: Extended status 0x87

ERROR: Extended status 0x87

APP: vCheckStackEvent: ZPS_EVENT_AF_DATA_INDICATION   <- this is zcl basic report message of sleepy device.


In zps_nwk_pub.h, ZPS_teExtendedStatus 0x87 is the following.

// 0x87 There are no free entries in the extended address table.  The extended address table is configured in the config editor

What is that problem?

Additionally I want to know following.
At this time, there is no information about join in the coordinator.
I wants to the coordinator knows the information that the sleepy device be joined through the router.

Best Regards.

Labels (2)
Tags (3)
0 Kudos
16 Replies

2,557 Views
patrick_pan
NXP Employee
NXP Employee

Hi, Xiao

Can you post your configuration in AN1223 zpscfg file together with that of mainspoweroutlet in its zspcfg file ?

for example, if you want to set up nwk with 100 mainspoweroutlet , you can set followings in AN1223 zpscfg file:

 1) Mac Table Size = 100

  2) Active Neighbour Table Size + Address Map Table Size = 100 ( suggest that keep Active Neighbour table size as default value 26 in case no fragmentation for link status message, then Address Map Table Size can be set to 100-26=74)

  3) Routing Table Size can be set to same value (74) as that of Address Map Table Size.

0 Kudos

2,557 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi Lee,

Please set up the Default Extended PAN id different from 0. Zigbee Pro Editor.

I want to the coordinator knows the information that the sleepy device be joined through the router.

The coordinator is receiving a device announce from the router.

Look for the  case ZPS_EVENT_NWK_JOINED_AS_ROUTER:
case ZPS_EVENT_NWK_JOINED_AS_ENDDEVICE:

API vHandleStackEvent on the app_coordinator.c

Regards,

Mario

0 Kudos

2,557 Views
wslee
Contributor III

Hi Mario,

I have tested to Default Extended PAN Id 0x0000000000000001. 

But that result is also error. 

ERROR: Extended status 0x87

ERROR: Extended status 0x87

Also the coordinator not receives  ZPS_EVENT_NWK_JOINED_AS_ROUTER or ZPS_EVENT_NWK_JOINED_AS_ENDDEVICE.

And, Why not set to the Default Extended PAN Id is zero?

Best Regards,

Lee

0 Kudos

2,557 Views
xiaolajiao
Contributor I
When we use JN-AN-1223-ZigBee-IoT-Gateway-Control-Bridge-v1014 as coordinator,and Using MainsPowerOutlet in  JN-AN-1189.zip(JN-AN-1189-ZigBee-HA-Demo-1v15) as route .When we have a hundred devices, we have problems.All devices are present ERROR: Extended status 87,include coordinator and route。
0 Kudos

2,557 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi,

Please look at the next community post.

https://community.nxp.com/thread/492946 

Regards,

Mario

0 Kudos

2,557 Views
wslee
Contributor III

Hi Mario,

I am ready for long time.

Is this bug?

Best Regards,

Lee

0 Kudos

2,557 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi Lee Wonsoo,

Did you capture all the packets in the air? Could you please provide this sniffer log?

Regards,

Mario

0 Kudos

2,556 Views
wslee
Contributor III

Hi Mario,

The attachment is sniffer log of ubiqua protocol analyzer. 

Regards,

Lee

0 Kudos

2,556 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi Lee,

I had checked the sleep device that you are using and works fine.

Could you please confirm the example that you are using? I will try to replicate the issue and I need the same scenario.

Coordinator: JN-AN-1189 or JN-AN-1184?

Router: JN-AN-1189 or JN-AN-1184? DimmableLight? ColorDimmableLight?

Sleep End device, I used the JN-AN-1184, but I defined the ZPS_vAplSecSetInitialSecurityState that is not included.

Regards,

Mario

0 Kudos

2,556 Views
wslee
Contributor III

Hi Mario,

Coordinator: JN-AN-1189, Coordinator

Router: AN1184_ZBP_Router

Sleep End device: JN-AN-1189, OccupancySensor

I defined the ZPS_vAplSecSetInitialSecurityState that is included.

PUBLIC uint8 s_au8LnkKeyArray[16] = {0x5a, 0x69, 0x67, 0x42, 0x65, 0x65, 0x41, 0x6c,
0x6c, 0x69, 0x61, 0x6e, 0x63, 0x65, 0x30, 0x39};
ZPS_vAplSecSetInitialSecurityState(ZPS_ZDO_PRECONFIGURED_LINK_KEY, (uint8 *)&s_au8LnkKeyArray, 0x00, ZPS_APS_GLOBAL_LINK_KEY);

   

Regards,

Lee

0 Kudos

2,556 Views
wslee
Contributor III

Hi Mario,

How's it going?

Regards,

Lee

0 Kudos

2,556 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi Lee Wonsoo,

Could you please provide the set up that you have on the coordinator? Advance properties on the zpscfg file.

pastedImage_1.png

Regards,

Mario

0 Kudos

2,556 Views
wslee
Contributor III

Hi Mario,

Advance properties is the following.

pastedImage_1.png

Regards,

lee

0 Kudos

2,556 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi Lee,

What is the version that you have SDK and AN?

Did you modify the code?

Regards,

Regards,

0 Kudos

2,556 Views
yuboli
Contributor II

Hi Mario,

I also encountered an error with ERROR: Extended status 0x87, because I connected more than 100 devices, this error will appear.

pastedImage_1.png

the following is the advanced parameter configuration of my coordinator in the zpscfg file

pastedImage_2.png

This problem has been bothering me for a long time, please help me

Regards,

Daniel

0 Kudos

2,551 Views
286520810
Contributor I

Hi Daniel,

I have the same situation as you, 0x87 and 0x85, have you solved it?

I added about 40 ZR and 20 ZED

pastedImage_1.png

0 Kudos