-
Notifications
You must be signed in to change notification settings - Fork 421
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pincode saved incorrectly in memory #641
Comments
the pin that you enter in the user mask is active and can be used. |
with debugoutputs i can see that the right pins are read in void ICACHE_FLASH_ATTR sendUserList but on the way through serializeJson and ws to the browser it get lost |
the json opject item hold the right pincode. |
think i found the solution the variable pincode was declared as const char. |
had to change the file wsResponses.esp line 28-32
|
Thank you very much @pvtex for reporting this bug. I can confirm it. The problem I think it's earlier than the lines highlighted in your last comment, unfortunately. I was able to reproduce the pincode corruption even by just updating manually a few of the pincodes. I'm going to fix this surely before v2 is done. Sorry for this and thank you very much for reporting. |
You were right @pvtex ! I've applied your fix and that's fine :) I'm going to close this as the fix is in Thank you 👍 |
the pincode of a user is not read succesfully.
sometimes a pincode form an other user is shown.
looking in the user files in the SPIFFS filesystem the pincodes are right.
in the filesystem:
The text was updated successfully, but these errors were encountered: