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

Max Zigbee endpoints

Hi, 

We are currently developing a Zigbee network based on nRF52840.

One of our devices was specially designed to contain 8 endpoints. But when an active ep request is sent it just retrieves 6 endpoints.

How can this setting be adjusted within the Zboss stack to increase the number to 8 endpoints?

We tried to undef and redefine ZB_MAX_EP_NUMBER at zb_config.h without luck.

Regards,

Santiago

Parents
  • Hello,

    I don't know whether that is the way to change the number of EPs supported. In what file did you change it?

    From zb_vendor.h in SDK4.1.0:

    /* Compile-time memory configuration: hard-coded parameters.
    
       DO NOT CHANGE IT WHEN COMPILING APPLICATIONS USING PRE-COMPILED ZBOSS LIBRARIES!
     */
    #define ZB_PANID_TABLE_SIZE 28
    #define ZB_DEV_MANUFACTORER_TABLE_SIZE 32
    #define ZB_BUF_Q_SIZE 8
    #define ZDO_TRAN_TABLE_SIZE 16
    #define ZB_APS_ENDPOINTS_IN_GROUP_TABLE 8
    #define ZB_NWK_BTR_TABLE_SIZE 16
    #define ZB_NWK_BRR_TABLE_SIZE 16
    #define ZB_MAX_EP_NUMBER 6
    ...

    Let me check with our Zigbee team whether they have any ways to work around this limit. Either way, if this file is included in the project, then the definition of ZB_MAX_EP_NUMBER om zn_config.h will not be used, since it is already defined, and because of the #ifndef guard:

    #ifndef ZB_MAX_EP_NUMBER                                // Anything in between this line...
    /* max supported EP number, increase if needed */
    /** Maximum number of supported enpoints per device */
    #define ZB_MAX_EP_NUMBER 5
    #endif                                                  // And this line is not included if ZB_MAZ_EP_NUMBER is already defined elsewhere.

    BR,

    Edvin

  • Hi Edvin,

    Thanks for your reply.

    We use #undef ZB_MAX_EP_NUMBER and then #define ZB_MAX_EP_NUMBER 8 to redefine this value without success.

  • Hello Santiago,

    It looks like this is not trivial. Using the nRF5 SDK for Thread and Zigbee this will not be possible, so you have two options as I see it:

    1: Can you manage with 5 or less endpoints in your application?

    2: You need to port your application to NCS (nRF Connect SDK). However, this is not trivial even though you do.

    2.1: You may join the ZOI (Zigbee Open Initiative) and recompile the stack with the custom changes. (The stack is DSR's property, which is why this is not controlled by us). This would probably require some extra certifications (platform certification) to be done by you, in order to get the product Zigbee Certified.

    2.2. We can try to increase this, and put it in a development branch. I don't know whether we will be able to certify this, or what memory requirements this would require on the nRF. If this is the only remaining option for you, I suggest you get in touch with our RSM (Regional Sales Manager) for your area. Please send me a DM here on DevZone, and I can send you the contact information for the RSM for your area. Please send a link to this ticket in the DM, and you can discuss the path forward.

    Best regards,

    Edvin

  • Hi Edvin,

    Thanks for your response. 

    Option 1 is absolutely discarded.

    Option 2: why we need to move from nRF5 SDK for Thread and Zigbee to NCS? Is it deprecated?

    Thinking on Zigbee SDK, does we need to think on nRF5 SDK for Thread and Zigbee or NCS for future releases? 

    I want to be sure why there are 2 different SDK for Zigbee and which should be considered as the recommended for new designs...

    Regards,

  • sjf said:
    Option 2: why we need to move from nRF5 SDK for Thread and Zigbee to NCS? Is it deprecated?

     All new features are being added to NCS only. The nRF5 SDK is in maintenance mode, so not entirely deprecated, but as for new features you'll need to move to NCS.

    I just received an update from our Zigbee Team. They said that you can use the development library in NCS to continue the development. The option to increase the max endpoints number will be added there in NCS 1.5.0 (not yet released). Those libraries (the development libraries) are not certified, but verified against the Zigbee platform certification tests. 

    Best regards,

    Edvin

  • Hi Edvin,

    Where is the development library and how can be integrated to NCS? 

    Is there is any documentation about this?

    Regards

  • It is not available in the current version. It will be included in a future NCS release. What version, and when that will come, I don't know, unfortunately. Please direct roadmap questions like this to our RSM. 

    As for the location, I suspect it will end up somewhere in ncs\nrfxlib\zboss\, but as I mentioned, it is not yet there.

    Best regards,

    Edvin

Reply
  • It is not available in the current version. It will be included in a future NCS release. What version, and when that will come, I don't know, unfortunately. Please direct roadmap questions like this to our RSM. 

    As for the location, I suspect it will end up somewhere in ncs\nrfxlib\zboss\, but as I mentioned, it is not yet there.

    Best regards,

    Edvin

Children
No Data
Related