Wireless mesh networks consist of various mesh clients that are organized in an unfixed infrastructure and packets are forwarded using a multi-hop model. Routing protocols have a significant impact on mesh networks because their performance has a crucial effect on nodes connectivity and throughput. Recently, the integration of mesh clients with the Internet of Things (IoT) has gained significant importance to connect billions of machines and achieve fast coverage with minimum network cost. However, if mesh clients are mobile, then data routing via intermediate nodes gives a noteworthy effect on the network performance and latency. Furthermore, over the Internet, a malicious node may be a part of the mesh network and as a result, the sending information can be manipulated and compromised. Therefore, this research article aims to propose a robust and trusted scheme (RTS) for IoT-based mobile mesh networks to provide reliable routing, data confidentiality, and integrity. Firstly, the proposed scheme presents a robust data routing among mobile mesh clients, routers and gateway devices based on the network parameters and measurement of wireless channels. Moreover, the wireless channels between mesh devices are formulated based on the efficacy of link costs for data dissemination. Besides, the location of mobile mesh clients is determined by computing the distance vector at a regular time interval. Secondly, a secure and authentic data protection technique is proposed using public-private key cryptography, which aims to increase the protection of mesh clients with minimal overhead. The competence of the proposed scheme is significantly improved with respect to network throughput by an average of 14%, packet loss rate by an average of 37%, latency rate by an average of 12%, computational overhead by an average of 34%, and energy efficiency by an average of 20% as compared to other works. INDEX TERMS Wireless mesh network, the Internet of Things, data security, gateways, routing protocol.