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-CC2592EM-RD: Z-Stack 3.0 TC Link Join (BDB) API explain?

Part Number: CC2530-CC2592EM-RD
Other Parts Discussed in Thread: Z-STACK

Z-Stack 3.0 stack,developer confused very very much,Z-Stack ZNP Interface Specification.pdf not found anything explains.

How to explain the following variable meas or API and MACRO definition ? This is significant for we use TC Link Join and rejoin the zigbee network,when we connect the Z-Stack 3.0 with ZC and ZR etc. Please gave me a help!!! Tks. very much.

uint8 zgAllowRejoins = FALSE;   // FALSE by default

uint8 zgAllowInstallCodes = ZG_IC_SUPPORTED_NOT_REQUIRED;

APSME_AddTCLinkKey((uint8*)defaultTCLinkKey,extAddr);    //not found call in all project context

  • The newest Z-Stack 3.0 Developer's Guide.pdf in not found anything explains too.
  • Hi Hold Li,

    zgAllowRejoins  is meant to control if unsecured rejoin will be accepted by the Trust Center device in the network.

    zgAllowInstallCodes is meant to control a trust center policy and can take the values: ZG_IC_NOT_SUPPORTED (which is not allowed by R21 Zigbee specification), ZG_IC_SUPPORTED_NOT_REQUIRED which means that ZC can use it if joining device is willing to do so, ZG_IC_MUST_USED is used when ZC mandates that joining devices must use install codes to join the network, otherwise ZC will not allow them to join.

    APSME_AddTCLinkKey is used to set an InstallCode which parameters are the plain text key and the IEEE Address of the joining device that will use this install code. This is used by bdb.c (bdb_addInstallCode) to set the install codes with the format InstallCode+CRC (16 bytes + 2 bytes). This function is meant to be used by the ZNP device only if the host processor will perform the hashing to get the plain text key out of the actual install code in the joining device.

    NOTE: ZC is mandated to be the TC of the network by Z3.0

    Hope this helps, and let me know if you have further questions.