Hi,
I have an issue with listing of files in SD card. Files and directories in the root folders are displayed, but 2nd level. 3rd level displays the following error. here directory name was 123456
Listing directory: /
DIR : 123456
Listing directory: 123456
[ 2110][E][vfs_api.cpp:29] open(): �������?���? does not start with /
Failed to open directory
Code lines which is generating this error from sample project. First call to ListDir is with level 0 displays files and folders in root, but next call to ListDir with level 2, generates the above error.
listDir(SD, "/", 0);
createDir(SD, "/mydir");
listDir(SD, "/", 0);
removeDir(SD, "/mydir");
listDir(SD, "/", 2);
writeFile(SD, "/hello.txt", "Hello ");
appendFile(SD, "/hello.txt", "World!\n");
readFile(SD, "/hello.txt");
Appreciate a solution/feedback on the subject.
[sterretje edit]
Removed the screaming bold.