-
Notifications
You must be signed in to change notification settings - Fork 170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ESP32 FG driver, connected through SPI,ESP32C3 as AP, iperf testing An error occurred. #523
Comments
In general, root cause need to be found if the link is always slow or not. Please run transport throughput test in both (Rx & Tx) directions to identify if any link issues (without involving wifi) exist or not. 43 sec RTT being reported doesn't seem practical for ping utility, ideally it should have 'timed out' in this case. so cross-check with sniffer log, is the log showing incorrect or there is really a problem. Also, please cross-check the porting document for some porting guidelines being followed. I highly doubt this big RTT is possible to treat as response.
Can you check if the wifi was disconnected by router silently? If the connection was disconnected, host would also get events of disconnected, if C demo application was running & subscribed to disconnection event. |
The WiFi connection has not been disconnected.It is still connected, but the ping delay is very high. |
Textual logs :
Git commits: |
OK,I will try it.and feedback you soon. |
I also want to lease run transport throughput test in both.however have some thing wrong for build it . |
the debug logs are for last sort. what happened for other inputs till now? |
The excessive logging may affect the normal working. The logs could be lowered, specially, in ESP_LOG_BUFFER_HEXDUMP But the question is that without logs, did you cross-check other things mentioned? The debug log is just to understand if the packets are flowing and they are correctly sent. in normal logging, we cannot have these big prints. it would drastically lower throughput ot RTT. also it may point to some possible issues, which are not there due to incorrect buffers being printed. debug logs patch is not fix as mentioned earlier.. |
By triggering, print the corresponding log and determine the problem. So add differentiated logs based on the current driver to reduce printing. How can i do this? |
Are you using raspberry Pi? |
If not, please check the porting guide, which mentions to port rpi_init.sh. Additionally, I want to bring to your attention, rpi_init.sh has some functions starting with port_XXX(). These need porting. |
ok ,I will check it again |
I was not use raspberry Pi.I need some time to build it .maybe it will spend time. |
I think you have already ported it. All I am asking is just to cross check if you have done anything differently. |
Checklist
Issue or Suggestion Description
Using ESP32 FG driver, the host is ARM ported to Linux system, connected through SPI, ESP32C3 as AP, and a laptop device connected to it. During iPerf testing, it appeared that the streaming time exceeded 1000s. Stop testing, restart testing, and find that the speed has become 0.
During daily use, there may also be situations where the connection is successful but WiFi messages cannot be sent or received normally.
What logs are needed to determine whether it is an ESP32 forwarding issue, a Linux side processing issue, a Linux side ESP32 driver issue, or ESP32 memory exhaustion?
I will capture and submit it for analysis.
Analysis ideas. At the current stage, a single packet capture was performed using Wireshark to capture packets from the PC. It was found that the ping packet was sent out 2 seconds later, but the host side used tcpdump to capture it. After 60 seconds, the host received the ping packet sent by the PC and immediately returned it. The PC also received the returned package.however ,The delay of ping is too long
The text was updated successfully, but these errors were encountered: