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

Parents Reply Children
  • abe said:

    But the define for ZB_AF_SET_ENDPOINT_HANDLER is for only one endpoint 

    For creating multiple you can just keep using that multiple times.

    But for now, I think you might just need one. If you use ZB_AF_SET_ENDPOINT_HANDLER, and configure all the clusters your SonOff sensor needs on this end point, does that change anything?

    Regards,

    Elfving

  • Hi,

    yes, I tried to Bind and Subscribe all SonOff needed cluster to my ZIGBEE_ADRI_ENDPOINT, but for alarm cluster it report always to endpoint 255, regardless the configuration sent and accepted
    Then, If I have godd understood, I can add to my sorce code two lines as follow:
    ZB_AF_SET_ENDPOINT_HANDLER (ZIGBEE_ADRI_ENDPOINT, _agent_ep_handler);
    ZB_AF_SET_ENDPOINT_HANDLER (ZIGBEE_ADRI_ENDPOINT_255, _agent_ep_handler_255);
    and on _agent_ep_handler_255 I can process all data received on endpoint 255, that's right?
    Abele

Related