Hi,
I am currently developing a Zigbee (router) device that has a custom cluster with custom commands. I can send 10-20 custom commands to this device successfully (and receive them) but after this, the Zboss loop seems to freeze and won't receive anything anymore. Also, read/write attribute commands to for example the basic cluster don't get received anymore. Do you have any idea what could be the reason for this? The only thing you can do hereafter is reboot the board. Sometime after you get the problem, a lot of data is printed/spammed in the console by the NRF chip. Constantly the same data it seems. Small sample of the logs:
D: de ad 16 02 4b ff 03 4c |....K..L D: 18 00 6d 05 18 00 00 00 |..m..... D: 08 00 00 00 30 00 00 00 |....0... D: D: de ad 16 02 4b ff 04 4c |....K..L D: 18 00 6d 05 18 00 00 00 |..m..... D: 08 00 00 00 30 00 00 00 |....0... D: D: de ad 16 02 4b ff 05 4c |....K..L D: 18 00 6d 05 18 00 00 00 |..m..... D: 08 00 00 00 30 00 00 00 |....0... D: D: de ad 16 02 4b ff 06 4c |....K..L D: 18 00 6d 05 18 00 00 00 |..m..... D: 08 00 00 00 30 00 00 00 |....0... D: D: de ad 16 02 4b ff 07 4c |....K..L D: 18 00 6d 05 18 00 00 00 |..m..... D: 08 00 00 00 |.... D: D: 30 00 00 00 de ad 16 02 |0....... D: 4b ff 08 4c 18 00 6d 05 |K..L..m. D: 18 00 00 00 08 00 00 00 |........ D: 30 00 00 00 |0... D: D: de ad 16 02 4b ff 09 4c |....K..L D: 18 00 6d 05 18 00 00 00 |..m..... D: 08 00 00 00 30 00 00 00 |....0... D: D: de ad 16 02 4b ff 0a 4c |....K..L D: 18 00 6d 05 18 00 00 00 |..m..... D: 08 00 00 00 30 00 00 00 |....0... D: D: de ad 16 02 4c ff 0b 4c |....L..L D: 18 00 6d 05 18 00 00 00 |..m..... D: 08 00 00 00 30 00 00 00 |....0... D: D: de ad 16 02 4c ff 0c 4c |....L..L D: 18 00 6d 05 18 00 00 00 |..m..... D: 08 00 00 00 30 00 00 00 |....0... D: D: de ad 16 02 4c ff 0d 4c |....L..L D: 18 00 6d 05 18 00 00 00 |..m..... D: 08 00 00 00 30 00 00 00 |....0... D: D: de ad 16 02 4c ff 0e 4c |....L..L D: 18 00 6d 05 18 00 00 00 |..m..... D: 08 00 00 00 30 00 00 00 |....0... D: D: de ad 16 02 4c ff 0f 4c |....L..L D: 18 00 6d 05 18 00 00 00 |..m..... D: 08 00 00 00 30 00 00 00 |....0... D: D: de ad 16 02 4c ff 10 4c |....L..L D: 18 00 6d 05 18 00 00 00 |..m..... D: 08 00 00 00 30 00 00 00 |....0...
I am using a custom-developed board with a BT840 module which has an NRF52840 onboard. Here is a simplified example of my code: https://github.com/pieterjanbuntinx/test-nrf-custom-commands . In here the buttons and LEDs don't work (other pinouts on my board, I have removed most code for this on here).
As the coordinator, I am using a custom board with an Espressif chip but I was also able to reproduce the problem with the shell example on an NRF dev board. It can be reproduced by repeatedly executing the following command:
zcl cmd <short_addr> 2 0xfc00 0x00f1 -i -l 0x050301000004
Thanks in advance.
Best regards,
Pieter-Jan