Nearly the final code update... for this version
Just pushed what is approaching the final code update for this version to github. Three main areas of change- It's neater with better comments - it's been needing a tidy up for a while. There's probably a couple more I can do soon two. The watchdog is enabled. With the enabling of pymesh, I've been playing around with what to do if everything goes wrong and it crashes. The watchdog will restart the device after 5 seconds. I've tried consigning the scanning or the network component to a separate thread and it still crashes if it's on wifi then the wifi dies. Now at least the device restarts. I'd love it if I could just restart the pymesh but not there yet - looks like something is getting in the way. The tap writes to SD before being added to the transmit queue - this prevents data loss by crash. On the hardware side, I have a PN532 board coming from Singapore (expecting delivery anytime in the next month). I'm toying with sticking with the current NFC