matter:How can I enable a matter accessory device to actively send data to a matter control?

How can I enable a matter accessory device to actively send data to a matter control?

I'm using matter-lock sample to test the method of sending data from the matter-accessory(matter-lock) to matter-control(chip tool linux) .
I modified the zap file, enabled "lock alarm event" in zap-tool, and regenerated the code.
I called an event sending interface to the buttom2 response program,
After pressing the buutom2, the sender is called, and the hardware is reset.
of course, nothing is received on chip tool linux.
(Note: I can switch locks in the chip tool.
In this sample, I add other functions,
such as getting a temperature value in the accessory from the chip tool.
I want to explain that other parts of the program work normally.)

As shown in figure

Related