I am using nRF51822. I want to know that how to perform file read, delete and write operations. Is there any API available for this. If file operations are not supported by nRF51822, then how can I store and read data from flash memory.
I am using nRF51822. I want to know that how to perform file read, delete and write operations. Is there any API available for this. If file operations are not supported by nRF51822, then how can I store and read data from flash memory.
There are no file operations because there's no filesystem and no operating system.
Take a look at the pstorage module and examples, that allows you to write data to and read data from flash.
There are no file operations because there's no filesystem and no operating system.
Take a look at the pstorage module and examples, that allows you to write data to and read data from flash.
where to get pstorage module and examples.
A filesystem does not require an OS; eg, many microcontroller projects write files to SD Cards without the use of an OS...
in the SDK where all the other modules and examples for everything else are. Documentation and downloads for the SDK under the 'SDK and Documentation' link right at the top of this page. Just look for pstorage and any example with the name, pstorage , in it.
pstorage is part of the SDK - so see the SDK documentation ...