RfidResearchGroup / ChameleonUltra

The new generation chameleon based on NRF52840 makes the performance of card emulation more stable. And gave the chameleon the ability to read, write, and decrypt cards.
https://chameleonultra.com
GNU General Public License v3.0
783 stars 137 forks source link

Fix factory reset hang/wdt reset #170

Closed augustozanellato closed 9 months ago

augustozanellato commented 9 months ago

fds_util event handler was ignoring all the events related to peer_manager files and that was causing a deadlock while waiting for record deletion that in turn caused a wdt reset, usually this resulted in a partially done factory reset. The fix adds a ignore_pm flag to op_info struct that gets cleared by fds_wipe allowing for a true reset to happen.

github-actions[bot] commented 9 months ago

You are welcome to add an entry to the CHANGELOG.md as well

github-actions[bot] commented 9 months ago

Built artifacts for commit b35c1fadd96ae5b9078d37098243db078be2a1fe

Firmware

Client

doegox commented 9 months ago

ha fantastic! I got the deadlock occasionally without managing to pinpoint the cause.