Hey all, in my esp8266 project I'm scanning for wifi mac addresses and need to save those to memory to later send to myself.
I was wondering what would be a better way of storing about 500 mac address on a esp8266, do I use spiffs or eeprom? Whats easier and whats better for memory longevity?
This bring us a interesting question about SPIFFS... Lets say that I am storing text file that differs in size anywhere from 10kb-100kb to SPIFFS and I locate 1000kb to SPRIFFs.
Every once in a while I sent that file to myself I want the esp8266 to delete the file and start storing new MAC addresses to SPIFFs again to a new file. Would SPIFFS keep using ONLY the first 100kb of 1000kb available or would it know to use other sectors of the 1000kb to make the memory last longer?