ESP32-POE Rev G: eth2ap example does not work

Started by cn_jetter, July 15, 2022, 10:58:21 AM

Previous topic - Next topic

cn_jetter

I used the Code from the esp32-POE Github repositiory
https://github.com/OLIMEX/ESP32-POE/tree/master/SOFTWARE/ESP-IDF/ESP32-PoE_Eth_to_AP_v4.4

I'm using ESP32 IDF Version 4.4.0
My IDE is PlatformIO

my Terminal output until I connect a WiFi device is:

␛[0;32mI (3362) eth_example: Ethernet Started␛[0m
␛[0;32mI (3362) eth_example: Ethernet Link Up␛[0m
␛[0;32mI (3362) phy_init: phy_version 4670,719f9f6,Feb 18 2021,17:07:07␛[0m
I (3462) wifi:mode : softAP (08:3a:f2:37:3d:e7)
I (3462) wifi:Total power save buffer number: 16
I (3462) wifi:Init max length of beacon: 752/752
I (3462) wifi:Init max length of beacon: 752/752

when I connect the WiFi device (iPhone, Laptop, Windows Phone) I get:
W (56372) wifi:<ba-add>idx:4 (ifx:1, 38:f2:3e:24:e8:c0), tid:0, ssn:0, winSize:64
W (56572) wifi:<ba-del>idx
W (56572) wifi:<ba-add>idx:4 (ifx:1, 38:f2:3e:24:e8:c0), tid:0, ssn:0, winSize:64
W (56772) wifi:<ba-del>idx
W (56782) wifi:<ba-add>idx:4 (ifx:1, 38:f2:3e:24:e8:c0), tid:0, ssn:0, winSize:64
W (56992) wifi:<ba-del>idx
W (56992) wifi:<ba-add>idx:4 (ifx:1, 38:f2:3e:24:e8:c0), tid:0, ssn:0, winSize:64
W (57402) wifi:<ba-del>idx
W (57402) wifi:<ba-add>idx:4 (ifx:1, 38:f2:3e:24:e8:c0), tid:0, ssn:0, winSize:64
W (57622) wifi:<ba-del>idx
W (57632) wifi:<ba-add>idx:4 (ifx:1, 38:f2:3e:24:e8:c0), tid:0, ssn:0, winSize:64
W (57882) wifi:<ba-del>idx
W (57882) wifi:<ba-add>idx:4 (ifx:1, 38:f2:3e:24:e8:c0), tid:0, ssn:0, winSize:64
W (58092) wifi:<ba-del>idx
W (58092) wifi:<ba-add>idx:4 (ifx:1, 38:f2:3e:24:e8:c0), tid:0, ssn:0, winSize:64
W (58372) wifi:<ba-del>idx
W (58372) wifi:<ba-add>idx:4 (ifx:1, 38:f2:3e:24:e8:c0), tid:0, ssn:0, winSize:64
W (58572) wifi:<ba-del>idx
W (58582) wifi:<ba-add>idx:4 (ifx:1, 38:f2:3e:24:e8:c0), tid:0, ssn:0, winSize:64
␛[0;31mE (65932) eth_example: WiFi send packet failed: 12309␛[0m
␛[0;31mE (74642) eth_example: send flow control message failed or timeout␛[0m
␛[0;31mE (74842) eth_example: send flow control message failed or timeout␛[0m
␛[0;31mE (75042) eth_example: send flow control message failed or timeout␛[0m
␛[0;31mE (75242) eth_example: send flow control message failed or timeout␛[0m

I tried the Troubleshooting in the example repository and tried to increase the FLOW_CONTROL defines:
#define FLOW_CONTROL_QUEUE_TIMEOUT_MS (200)
#define FLOW_CONTROL_QUEUE_LENGTH (80)
#define FLOW_CONTROL_WIFI_SEND_TIMEOUT_MS (200)

but sadly it didn't help

I tried googling the problem but didn't find anything useful
can it be possible that I need to change a define or anything similar or that PIO may be the culprit?

Thanks for any suggestions

nilsmau

Hello cn_jetter,

Did you ever figure it out and got to deploy a solution?