Esp not connecting to wifi after some days

User avatar
fly135
Posts: 606
Joined: Wed Jan 03, 2018 8:33 pm
Location: Orlando, FL

Re: Esp not connecting to wifi after some days

Postby fly135 » Fri May 31, 2019 4:15 pm

burkulesomesh43 wrote:
Fri May 03, 2019 1:26 pm
Hello everyone,
I am getting wifi disconnect issue from very long time.
As I kept my ESP32 live for long time, it disconnects and not getting connected to the configured SSID and PASSWORD again till switch it OFF and ON again. I am using esp-idf v3.1.3.

Please help me to resolve this issue.
Thanks in advance.
Why not just reboot when it fails after xxx retries? The ESP32 boots so quickly that it shouldn't be too much of an issue.

John A

burkulesomesh43
Posts: 132
Joined: Tue Aug 14, 2018 6:21 am
Location: India

Re: Esp not connecting to wifi after some days

Postby burkulesomesh43 » Mon Jun 03, 2019 5:42 am

fly135 wrote:
Fri May 31, 2019 4:15 pm
burkulesomesh43 wrote:
Fri May 03, 2019 1:26 pm
Hello everyone,
I am getting wifi disconnect issue from very long time.
As I kept my ESP32 live for long time, it disconnects and not getting connected to the configured SSID and PASSWORD again till switch it OFF and ON again. I am using esp-idf v3.1.3.

Please help me to resolve this issue.
Thanks in advance.
Why not just reboot when it fails after xxx retries? The ESP32 boots so quickly that it shouldn't be too much of an issue.

John A
I am using esp this way already. I am confused that its a hardware issue or esp idf. or it may be not issue from esp side overall.
I have collected some logs. can u please check it and let me know if you get some from that.

Please see following code for your reference.
DCR: Disconnect Reason
MAC: MAC Address of connected AP
CH: Channel
LIP: Lost IP
TM: Time and Date
  1. DCR:201,TM:
  2. DCR:201,TM:
  3. MAC:80:8D:B7:7F:D7:A1,CH:1/0,rssi:-52,TM:
  4. DCR:201,TM:
  5. DCR:2,TM:
  6. DCR:4,TM:
  7. DCR:201,TM:
  8. DHCP:0,TM:
  9. MAC:48:4A:E9:CD:C4:01,CH:6/0,rssi:-63,TM:
  10. DCR:200,TM:23-05-2019  17:50:53
  11. DCR:201,TM:23-05-2019  17:50:59
  12. DCR:201,TM:23-05-2019  17:50:59
  13. MAC:48:4A:E9:CD:C5:C1,CH:1/0,rssi:-59,TM:23-05-2019  17:51:17
  14. DCR:6,TM:24-05-2019  10:18:32
  15. DCR:201,TM:24-05-2019  10:18:39
  16. DCR:201,TM:24-05-2019  10:18:39
  17. MAC:48:4A:E9:CD:C4:01,CH:6/0,rssi:-61,TM:24-05-2019  10:18:57
  18. DCR:200,TM:24-05-2019  10:21:36
  19. DCR:201,TM:24-05-2019  10:21:43
  20. DCR:201,TM:24-05-2019  10:21:43
  21. MAC:48:4A:E9:CD:C5:C1,CH:1/0,rssi:-58,TM:24-05-2019  10:22:00
  22. DCR:200,TM:24-05-2019  16:48:23
  23. DCR:201,TM:24-05-2019  16:48:29
  24. DCR:203,TM:24-05-2019  16:48:49
  25. DCR:2,TM:24-05-2019  16:48:51
  26. DCR:201,TM:24-05-2019  16:48:53
  27. DCR:4,TM:24-05-2019  16:48:55
  28. LIP,TM:24-05-2019  16:50:23
  29. DCR:201,TM:
  30. DCR:201,TM:
  31. DHCP:0,TM:
  32. MAC:48:4A:E9:CD:C5:C1,CH:11/0,rssi:-58,TM:
  33. DCR:8,TM:24-05-2019  17:44:24
  34. DCR:201,TM:24-05-2019  17:44:31
  35. DCR:201,TM:24-05-2019  17:44:31
  36. MAC:48:4A:E9:CD:C4:01,CH:6/0,rssi:-63,TM:24-05-2019  17:44:50
  37. DCR:8,TM:24-05-2019  17:44:54
  38. DCR:201,TM:24-05-2019  17:45:00
  39. DCR:203,TM:24-05-2019  17:45:19
  40. DCR:201,TM:24-05-2019  17:45:21
  41. DCR:203,TM:24-05-2019  17:45:22
  42. DCR:203,TM:24-05-2019  17:45:22
  43. MAC:48:4A:E9:CD:C4:01,CH:6/0,rssi:-63,TM:24-05-2019  17:45:23
  44. DCR:8,TM:24-05-2019  17:45:27
  45. DCR:201,TM:24-05-2019  17:45:34
  46. DCR:204,TM:24-05-2019  17:46:03
  47. DCR:201,TM:24-05-2019  17:46:05
  48. DCR:201,TM:24-05-2019  17:46:05
  49. MAC:48:4A:E9:CD:C5:C1,CH:11/0,rssi:-57,TM:24-05-2019  17:46:06
  50. DCR:8,TM:24-05-2019  17:46:13
  51. DCR:201,TM:24-05-2019  17:46:20
  52. LIP,TM:24-05-2019  17:46:24
  53. LIP,TM:24-05-2019  17:46:24
  54. MAC:48:4A:E9:CD:C5:C1,CH:11/0,rssi:-56,TM:24-05-2019  17:46:39
  55. DCR:8,TM:24-05-2019  17:46:40
  56. DCR:201,TM:24-05-2019  17:46:46
  57. DCR:201,TM:24-05-2019  17:46:46
  58. MAC:48:4A:E9:CD:C5:C1,CH:11/0,rssi:-56,TM:24-05-2019  17:47:05
  59. DCR:8,TM:24-05-2019  17:47:10
  60. DCR:201,TM:24-05-2019  17:47:16
  61. DCR:204,TM:24-05-2019  17:47:44
  62. DCR:204,TM:24-05-2019  17:47:44
  63. MAC:48:4A:E9:CD:C5:C1,CH:11/0,rssi:-56,TM:24-05-2019  17:47:47
  64. DCR:8,TM:24-05-2019  17:47:48
  65. DCR:201,TM:24-05-2019  17:47:54
  66. DCR:201,TM:24-05-2019  17:47:54
  67. MAC:48:4A:E9:CD:C5:C1,CH:11/0,rssi:-55,TM:24-05-2019  17:48:13
  68. DCR:8,TM:24-05-2019  17:48:15
  69. DCR:201,TM:24-05-2019  17:48:21
  70. LIP,TM:24-05-2019  17:48:40
  71. DCR:2,TM:24-05-2019  17:48:41
  72. DCR:2,TM:24-05-2019  17:48:41
  73. MAC:48:4A:E9:CD:C5:C1,CH:11/0,rssi:-57,TM:24-05-2019  17:48:43
  74. DCR:8,TM:24-05-2019  17:48:44
  75. DCR:201,TM:24-05-2019  17:48:50
  76. DCR:4,TM:24-05-2019  17:49:10
  77. DCR:4,TM:24-05-2019  17:49:10
  78. MAC:48:4A:E9:CD:C5:C1,CH:11/0,rssi:-57,TM:24-05-2019  17:49:12
  79. DCR:8,TM:24-05-2019  17:49:13
  80. DCR:201,TM:24-05-2019  17:49:20
  81. DCR:204,TM:24-05-2019  17:49:48
  82. DCR:204,TM:24-05-2019  17:49:48
  83. MAC:48:4A:E9:CD:C5:C1,CH:11/0,rssi:-57,TM:24-05-2019  17:49:50
  84. DCR:8,TM:24-05-2019  17:49:51
  85. DCR:201,TM:24-05-2019  17:49:58
  86. DCR:203,TM:24-05-2019  17:50:16
  87. DCR:203,TM:24-05-2019  17:50:16
  88. MAC:48:4A:E9:CD:C4:01,CH:6/0,rssi:-62,TM:24-05-2019  17:50:18
  89. DCR:200,TM:24-05-2019  17:50:51
  90. DCR:201,TM:24-05-2019  17:50:58
  91. DCR:201,TM:24-05-2019  17:50:58
  92. MAC:48:4A:E9:CD:C5:C1,CH:11/0,rssi:-56,TM:24-05-2019  17:51:17
  93. DCR:8,TM:24-05-2019  17:51:18
  94. DCR:201,TM:24-05-2019  17:51:25
  95. DCR:2,TM:24-05-2019  17:51:44
  96. DCR:2,TM:24-05-2019  17:51:44
  97. MAC:48:4A:E9:CD:C5:C1,CH:11/0,rssi:-56,TM:24-05-2019  17:51:46
  98. DCR:8,TM:24-05-2019  17:51:47
  99. DCR:201,TM:24-05-2019  17:51:54
  100. DCR:201,TM:24-05-2019  17:51:54
  101. MAC:48:4A:E9:CD:C5:C1,CH:11/0,rssi:-56,TM:24-05-2019  17:52:13
  102. DCR:8,TM:24-05-2019  17:52:14
  103. DCR:201,TM:24-05-2019  17:52:21
  104. DCR:201,TM:24-05-2019  17:52:21
  105. MAC:48:4A:E9:CD:C5:C1,CH:11/0,rssi:-56,TM:24-05-2019  17:52:40
  106. DCR:8,TM:24-05-2019  17:52:41
  107. DCR:201,TM:24-05-2019  17:52:48
  108. LIP,TM:24-05-2019  17:52:51
  109. DCR:2,TM:24-05-2019  17:53:07
  110. DCR:201,TM:24-05-2019  17:53:10
  111. DCR:201,TM:24-05-2019  17:53:10
  112. MAC:48:4A:E9:CD:C5:C1,CH:11/0,rssi:-57,TM:24-05-2019  17:53:10
  113. DCR:8,TM:24-05-2019  17:53:12
  114. DCR:201,TM:24-05-2019  17:53:18
  115. DCR:201,TM:24-05-2019  17:53:18
  116. MAC:48:4A:E9:CD:C5:C1,CH:11/0,rssi:-56,TM:24-05-2019  17:53:38
  117. DCR:8,TM:24-05-2019  17:53:39
  118. DCR:201,TM:24-05-2019  17:53:46
  119. DCR:201,TM:24-05-2019  17:53:46
  120. MAC:48:4A:E9:CD:C5:C1,CH:11/0,rssi:-56,TM:24-05-2019  17:54:05
  121. //At this point, device is get stable as we restarted it after 10 minutes of wifi disconnect(from TM:24-05-2019  17:44:24).
--
Somesh Burkule


burkulesomesh43
Posts: 132
Joined: Tue Aug 14, 2018 6:21 am
Location: India

Re: Esp not connecting to wifi after some days

Postby burkulesomesh43 » Mon Jun 03, 2019 1:10 pm

So this wifi issue is idf related issue. I am using esp-idf v3.2. is it fixed in it?
--
Somesh Burkule

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: Esp not connecting to wifi after some days

Postby WiFive » Mon Jun 03, 2019 3:26 pm

It has not been released for 3.2 but you should either request a patched version on that GitHub issue or try the master version. It might or might not be related to your problem.

Who is online

Users browsing this forum: alicia.huang, axellin and 144 guests