tripflex / wifi-captive-portal

Mongoose OS WiFi Captive Portal Library
https://forum.mongoose-os.com/discussion/2702/library-wifi-captive-portal-web-ui-list-ssids-test-configure-rpc-gzip-support
Other
24 stars 9 forks source link

ESP8266 compiler treats unused var as error (instead of warning) #4

Closed tripflex closed 6 years ago

tripflex commented 6 years ago

Line 56 & 97

MydevOnline commented 6 years ago

Now compile with dev branch and --platform esp8266, error occurs

screen shot 2018-08-30 at 01 08 52

tripflex commented 6 years ago

@MydevOnline try now, I was in the middle of updating things hadn't pushed all updates yet, you can try now with dev or master branch

tripflex commented 6 years ago

@MydevOnline you can also find us on gitter chat which we are a lot more active on as well:

Gitter

MydevOnline commented 6 years ago

Compiles without error. But when connecting, there is no redirect to the setup page. Both in zip and options. iOS

screen shot 2018-08-30 at 02 59 18

tripflex commented 6 years ago

@MydevOnline thanks for the update, so I think the issue with the ESP8266 is related to this right here: https://github.com/cesanta/mongoose-os/issues/335

Not sure how i would be able to integrate that with this lib though and target specifically the 8266, need to ask in the chat and see if someone can help out with it ... seems pretty simple just need to figure out how to do it

tripflex commented 6 years ago

@MydevOnline I created a separate branch to test 8266 stuff on, here: https://github.com/tripflex/wifi-captive-portal/tree/esp8266

I will try and find one laying around my house to test with later today

MydevOnline commented 6 years ago

Thanks! @tripflex I compile with that branch. Works perfectly!

screen shot 2018-08-30 at 23 15 38

tripflex commented 6 years ago

@MydevOnline perfect! Thanks for letting me know, will pull that into the master branch here shortly