Page 1 of 1

ESP-MESH Flushing downstrem queues

Posted: Sat Jan 04, 2020 10:38 pm
by StefanRvO
Hi.
I'm wondering if it is possible to flush the to_child and broadcast queues in ESP-MESH?

My application is driven by the root node broadcasting packages to the childs in the network. It would be nice to be able to flush the broadcasting queue once in a while to ensure i don't run out of memory by filling it.

I can see that there exists an esp_mesh_flush_upstream_packets() function to flush the parent queues.
Is there any technical reason why there is no esp_mesh_flush_downstream_packets(), or is it just not implemented yet?