BDB: r21 Trust Center and BDB: TCLK SendReqKey attempts over

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

BDB: r21 Trust Center and BDB: TCLK SendReqKey attempts over

582 Views
xubovey
Contributor III

hi,

when i use JN-SW-4170, JN-AN-1216 V1011 and JN-AN-1217 V1005, I got some error.

I do something as following:

1. power coor, send command "set extended panid", "set channel mask", "start network", "permit join"

2. power SED, press a button to call function "BDB_eNsStartNwkSteering"

3. i can get the log: SED get network address

however, there was somgthing err:

1. after SED joined the network, get log "BDB: BDB_vNsTimerCb 1" and "vNsStartTclk", then start polling

2. stop fast poll after 5sec, then get log "BDB: BDB_vNsTimerCb 2" and start polling again, i got log "BDB: r21 Trust Center"

3. stop fast poll after 5sec, then get log "BDB: BDB_vNsTimerCb 3"  three times in 15sec, and finally i get log "BDB: TCLK SendReqKey attempts over" , and the device leave the network and reset.

what should i do know?

Labels (2)
0 Kudos
2 Replies

512 Views
Sebastian_Del_Rio
NXP Employee
NXP Employee

Hi Xu, I hope you're doing well!

 

Could you please try changing the BDB_vNsStateMachine function in the bdb_ns.c source file to the following?

 

case E_NS_TCLK_WAIT_NODE_DESC_RES:
     switch(psZpsAfEvent->sStackEvent.eType)
    {
         case ZPS_EVENT_APS_DATA_INDICATION:
                if ((0 == psZpsAfEvent->u8EndPoint)&&(psZpsAfEvent->sStackEvent.uEvent.sApsDataIndEvent.u16ClusterId==ZPS_ZDP_NODE_DESC_RSP_CLUSTER_ID))
{
               ...
}

 

Please let me know if you continue having issues after changing that.

 

Best regards,

Sebastian

0 Kudos

512 Views
xubovey
Contributor III

JN-AN-1216 build config was: 

make TRACE=1 NODE=COORDINATOR BAUD=115200 JENNIC_CHIP=JN5169 JENNIC_CHIP_FAMILY=JN516x -k -j4

0 Kudos