Project

General

Profile

Actions

Bug #638

closed

imlightsw is not getting connecting to configured AP

Added by Hammel almost 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Immediate
Assignee:
Category:
Software
Target version:
Start date:
05 Jul 2018
Due date:
% Done:

100%

Estimated time:
Severity:
01 - Critical

Description

It says it's connected but the IP it gets is 0.0.0.0. I don't see it connected to the AP - I don't see it's MAC address in the client list.

Actions #1

Updated by Hammel almost 6 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Fixed. This required updating both the Arduino distribution to 2.4.1 and makeEspArduino to 4.13.0. The latter wouldn't work at first because I was pointing to the Arduino distribution directory via a symlink and the env var I used didn't have a trailing "/". That took some time to figure out. After that I found that aJson has a bug with it's flash() function definition. I added a patch to the source tree for that and submitted it to the existing bug report.

Now ConfigMode works and saves credentials transparently as expected. And Operational Mode picks up those credentials transparently as well.

As an aside, while trying to fix this I tried using SPIFFS to save the credentials manually but found it wasn't working (thus my need to upgrade). I added some code to verify SPIFFS is indeed working now - and it is! So I can save runtime data to SPIFFS if I need to.

Also as an aside: my code is actually smaller now, after the upgrades. All in all, this was a good path to go down to fix this problem.

All changes committed and pushed.
Closing issue.

Actions

Also available in: Atom PDF