arduino / nina-fw

Firmware for u-blox NINA W102 WiFi/BT module
135 stars 117 forks source link

WiFi auto connect + reboot counter #47

Open giulcioffi opened 4 years ago

giulcioffi commented 4 years ago

The current version of nina-fw does not allow to retrieve the credentials of a working connection. This can be done by storing a backup of the credentials of the last working network into the flash. 2 new options are available:

The second proposed feature introduces a counter for the number of times a reboot is performed. This counter is saved in the flash in a file called "bootcounter.bin". This information can be used to trigger a reset or enable a way to step out from a blocking condition. The file is created (if it does not already exist) by the ESP. It just contains a number which is read, incremented and written back whenever a reboot is triggered.

aentinger commented 4 years ago

Hi @giulcioffi and @facchinm :wave: I'm seeing that this PR contains commits of PR #32. I'm wondering why is that? Cheers, Alex