MQX 3.6 - MFS valid filename characters

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MQX 3.6 - MFS valid filename characters

351 Views
ARQuattr
Contributor IV

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

Labels (1)
Tags (3)
0 Kudos
0 Replies