Hi all,
On ESP32 platform, I tried to build a SAMBA transferal files app, the source code I employed is at here:
http://members.inode.at/anton.zechner/az/AzSmb.en.htm
I replaced the sysfindnext function on their linux system into f_findnext function on espidf RTOS library, my code works well but it doesn't show fully files in my shared directory (f_findnext coulnt search out somes of files on shared directory).
it seems related to the limitation of hardware?
thanks for any advice
f_findnext couldnt search fully files in directory
Re: f_findnext couldnt search fully files in directory
The implementation of SysFindNext uses readdir_r function, which is supported in IDF. So you don't need to replace that with FATFS f_findnext, i think.
P.S. also make sure you don't use this SMB library in conjunction with WiFi/BT features of the ESP32 for production code (unless you have obtained the commercial license from the author).
P.S. also make sure you don't use this SMB library in conjunction with WiFi/BT features of the ESP32 for production code (unless you have obtained the commercial license from the author).
Re: f_findnext couldnt search fully files in directory
Thanks, I fixed it.ESP_igrr wrote:The implementation of SysFindNext uses readdir_r function, which is supported in IDF. So you don't need to replace that with FATFS f_findnext, i think.
P.S. also make sure you don't use this SMB library in conjunction with WiFi/BT features of the ESP32 for production code (unless you have obtained the commercial license from the author).
That is a limitation the number of files showed from the source I used
Who is online
Users browsing this forum: No registered users and 331 guests