Left here for archival purposes.

User avatar
By onlyindian
#28899 Hello Guys,

I have written some code to set-up my ESP over the air. It scans for a set-up file which is dynamically written by another file. Details can be found in my git-hub account.

Now when my setupwifi.lua tries to write password, I get PANIC errors and I have no idea how to solve it.

I have attached snapshot for the error.

any help is appreciated.
Attachments
PANIC.png
User avatar
By onlyindian
#28911 Thank you very much for pointing that out. It really solved the PANIC issue.

But a new issue has cropped up.

If the password posted contains a period(.) then period and value after that is completely removed and wrong password is saved.

For example

password is "asdf.jkl" then the variable password1 contains only asdf.
User avatar
By martinayotte
#28924 For this new issue, I don't know if it is a bug in the SDK, but I know that in the past, space characters were an issue also.
I don't know if it has been fixed by now. Probably it is related. So, you probably need to avoid any special characters in your password.