This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Zigbee ZCL read attributes command always times-out without any response.

I'm using the nRF52840 dongle with nRF Connect 1.90 and the CLI.  I cannot get "zcl attr read" command to return anything.  It simply times-out.  What am I doing wrong?

Parents
  • Hi,

    What device are you sending the zcl attr read command to, and what cluster and attribute?

    Are you able to get a sniffer log of this? If you have an additional nRF52840 Dongle or DK you can use our nRF Sniffer for 802.15.4. Please start the sniffer before the network is started, so the sniffer has the network key.

    Best regards,

    Marte

  • Hi, Marte:

    My Wireshark capture looks the same as yours, i.e. I can see broadcast and response packets.  How did you manage to display the specific Zigbee ZCL details of each packet?  Did you use Wireshark?

    Best regards,

    Jody

  • Hi,

    It seems to have been a misunderstanding on my part. I thought that the CLI endpoint is a different endpoint than the application endpoint, and that you could set it to whatever valid endpoint value you wanted. However, it is actually the same endpoint as the application endpoint. So to fix this, all you need to do is to set CONFIG_ZIGBEE_SHELL_ENDPOINT in prj.conf to the same as ZIGBEE_COORDINATOR_ENDPOINT, which should be 10 unless you have changed in your code.

    I also realized that the prj.conf that I shared earlier does not enable logging on the dongle. I was able to fix this by removing the configuration CONFIG_NCS_SAMPLES_DEFAULTS and setting CONFIG_LOG=y.

    Best regards,

    Marte

  • Hi, Marte:

    This is great news.  I will modify the firmware and test tomorrow (er, today, I guess?).  Anyway, it's really late (or early) here and I need to get some sleep.  Thanks again for your exemplary (and quick) problem solving!  I'll report back with my results.

    Best regards,

    Jody

  • Hi, Marte:

    Your changes to the prj.conf file work very well!  I am finding another issue, though.  I am unable to subscribe to any reportable attributes with "zcl subscribe on".  I keep getting a "Status 141" error, which is "Invalid Type".  I am using the same type that is returned when I query the same attribute with "zcl attr read".  I have tried the CurrentHue and CurrentX attributes of the Color Control cluster (0x0300) on a Philips Hue bulb.  These are reportable attributes per the Zigbee specification.  Can you please assist?

    Best regards,

    Jody

  • Hi Jody,

    Can you try using 0xc05e as profile ID instead? This is the profile ID for Zigbee Link Link, which I know some Zigbee light bulbs use instead of Home Automation.

    Best regards,

    Marte

  • Hi, Marte:

    I get the same error, "Unable to configure attribute 0 reporting. Status: 141".

    Best regards,

    Jody

Reply Children
Related