I'm using MFS with the USB stack in MQX 3.6 and am having trouble with certain filenames. In particular, I'm having trouble with a file that includes an apostrophe in the filename. When I call this:
ioctl(fs_ptr, IO_IOCTL_FIND_NEXT_FILE, (uint_32_ptr) &search_data);
it finds the file no problem, but when I then try to open the file using:
fopen(search_data.NAME,"r");
it fails to open the file.
As I understand it the MFS uses the standard 8.3 DOS format but I believe apostrophes are allowed. Other characters seem fine; these all work: ! @ # $ % ^ ( ) _
Are there some special restrictions with MQX MFS on allowable filename characters?
Thanks