ESP32 C6 IDF V.5.1.1 eth2wifi example

endi83
Posts: 24
Joined: Wed Nov 22, 2023 2:43 pm

ESP32 C6 IDF V.5.1.1 eth2wifi example

Postby endi83 » Wed Nov 22, 2023 3:13 pm

I have latest ESP-IDF version (5.1.1).
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 can't compile this example on the IDF (5.1.1).

I changed the code of eth2ap, to mimic this example, and I can get the STA to connect to the AP. 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?

Who is online

Users browsing this forum: Google [Bot] and 114 guests