Let's say I have a big physical open-space with hundreds of IoT devices interconnected to each other through a mesh network (adhoc wifi) and each device obviously has its own data. Since it's a really big open space, the wifi router or access point can only reach some 10% of all those 100 nodes, i.e. 10 nodes. So, these are primary master nodes and rest are slaves. Also, slaves could have their own slaves and be called as Secondary Masters. So the hierarchy is almost like that of a typical organization, where everyone will have a master and only 10% of them will have access to the internet.
And, the goal is to collect data from all the nodes and push it to the central database that could be hosted on AWS or any other cloud service. That means each slave needs to transmit its data to its master so that it eventually reaches the top 10 masters who can push it to the cloud.
Now, does mesh network support retransmitting of data or if there's any open-source mesh software that I could use in a situation like this?