Need guidance in making a ESP32 custom mesh network

ThinkalVB
Posts: 13
Joined: Mon Apr 22, 2019 7:09 am

Need guidance in making a ESP32 custom mesh network

Postby ThinkalVB » Mon Apr 22, 2019 8:10 am

I am trying to make a static mesh network based on my research paper.
I intend to develop a home automation solution using the mesh network once it is complete.
https://www.collaborizm.com/project/nAhvWcJ48
https://github.com/ThinkalVB/AirMesh

Initially, a flooding approach based on MAC to identify nodes will be used for configuring and assigning IP addresses and range. After the initial phase, all the packets will be routed according to the scheme described in the research paper. It must be totally compatible with TCP/IP and must route using IP addresses. Gateway is the responsible node for setting up the network. Mesh network is administered purely by MAC-based flooding. IP is only used for routing the regular packets, IP address 192.168.0.0 is for the gateway and 192.168.255.255 is for broadcast.
Note: MAC packet in the sense a special protocol encapsulated in TCP/IP packet used to configure and control the mesh network.

In short, I want the ESP32 to act as a router with a DHCP. I am planning to use class c address space for every static node and class d for dynamic nodes under them.
Ex 192.168.x.0 ( where x= 0 to 250 ) will be the address of static nodes. A static node with an address 192.168.1.0 can use dynamic address range for DHCP ranging from 192.168.1.1 to 192.168.1.255.

Can anyone suggest me how exactly can I implement it using Arduino IDE? I am good with C++ and have little knowledge of embedded systems and Arduino boards.

What I want help with is -
1) How to connect an ESP32 to multiple ESP32's (for MAC based flooding)
2) How to receive a packet and simply route them without any delays
Attachments
Research.pdf
(246.96 KiB) Downloaded 591 times


ThinkalVB
Posts: 13
Joined: Mon Apr 22, 2019 7:09 am

Re: Need guidance in making a ESP32 custom mesh network

Postby ThinkalVB » Mon Apr 22, 2019 10:57 am

Thanks for the response,
I already checked it out. It is based on MAC routing and as the number of nodes increases the space-efficiency is inversely affected. While the routing scheme designed by me is specifically designed to be more efficient and space conserving. How bigger the network grows the space complexity will remain a constant in my network [which I intend to build ](however the maximum number of nodes is 250). Since the routing is based on TCP/IP header, it is also interoperable with the existing TCP/IP networks.

arkanoah
Posts: 5
Joined: Wed Aug 05, 2020 10:40 am

Re: Need guidance in making a ESP32 custom mesh network

Postby arkanoah » Mon Aug 31, 2020 1:29 pm

Hello sir !
Did you managed to solve your problem?
i'm also very interested in such approach to mesh with ip of nodes

nbietz
Posts: 2
Joined: Mon Jan 10, 2022 12:27 am

Re: Need guidance in making a ESP32 custom mesh network

Postby nbietz » Mon Jan 10, 2022 12:30 am

Has anyone created a TCP/IP layer for the ESP-MESH network? I am also interested in the solution. Thanks!

Who is online

Users browsing this forum: No registered users and 97 guests