espressif/esp-hosted

esp32 ng disconnections is trying to connect to the network

Opened this issue · 5 comments

I can see that there are a bunch of disconnections while the esp32 is trying to connect to the network until it is finally able to connect to it.

[ 625.175681] esp32: wait_and_decode_cmd_resp(priv, cmd_node) failure, ret: -1
[ 625.253120] esp32: wait_and_decode_cmd_resp(priv, cmd_node) failure, ret: -1

Please see esp32 fw logs attached
esp32.txt

From my last comment
How many connections on average are required to establish a successfull connection?

Hello @pritpalm-kuk ,

I think you have attached the wrong log.

In the log attached we could not find the traces you mentioned.
In fact, there is no connection trigger, in the log.
Screenshot_2024-03-25-22-09-33-713_com brave browser_beta-edit

Please attach the following logs where the issue is observed.

  1. Complete ESP log
  2. Dmesg log from bootup
  3. Wpa supplicant log in debug
  4. Possibly a sniffer log, so that we have clear idea of AP communication with ESP.

We have recorded a video where we showcased steps in detail and step wise manner.
You can follow the video, and repeat the steps to get the connection working/collect the log at issue and attach.

please refer to esp32.txt

Please refer the logs needed at : #355 (comment)

Unless full picture at that point, it will be direction-less to add any fix.
I hope you understand why the logs are needed.

We understand you face issue, we have tried this issue, which is not observed at our place.
Our reference logs and procedure to collect is already with you.
Please get all logs to proceed further.