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

Process to Recompiling precompiled libzboss.a in NRF52 zigbee sdk

Hi , 
I am developing a zigbee project using nrf52840 using NRF52 zigbee sdk . I had to do some changes in zboss header files (zb_config_common.h and zb_config.h ) to change global encryption key for my application. But changes are not reflected in built solution as compiler uses precompiled library for building solution. I want to ask that how can I recompile the precompiled library  libzboss.a.

Regards

Ahmed 

  • Hello Ahmed,

    What changes is it that you want to apply?

    The libzboss.a is a prebuilt library from an external company, so it is not possible to rebuild that with custom changes, but again, you shouldn't have to. Perhaps there are some other way to implement the changes you refer to? Can you describe a bit more in detail what it is that you want to do?

    BR,

    Edvin

  • I want to change global trust center link key on line 71 of zb_config_common.h

    /*
    4.6.3.2.2.1 Standard Security Mode

    A default global trust center link key must be supported by the device if no other
    link key is specified by the application at the time of joining. This default link key
    shall have a value of 5A 69 67 42 65 65 41 6C 6C 69 61 6E 63 65 30 39
    (ZigbeeAlliance09).44
     */
    /*! Define a default global trust center link key */
    #define ZB_STANDARD_TC_KEY {0x5A0x690x670x420x650x650x410x6C0x6C0x690x610x6E0x630x650x300x39 };
    //////////////////////////////////////////////////////////////////////////////////
    And on line 161 of zb_config.h  ZB_ZGP_DEFAULT_LINK_KEY value 

    /* 5.1.2.3.2 test specification - The default value for DUT-GPP being a Basic Combo pr a Basic Proxy
     * is "ZigBeeAlliance09", i.e. {0x5A 0x69 0x67 0x42 0x65 0x65 0x41 0x6C 0x6C 0x69 0x61 0x6E
     * 0x63 0x65 0x30 0x39}. */
    #define ZB_ZGP_DEFAULT_LINK_KEY "ZigBeeAlliance09"
    Regards 
    Ahmed


  • Hello

    I interpret the comment for this define in the way that this key shall not be changed.

    There is some API to use other keys in the Zigbee libraries. Please check out the Zigbee Network Security API documentation.

    Perhaps there is something you can use there?

    BR,

    Edvin

Related