Coordinator endpoint

Hello, I developed for my customer, a ZigBee coordinator in last 2019, using nRF5 SDK for Thread and Zigbee v3.2.0.
I has installed many sistems on field, equipped witn several battery powered sensors (door, motion, occupancy ...) and mains powered actuators (bulbs and smart plug).
I have only one endpoint # 64 configured on my coordinator, and now I need to add a second endpoint to receive the info from some end-node that sends to fixed endpoint #255
How can I add it?
Thanks for help

Abele

  • Many thanks Elfving!
    I dont well understand where I must add the init function you suggest ...

    Here?

    Because as I already said I have the compiler error here ... 

    and also with this second solution

    Then, I think that before it's needed also solve the compiler issues ...

    Abele

  • Sorry about the delay, I was sick for a few days.

    Elfving said:

    Try to call init_multi_ep_fixers() from the attached files, in your initialization steps, just after the CTX and ZCL device callbacks are registered.

    And sorry about this part, I guess that specific part might've only applied to a previous customers case. I'll look into this

    Though could you try to see if this helps if you call it wherever?

    abe said:
    Because as I already said I have the compiler error here ... 

    Ah I see. Did you not get this error last time you tested multiple end points? Does removing init_multi_ep_fixers() in anyway make the errors disappear?

    Regards,

    Elfving

  • Sorry about the delay, I was sick for a few days.

    Elfving said:

    Try to call init_multi_ep_fixers() from the attached files, in your initialization steps, just after the CTX and ZCL device callbacks are registered.

    And sorry about this part, I guess that specific part might've only applied to a previous customers case. I'll look into this

    Though could you try to see if this helps if you call it wherever?

    abe said:
    Because as I already said I have the compiler error here ... 

    Ah I see. Did you not get this error last time you tested multiple end points? Does removing init_multi_ep_fixers() in anyway make the errors disappear?

    Regards,

    Elfving

  • Elfving,

    the compiler errors is on ENDPOINT MACRO definition ... and it was present also without the call of new function (you can see on my previsous posts)
    The call of init_multi_ep_fixers() is ininfluent for compiler errors ... the errors are already present

Related