I would like to make device that collects data from sensor. I would like to use internal flash memory. Is there any library that will help me?
I would like to make device that collects data from sensor. I would like to use internal flash memory. Is there any library that will help me?
Nordic's pstorage would be a good foundation for storing data. Do you mean something beyond that? (pstorage just handles the reading/writing to flash. The user code still have to manage the business logic, like when it's ok to overwrite, how to retrieve it, etc.)
I know pstorage. I'm looking for something more than just reading and writing. for example, find the last record, add a new record, overwriting old records, etc.
pstorage can read/write and update. Its main functionality is to do safe flash access in midst of BLE activity. It remembers nothing about the last done activity like records. All the database management and or table lookup logic must be implemented by the application itself. Unfortunately nothing of such sort is yet available from Nordic apart from this functionality.