traderlopez wrote:
Hi again,
mesh_demo.c contains the following comment:
"if you want set max_hop > 4, please make the heap is avaliable mac_route_table_size = (4^max_hop - 1)/3 * 6"
How can I make sure that a big enough heap space is available?
max_hop 4 is very little. I would say 6 is ok, but 4 is worrying.
4 -> size = 510 bytes
5 -> size = 1248 bytes
6 -> size = 2590 bytes
How can I make those 2590 bytes, or just 4kbytes, available for the heap?
Sorry to ask so much for assistance but it is not easy to make everything work as desired.
Now, we have improved the router table using on-demand allocation, and we don't update documentation.
The size of router table size depends on count of device, regardless the max hops.
Please git pull the current mesh.Statistics: Posted by Guest — Mon Sep 26, 2016 4:18 pm
]]>