Page 1 of 1

Usage of iot_button_register_cb() function in matter protocol

Posted: Sat Oct 19, 2024 6:18 am
by shuaiwang
I now need to define two buttons to send switch and dimming commands respectively, but I encountered some problems when registering the buttons. The log records are shown below:
截图 2024-10-19 14-16-27.png
截图 2024-10-19 14-16-27.png (135.36 KiB) Viewed 797 times
My code is this:
截图 2024-10-17 17-15-07.png
截图 2024-10-17 17-15-07.png (93.99 KiB) Viewed 797 times
Whenever I burn code into esp32c3, it keeps restarting. I don't know what happened. I hope someone can help me solve it. Thanks!!

Re: Usage of iot_button_register_cb() function in matter protocol

Posted: Sat Oct 19, 2024 8:55 am
by ESP_Sprite
You're using a BSP, but for what board? Does it actually have two buttons?