This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MAC stuck in infinite Beacon Request loop

Other Parts Discussed in Thread: Z-STACK

There seems to be a problem with the Z-Stack MAC, sometimes a device keeps sending Beacon Requests indefinetely with a rate of around 2 per second. A beacon response does not stop this. A power cycle also doesn't stop it. As soon as the node is powered, beacon requests start. The application firmware runs normally, as does OSAL.


This behavior is seen when many nodes try to join the network at around the same time. I'm using Z-Stack Lighting 1.0.2 and classical commissioning.

This is the NIB as seen by the debugger:

Edit: I've extracted the _NIB from the hex file because the RAM version doesn;t seem to be completely synchronized with the flash version.

In the above table the one anomaly is that for the affected device, nwkState is NWK_INIT instead of NWK_ROUTER.

Another pointer is that even though nwkLogicalChannel is 0x19, the device sends the beacon requests on channel 0x0B.

I'm pretty sure this is a Z-Stack bug.

Br,

Sjef.