Device leaves automatically

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

Device leaves automatically

923 Views
deepanrajanbara
Contributor IV

Hi,

We have flashed control bridge application in our JN5189 chip which acts as a co-ordinator.

As soon as we pair our end sensor with coordinator. End sensor leaves from the network.

When analysed the sniffer log the coordinator sends a CONFIRM KEY for which status is set to SECURITY_FAIL.

We are not sure why this issue occurs, Please help us debug this issue.

Thank you,

Deepanraj.AtestUntitled.png

Labels (1)
0 Kudos
7 Replies

814 Views
deepanrajanbara
Contributor IV

Hi Mario,

End device is a third party sensor. So it is able pair with other zigbee coordinators except NXP. 

Have you added the trust center key and transport key for the wireshark ?

Is there any change to be done in the coordinator such as the install code or public key to be activated.

Thank you,

Deepanraj.A

0 Kudos

814 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

HI Deepanraj,

I can not open the file. It shows me only UDP packets.

Is there any change to be done in the coordinator such as the install code or public key to be activated.

By default, the example doesn't have enabled the install code. it is working with the Zigbee Alliance Key. However, What is the terminal message that you are getting?

 

However, is it possible that you could save the file in pcap format?

Regards,

Mario

0 Kudos

814 Views
deepanrajanbara
Contributor IV

Hi Mario,

Please find the log in pcap format.

thank you,

Deepanraj

0 Kudos

814 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi Deepanraj,

I am sorry for my late response, please accept my apologies. We have some delays for all of this situation, the COVID novel.

I am facing some issues trying to open your sniffer log, I am seeing UDP packets, however, I will run by my side and provide a sniffer log.

In the meantime, could you please print the APS keys table?

PRIVATE void vPrintAPSTable(void)
{
    uint8 i;
    uint8 j;

    ZPS_tsAplAib * psAplAib;
    uint64 u64Addr;

    psAplAib = ZPS_psAplAibGetAib();

    for ( i = 0 ; i < (psAplAib->psAplDeviceKeyPairTable->u16SizeOfKeyDescriptorTable + 3) ; i++ )
    {
        u64Addr = ZPS_u64NwkNibGetMappedIeeeAddr(ZPS_pvAplZdoGetNwkHandle(), psAplAib->psAplDeviceKeyPairTable->psAplApsKeyDescriptorEntry[i].u16ExtAddrLkup);
        DBG_vPrintf(TRUE, "%d MAC: 0x%x %x Key: ", i, (uint32)(u64Addr>>32), (uint32)(u64Addr&0xffffffff) );
        for(j=0; j<16;j++)
        {
            DBG_vPrintf(TRUE, "%02x ", psAplAib->psAplDeviceKeyPairTable->psAplApsKeyDescriptorEntry[i].au8LinkKey[j]);
        }
        DBG_vPrintf(TRUE, "\r\n");
    }
}

Please let me know your findings.

Regards,

Mario

0 Kudos

814 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi Deepanjar,

I hope you are doing great. Could you please confirm what are the application notes that you are working on?

Also, is it possible that you could provide the sniffer log file?

I want to confirm the public keys or if the coordinator doesn't have the install code activated.

Regards,

Mario

0 Kudos

814 Views
deepanrajanbara
Contributor IV

Hi Mario,

We are using JN-AN-1247.

Please find the wireshark logs attached.

Public key, do u mean trust center link key.

How to activate the install code in control bridge application.

Thank you,

Deepanraj.A

0 Kudos

814 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi Deepanraj,

I am sorry but the file is been corrupted. I can not check the Zigbee protocol.

pastedImage_1.png

The JN-AN-1247 is for the coordinator but what is the example that you are using for the end device?

Regards,

Mario

0 Kudos