Imagine there is a big physical open-space with 100s of IoT devices. All of them are inter-connected to each other through a mesh network (adhoc wifi) and each device has it's own data. Since it's a big space, the wifi router/access point can only reach to 10% of the 100 nodes i.e. 10 nodes. These 10 nodes are considered as primary master nodes and rest as slaves. Slaves could have their own slaves also known as Secondary Masters. So the hierarchy is like any typical organization. Everyone has a master and only 10% of the master nodes have access to the internet.
Goal is to collect data from all the nodes and push it to the central database that could hosted on AWS or any other cloud services. This would mean each slave has to transmit it's data to it's master and eventually to the top 10 masters who can push it to the cloud.
Does mesh network support retransmitting of data or are there any open-source mesh software that I can use for something like this?