This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
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 CLI example can't interact with some clusters and Sleepy End Devices

Hello all,

I'm interacting with some nodes in a test network:

setup: 10x nrf52840 DK (PCA10056) boards loaded with the following software.

1x Coordinator (Zigbee CLI Agent example)

3x Routers (Zigbee Light Bulb Example)

6x End Devices (Zigbee Light Switch)

 

I've made it on the End devices so, that if a certain attribute gets written that the node's LED2 will go on for a few seconds.

(Zigbee CLI Reference --> zcl attr write & zcl attr read)

 

However I face 2 problems.

1) Certain commands aren't working using the CLI.

  • Routers accept "zcl attr write" & "zcl attr read" functions targeting all in_clusters
  • Routers accept "zcl cmd" commands targeting cluster 0x0006
  • Routers don't accept "zcl cmd" commands targeting cluster 0x0003 and 0x0004

2) Sleepy End Devices can't be interacted with.

  • Non-sleeping End Devices can be interacted with. But i'd like to use the sleepy behaviour to save power.

Is there a way that I can interact with Sleepy End devices using the CLI example? 

Can I make my Routers accept "zcl cmd" commands targeting at least the 0x0003 and 0x0004 clusters?

  • Hi,

    I am happy to hear that it is working as expected now!

    It is not always easy to know exactly how the CLI commands should be formatted, and especially since some arguments must be formatted as hexadecimal strings, while others as decimal values. However, something that can be very useful when using Zigbee CLI is to look at the Zigbee CLI Reference. There you will find how to format the commands supported by Zigbee CLI, and it specifies whether the argument should be a hexadecimal or decimal.

    Best regards,

    Marte

Related