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: Do we need to revise ZDSECMGR_TC_DEVICE_MAX if we want to add more than 40 ZHA 1.2 devices into Z-Stack 3.0.1 coordinator?

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

Do we need to revise ZDSECMGR_TC_DEVICE_MAX if we want to add more than 40 ZHA 1.2 devices into Z-Stack 3.0.1 coordinator (CC2530)? Let's say we use default ZDSECMGR_TC_DEVICE_MAX which is 40 on ZC of Z-Stack 3.0 and I have 20 ZHA 1.2 ZRs and 140 ZHA 1.2 ZEds to join this Zigbee 3.0 ZC. Do I have to increase ZDSECMGR_TC_DEVICE_MAX to 160 or there is no need to do such revision. Besides, if all those 20 ZRs and 140 ZEDs run Zigbee 3.0 instead of ZHA 1.2, I think we have to revise ZDSECMGR_TC_DEVICE_MAX to 160, right?

  • Hi YK,

    ZDSECMGR_TC_DEVICE_MAX is specific to the maximum number of unique TCLKs supported (and therefore Zigbee 3.0 devices allowed) in the network. You do not need to increase this number if BDB_DEFAULT_TC_REQUIRE_KEY_EXCHANGE is set to FALSE to allow pre-Zigbee 3.0 joining and less than ZDSECMGR_TC_DEVICE_MAX Zigbee 3.0 devices have joined.

    Regards,
    Ryan
  • if BDB_DEFAULT_TC_REQUIRE_KEY_EXCHANGE is set to FALSE and all those 20 ZRs and 140 ZEDs run Zigbee 3.0, all the devices should be able to join this network, right?
    If BDB_DEFAULT_TC_REQUIRE_KEY_EXCHANGE is set to FALSE and ZDSECMGR_TC_DEVICE_MAX is 40, only 40 Zigbee 3.0 devices can join but more ZHA 1.2 devices, let’s say another 20 ZRs/120 ZEDs, can join the same network, right?
  • Even if BDB_DEFAULT_TC_REQUIRE_KEY_EXCHANGE is set to FALSE a Zigbee 3.0 joining device will request a TCLK key update as is required by the R21 specification. Therefore the coordinator must reserve table space accordingly which is why ZDSECMGR_TC_DEVICE_MAX must accommodate for the number of 3.0 devices. So the answer to your questions is no & yes.

    Regards,
    Ryan
  • Thanks Ryan for clarifying this.