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

Zigbee Cli Agent Router and Greenpower endpoint

Hello,

I use zb_cli_wrapper.py and the Zigbee Cli Agent Router example.

I try to discover attributes from a GreenPower endpoint (242), the commande is :

communicator.py: DEBUG: CLI::UartConn: COM15@115200 TX: zcl cmd -w -d 0004740000CFFDA7 242 21 -p A1E0 C -l 0000ff
communicator.py: DEBUG: CLI::UartConn: COM15@115200 RX: zcl cmd -w -d 0004740000CFFDA7 242 21 -p A1E0 C -l 0000ff

profileId = 0xA1E0 ; Endpoint = 242 ; cluster = 0x21

On wireshark, le frame is correctly sending and i see also the answer:

but the answer frame is not received by the dongle. (function : cli_agent_ep_handler_generic_cmd)

Somebody has an idea?

of course this commande works with another endpoint as 

communicator.py: DEBUG: CLI::UartConn: COM15@115200 TX: zcl cmd -w -d 0004740000CFFDA7 1 3 -p 0104 C -l 0000ff
communicator.py: DEBUG: CLI::UartConn: COM15@115200 RX: zcl cmd -w -d 0004740000CFFDA7 1 3 -p 0104 C -l 0000ff
communicator.py: DEBUG: CLI::UartConn: COM15@115200 RX:
communicator.py: DEBUG: CLI::UartConn: COM15@115200 RX: Response received: generic
communicator.py: DEBUG: CLI::UartConn: COM15@115200 RX: List Attribute Response received:
communicator.py: DEBUG: CLI::UartConn: COM15@115200 RX: complete:1
communicator.py: DEBUG: CLI::UartConn: COM15@115200 RX: list attr,type:
communicator.py: DEBUG: CLI::UartConn: COM15@115200 RX: [(0,33),(65533,33),]
communicator.py: DEBUG: CLI::UartConn: COM15@115200 RX: Done

Version : 

['version', 'CLI: Apr 14 2021 08:31:54', 'ZBOSS: 3.3.0.4 ']

Thanks

Parents Reply
  • Hi Nicholas,

    They key was correct.

    I forwarded your pcap file to the Zigbee team, and they could not find anything wrong there. They believe the response is received by the lower layers of the device, and then not handled properly, as it would be very strange if the frame is not received at all. 

    From the logs it seems like you have made changes to both the CLI wrapper and the CLI agent. Would it be possible for you to provide your code so our developers can take a look at it? I can make the ticket private before you share the code if you do not want to upload it to a public ticket.

    Best regards,

    Marte

Children
Related