I am currently in a project where I should make a simulation of how a system (wearable sport device) stores data in a Flash chip.
The data is in a form of data stream and it is in real-time.
I want to create a metadata / unique ID to differentiate different measurement data in C so that later on I can retrieve or delete stuff per data (because normally flash chip deletes data per block). I am planning to store the metadata at the beginning of the measurement data to differentiate each data.
How can I make this simulation so that I can differentiate which one is (for example) data1, data2, data3, etc.?
fyi, I am new to C and the simulation is in visual studio. Thanks!