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

The NRF52840 seems to not receive response from Green Power endpoints.

Hi,

I am currently using a NRF52840 dongle with the python wrapper for the zigbee library.

When I send a Discover Attribute to a Green Power cluster in a Green Power Endpoint, it seems that the dongle does not receive any response from the device. I know the device send a response because I can see the frame with WireShark but the Wrapper seems to ignore it and sens a Request Timeout.

The command I use is the following : 

zcl cmd -w -d {ieee_addr} 242 21 -p A1E0 C -l 0000ff

Thanks for your help.

Parents
  • Hi,

    Do you have a sniffer trace you can share? Does the command packet you are sending look correct in the sniffer trace?

  • Hi,

    The thing is that I can intercept any kind of data frame just fine but I can't intercept anything when I send any command with the Green Power Profile.

  • Can you share with us the code you are using for intercepting these frames?

  • Every function works with profile Home Automation, but it doesn't when I try to work with endpoint 242 and Green Power Profile
  • Hi again,

    I am so sorry for the late reply, I see I never managed to answer this. Are you still struggling with this issue?

    Are you running an application based on the CLI example on your dongle? I see that the handler function is very similar to the one on the CLI example. How does the output log you are getting look like?

    Do you know if you are getting inside the 'else if' statement for ZB_ZCL_CMD_DISC_ATTRIB_RESP? Perhaps you can start with printing something out if the function get's inside the statement to debug further.

    You can also try to make your 'else if' statement more specific for example:

    Try to print something here with NRF_LOG to see if you are intercepting the frame.

    Then the incoming frame must be parse as zb_zcl_disc_attr_res_t not zb_zcl_disc_attr_info_t. 

    I hope you have managed to move forward and I am very sorry this question got a bit lost in my queue.

    Best regards,

    Marjeris

Reply
  • Hi again,

    I am so sorry for the late reply, I see I never managed to answer this. Are you still struggling with this issue?

    Are you running an application based on the CLI example on your dongle? I see that the handler function is very similar to the one on the CLI example. How does the output log you are getting look like?

    Do you know if you are getting inside the 'else if' statement for ZB_ZCL_CMD_DISC_ATTRIB_RESP? Perhaps you can start with printing something out if the function get's inside the statement to debug further.

    You can also try to make your 'else if' statement more specific for example:

    Try to print something here with NRF_LOG to see if you are intercepting the frame.

    Then the incoming frame must be parse as zb_zcl_disc_attr_res_t not zb_zcl_disc_attr_info_t. 

    I hope you have managed to move forward and I am very sorry this question got a bit lost in my queue.

    Best regards,

    Marjeris

Children
  • Hi,

    Thank you for your response. 

    Yes, I run an application based on the CLI exemple and the output log looks like this :

    TX : zcl cmd -w -d 0004740000A22CDE 242 21 -p A1E0 C -l 0000ff
    RX : Error: Request timed out

    (I use the python wrapper)

    The application never run into the else if condition and I don't find any part of the application that allows me to see the response frame. Making the else if statement did not solve any issues.

    When not using the Green Power profile, the parsing is fine. I don't see what would change if this bit of the code is modified.

    Thank you,

    Charles

  • Hi, 

    I recently came back to this subject. I tried to mess with the ZGP API from ZBOSS. It is unwieldy compared to the standard ZBOSS API, to say the least, and I found this part : 

    I did not fully understand all the implication of ZIGBEE Direct, can you enlighten me on the subject ?

    Charles Tessier-Piart

  • Hi Charles,

    Zigbee Direct is not supported in NCS right now. This is a new feature, which is still under development. The define is not enabled and cannot be enabled by the application code. We will try to ask ZBOSS to remove this piece to avoid further confusion.

    Best regards,

    Marjeris