I'm trying to figure out the maximum number of devices that my nodes can support vs the RAM remaining. Changing the mesh max number of devices, number of layers or number of child per node does not have a big impact when no children are connected.
Is there information about how much memory is required/allocated vs the number of child connected? I want to avoid a situation where the heap is full and I have no more memory for actual communication.
I'm using a fixed root that has more resources than the nodes, could I set the maximum number of devices on the root higher than on the nodes or does it have to be the same value for all?
memory usage vs mesh size
Re: memory usage vs mesh size
I did a little test with low numbers used to set maximum capacity (esp_mesh_set_capacity_num()) and I can join more devices in the mesh than the number I set.
If I set my mesh to have max 2 devices, 2 AP connections and 3 layers, I can join 4 devices + the root (total of 5).
What is esp_mesh_set_capacity_num() even doing?
If I set my mesh to have max 2 devices, 2 AP connections and 3 layers, I can join 4 devices + the root (total of 5).
What is esp_mesh_set_capacity_num() even doing?
Who is online
Users browsing this forum: No registered users and 9 guests