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

Zigbee reporting not work while using multiple endpoints

Hello,

I just started to understand Zigbee and I had some problem. I created 3 endpoints. In one of them (endpoint counter_ep) I need a attribute reporting. A reporting works well only if this endpoint is the last in the list of macro parameters ZBOSS_DECLARE_DEVICE_CTX_3_EP or the only one in the macro ZBOSS_DECLARE_DEVICE_CTX_1_EP, otherwise reports will be unstable (for example, only 1 out of 10 reports will be received). Please tell me what could be the problem. I already found a similar problem on your forum, but the question has been deleted.

Thanks in advance.

I am using nrf52840 chip, SDK 4.0.0, router.
Coordinator: nrf52840, SDK 4.0.0, CLI example.

Examples:
counter_ep - endpoint with report.

Works:

ZBOSS_DECLARE_DEVICE_CTX_3_EP (counter_ctx, duty_ep, leds_ep, counter_ep);

or
ZBOSS_DECLARE_DEVICE_CTX_1_EP (counter_ctx, counter_ep);

Does not work:

ZBOSS_DECLARE_DEVICE_CTX_3_EP (counter_ctx, counter_ep, duty_ep, leds_ep);

or
ZBOSS_DECLARE_DEVICE_CTX_3_EP (counter_ctx, duty_ep counter_ep, leds_ep);

or
ZBOSS_DECLARE_DEVICE_CTX_2_EP (counter_ctx, counter_ep, leds_ep);

or
ZBOSS_DECLARE_DEVICE_CTX_2_EP (counter_ctx, counter_ep, duty_ep);

Parents
  • Hi

    Sorry, "errors" was not the right term to use here. Are you able to log any of the reporting processes to see if we can get any information from there? I still haven't been able to spot what exactly is going wrong in your endpoint declaration I'm afraid, and my best suggestion is to take another look at the dynamic_color_light_bulb_thingy example to see if you're able to spot what is different in the declarations of your application and the example.

    Best regards,

    Simon

Reply
  • Hi

    Sorry, "errors" was not the right term to use here. Are you able to log any of the reporting processes to see if we can get any information from there? I still haven't been able to spot what exactly is going wrong in your endpoint declaration I'm afraid, and my best suggestion is to take another look at the dynamic_color_light_bulb_thingy example to see if you're able to spot what is different in the declarations of your application and the example.

    Best regards,

    Simon

Children
Related