Zigbee install codes

Hi,

my zigbee network for 120 sensors. if i declare 120 install codes then most of them don't work. The "zb_secur_ic_add" function works without error, "zb_secur_ic_get_list" returns the correct count, but the table is filled with either zeros and FF. If I declare 30 codes, then everything works correctly and the devices are added. the size of the memory has increased:

#define ZIGBEE_NVRAM_PAGE_SIZE 69632

#define ZIGBEE_NVRAM_PAGE_COUNT 2

#define ZIGBEE_NVRAM_CONFIG_PAGE_SIZE 4096

#define ZIGBEE_NVRAM_CONFIG_PAGE_COUNT 1

#include "zb_mem_config_max.h" 

#define ZB_CONFIG_OVERALL_NETWORK_SIZE  200

By the way, it seems that the function of "zb_secur_ic_get_by_idx" does not work correctly. returns -1. Moreover, if you declare codes for 30 devices, and then read the table, then the codes are not in the order in which they were announced. But everything is there. If you declare 100, then there is nothing at all.

Parents Reply
  • Hi,

    The Zigbee team has managed to reproduce it on their side, and observed that the list returned by zb_secur_ic_get_list() is correct up to 31 install codes. Adding a 32nd install code will cause the list to be broken, and all install codes 1-31 will be filled with FF, while install code number 32 will still be correct. After this, new install codes will be correct, but will eventually be broken again after enough is added.

    They do not have a solution for the problem yet, but they are still working on it.

    Best regards,

    Marte

Children
Related