User NVM - non-volatile memory support with the serial flash

The stream mode potentially becomes useful when logging larger amounts of data. Say you want to log a temperature every minute. If you use an array of points in a block record, the entire record needs to be rewritten every time its updated (slow) and you will quickly run out of free RAM to store the array as the number of points becomes large.

Using a stream record you would append your new point every minute, requiring only as much RAM as the size of the data point. You then have potentially up to ~1.5MB of space available for point records.

Yes the user would need to detect when the stream is full and either erase it or stop logging points. I didn’t intend that the stream record would automatically be cleared when full. The user could double buffer their data using two stream records, switch between them when they are full and once a record becomes full and gets downloaded the user could erase it making it available for points again.

Then again, if a stream mode isn’t all that useful then I wont spend time implementing it…