martin-ger / esp_wifi_repeater

A full functional WiFi Repeater (correctly: a WiFi NAT Router)
MIT License
4.83k stars 908 forks source link

ESP32 Support #478

Open harshalpt25 opened 2 years ago

harshalpt25 commented 2 years ago

Hi Martin,

Appreciated your work. As I am trying to create wi-fi repeater with ESP32 with the similar functionality. As I am having understanding of networking,ESP32, and ESP32 Mesh network. Can you please help me to where to start & which part we need to create from scratch in ESP32 if we are taking current lib as reference. Basic requirement are below: ESP32 Wi-Fi repeater with support of internet. Mesh Network support basic web page support for configuration same as you provided in existing lib

martin-ger commented 2 years ago

Starting point should be the https://github.com/martin-ger/esp32_nat_router . It contains all the required features aside from mesh. The mesh state mashine should be added - best from scratch. A detailed description can be fould in short in the README of this repo and longer here: https://ieeexplore.ieee.org/document/8795311 .

aircable commented 2 years ago

I'm working on a Wifi mesh implementation, I call WISH. It is based on the 802.11 frames in the ESP32 framework and modeled after the old CSR mesh. Since ESPnow is not available as source, I decided to implement it from scratch. I haven't published anything yet on Github. My framework may not be the right environment for publication because it is the firmware for our AIRcable products.

But I would like to get this out and find a better environment for that. @martin-get Any idea how we could add mesh to your nat_router code? Is that the right way?

The main problem I have is that I usually don't run AP/STA code and the WISH code at the same time. The issue is that the WISH code uses multiple channels to transmit and receive frames for reliability mainly. When connected to an AP, the channel number is fixed and I can't change it without disconnecting.

BTW, WISH uses a flooded mesh approach instead of an autotree routing mechanism. No NAT necessary, but it requires promiscuous mode.

Interested?

On Sun, Nov 21, 2021 at 11:30 PM martin-ger @.***> wrote:

Starting point should be the https://github.com/martin-ger/esp32_nat_router . It contains all the required features aside from mesh. The mesh state mashine should be added - best from scratch. A detailed description can be fould in short in the README of this repo and longer here: https://ieeexplore.ieee.org/document/8795311 .

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/martin-ger/esp_wifi_repeater/issues/478#issuecomment-975203368, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGK5BTMTPWADUZFCNVTQVLUNHWSZANCNFSM5IQHKYUQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.