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.

CC2530: The device is not able to join the network

Part Number: CC2530

Hi team,

Here's an issue from the customer may need your help:

The Ztack stack version number is 3.2.2.

1) After the coordinator is reset, the device can enter the network, exit the network, and re-enter the network normally from the first time the entry license is turned on to the end of the network. After the coordinator network is turned off, the network is turned on again and the device is unable to successfully join the network.

2) In ZDObject.c, ZDO_ProcessMgmtPermitJoinReq( zdoIncomingMsg_t *inMsg ), the function ZDO_ProcessMgmtPermitJoinReq( zdoIncomingMsg_t *inMsg ) is executed each time a device joins the network. The network open time is refreshed inside this function, stat = (byte) NLME_PermitJoiningRequest( duration ).

What is the intended purpose of this design? If comment out the line, what happens if do not refresh the network open time?

The packet capture results are as follows:

Procedure: First Network Open --> Device in Network --> Network off --> Device out --> Second Network Open --> Device in Network failed

https://e2echina.ti.com/cfs-file/__key/communityserver-discussions-components-files/104/_2C7B8C4E216B5362005F517FDC7E3159258D_.zip

Could you help check this case? Thanks.

Best Regards,

Cherry

  • Hi Cherry,

    The sniffer log does not show any activity from 0xAC39, so there is no way to understand the prior relationship between the coordinator and other node.  Does the ZC retain all NV network information after the reset?  It is clear that the ZC recognizes the NWK key from the node but does not have it associated, possible because it was not the original parent or was aged out from the association table.  There is not enough information provided to know for sure

    ZDO_ProcessMgmtPermitJoinReq enables the device to permit joining of new devices into the network, the timer is refreshed when a device joins successfully to allow more time for other devices.  Developers can choose to disable permit joining at any point.

    Regards,
    Ryan