IDF Example erh2wifi
Posted: Wed Mar 17, 2021 3:23 pm
I was looking for an example on how to use the ESP32 as a transparent wifi bridge.
The eth2ap example works great, but i would like to connect a eth2sta to this, to form a wireless “lan cable”.
I see in previous releases of the IDF (3.1) there was a eth2wifi example, where it could be configured as either ap or sta.
I changed the code of eth2ap, to mimic this example, and i can get the sta to connect to the ap, but on the sta module, i can see packets from the ap module’s lan being transmitted transparently, but packets picked up on the sta module’s lan port never arrive on the ap modules side.
The function esp_wifi_internal_tx returns OK, but nothing is recieved on the other side (ap)
Any ideas where i can look for a solution?
I’ve tried the latest release, as well as the master branch in github.
The eth2ap example works great, but i would like to connect a eth2sta to this, to form a wireless “lan cable”.
I see in previous releases of the IDF (3.1) there was a eth2wifi example, where it could be configured as either ap or sta.
I changed the code of eth2ap, to mimic this example, and i can get the sta to connect to the ap, but on the sta module, i can see packets from the ap module’s lan being transmitted transparently, but packets picked up on the sta module’s lan port never arrive on the ap modules side.
The function esp_wifi_internal_tx returns OK, but nothing is recieved on the other side (ap)
Any ideas where i can look for a solution?
I’ve tried the latest release, as well as the master branch in github.