Open mengleia opened 6 months ago
Hello @mengleia ,
Can you please retry using master branch at both sides?
hi @mantriyogesh Yes, Im using the master branch, but it is not the latest commit. Just now I had the same problem with the latest code test
I meant latest commit on master branch at both the sides. We had fixed multiple similar issues you are facing.
If you still face the same issue on latest master, please help with:
idf.py menuconfig
and change default log level:
Component config → Log output → Default log verbosity
Change to Debug
If we have all these logs, we can understand the current wifi communication from ESP to AP and would help you to prove the case. If you miss one or some of them, we might guess and suggest, as case understood from the logs.
I did not set up the esp32 development environment, I used ESP-Hosted-NG_release_v1.0.2 firmware. Just now I found that the ssid that could not be scanned before could be scanned, and I did not make any modification. I spent the whole afternoon yesterday testing. I found that some AP with good signal strength were often not on the scan list, and I used the wpa_cli -i espsta0 scan_r command
@kapilkedawat ++
Hello, is there any solution? This problem is very serious, will lead to the user can not connect to the desired AP, multiple searches can not find the AP, now the hardware has been determined, so it must be dealt with on the software
Hi @mengleia, could you please retry with latest firmware on master branch? You can compile the firmware using the steps mentioned in https://github.com/espressif/esp-hosted/blob/master/esp_hosted_ng/esp/esp_driver/README.md
@kapilkedawat Thank you for your reply. Do you have the firmware of only sdio with the latest code compiled? Because the compilation environment here is somewhat complicated, I don't want to build the compilation environment of esp32 again. If not, I have to build the development environment of esp32
esp32_sdio_firmware.zip Please retry with attached firmware and latest master host code. Incase your esp32 needs external antennas, please make sure they are attached.
Thank you very much. I will give you a reply after testing for some time
@kapilkedawat I used the latest code test, in the latest same environment, I compared the scanning AP of rtl8723bu and esp32, and found that the same AP signal strength difference is quite large, the number of esp32 scan AP is relatively small, and the antenna has been installed normally. Is it related to reception sensitivity?
Hi @mengleia, thank you for your response.
Could you please provide following info.
Could you also please flash scan example from esp-idf and run it(you can connect a serial interface to get the logs). This will give us some info whether is it related to driver or chip itself is getting these values from hardware.
@kapilkedawat
@mengleia this is indeed odd, you shouldn't see this much difference in RSSI if both are at similar location. Did you try esp-idf example by any chance that I mentioned in https://github.com/espressif/esp-hosted/issues/383#issuecomment-2116625973 ? Please try that on this chip and let us know the output.
Do you use similar antenna on both the chips(realtek and esp)? Also do you have any ESP32-WROOM-32 with internal intenna, if yes could you please try to run the scan example on that as well.
@kapilkedawat yes, the both the chips(realtek and esp) at similar location, I tried switching the two antennas, and nothing changed. i have not ESP32-WROOM-32 with internal intenna. You know, I use the esp32 as a wifi module, I didn't build a development environment. If there is a need, I will go to see how to compile esp32 program.
Hi @mengleia , yes please build the scan example and share the logs with us.
Hi @kapilkedawat, Here are my scan results using esp32 scan example and rtl. Both machines were on my desktop, and the test environment and time were conducted almost simultaneously. esplog.txt
Hi @mengleia, seems like esp32 reception is having some issue.
Veryark_yyq
from esp32? is it in line of site?So far I can only suspect antenna connector or antenna causing this issue.
@kapilkedawat
Hi @mengleia, if you have another chip and antenna connector, could you please try with that?
system: linux kernel 6.1.36 esp driver: ESP-Hosted-NG_release_v1.0.2 esp-hosted: 5042106
On our imx8mm board, we can already scan and connect to wifi. Recently, it was found that some ssid could not be scanned out, and it was determined to be 2.4g.