Hello,
I am really in a quandary regarding opening a file for write, then reading. First, I open the file for write (which already exists in the filesystem):
data_file_handle = sl_FsOpen((uint8_t *) DATA_FILENAME, (uint32_t) SL_FS_WRITE, &data_file_token);
But, when go to read it, sl_FsRead returns with error -10329:
retval = sl_FsRead(data_file_handle, 0, data_start_ptr, sizeof(user_data));
This error means "SL_ERROR_FS_FILE_ACCESS_IS_DIFFERENT".
Does anyone have any idea that that error is referring to?
Thanks very much!