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

Can I receive a device-generated command at the Zigbee CLI Agent?

I can send a command to a custom cluster through the Zigbee CLI, which is installed and running as a Coordinator on a nrf52840 dongle.

However, I must respond to commands with server generated commands.  Can I receive those commands at the Zigbee CLI asynchronously?  If so, to which endpoint and cluster must I direct the commands?

Parents
  • I cannot use, since what I receive is the default response to the command the python application sent.  There is no acknowledgment or impression of any command that is generated by the device.

    So I must conclude the answer is a resounding "no, you cannot see any device generated commands".

    Thanks for your attention.

  • I am not sure I understand. 

    communicator.py: DEBUG: CLI::UartConn: /dev/ttyACM0@115200 TX: zcl cmd F4CE36E7389B99B0 10 F16F -p 0104 20
    communicator.py: DEBUG: CLI::UartConn: /dev/ttyACM0@115200 RX:  
    communicator.py: DEBUG: CLI::UartConn: /dev/ttyACM0@115200 RX: zcl cmd F4CE36E7389B99B0 10 F16F -p 0104 20
    communicator.py: DEBUG: CLI::UartConn: /dev/ttyACM0@115200 RX: Done

    These prints are from your python scripts, right? Can you see where they are printed? Can you use these events for anything?

Reply
  • I am not sure I understand. 

    communicator.py: DEBUG: CLI::UartConn: /dev/ttyACM0@115200 TX: zcl cmd F4CE36E7389B99B0 10 F16F -p 0104 20
    communicator.py: DEBUG: CLI::UartConn: /dev/ttyACM0@115200 RX:  
    communicator.py: DEBUG: CLI::UartConn: /dev/ttyACM0@115200 RX: zcl cmd F4CE36E7389B99B0 10 F16F -p 0104 20
    communicator.py: DEBUG: CLI::UartConn: /dev/ttyACM0@115200 RX: Done

    These prints are from your python scripts, right? Can you see where they are printed? Can you use these events for anything?

Children
No Data
Related