This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Zigbee install code list

Hi,

I am writing a coordinator application based on the zigbee CLI example.
I am using SDK for Thread and Zigbee v4.1 (latest if I am right). nRF52840 DK as HW.

I want to use the function in zboss_api called zb_secur_ic_get_list in order to get information about the added install codes. But there is simple no information about how to use this function and which structure to use for the entries. Also no information on infocenter.

How can I use this function?
Or how could I get a list of install codes added to the trust center?

BR,
Damien

  • Hi,

    Have you checked out the documentation for the function in the code, specifically in the file zboss_api.h? There you can find the following about zb_secur_ic_get_list:

    /**
       Get list of the install codes.
    
       It is valid only for the TC (ZC).
    
       @param table - pointer to the allocated space for the entries.
       @param cnt - pointer to the counter that indicates count of the output items in the table.
    
       @return RET_OK on success or RET_ERROR in case of fail
    */
    zb_ret_t zb_secur_ic_get_list(zb_uint8_t* table, zb_uint8_t *cnt);

    Best regards,

    Marte

  • Hi,

    Yes I did see this but that is not a complete documentation. Nothing tells how this function writes the table. No structure is defined in order to know the content of table.

    BR,
    Damien

  • Hi,

    I'm afraid that the implementation of the function and how it works is a part of the ZBOSS stack that is not available to users. As you've probably noticed, several functions in the SDK only has a declaration and no visible implementation. This is because they aren't part of the SDK, but are precompiled as part of the ZBOSS stack. If you want to see their implementation, you would have to get access to the ZBOSS stack. 

    However, if you want more general information about install code, you can read about it in the Zigbee Base Device Behaviour specification. In version 1.0 of the document, it can be found in chapter 10.1. There you can find more information about the process.

    Best regards,

    Marte

  • Hi,

    Ok thanks. I managed to find how it works but it is a bit sad that I had to take so much time for something like that. I am actually surprised that there is not more people trying to use this function. Or they maybe found it obvious how to use it.

    BR,
    Damien

Related