I have a Qwiic OpenLog I2C, and need to use long file names. Can this be done somehow?
depends on the filesystem you use on the SD. FAT16 is the 8.3 structure, FAT32 can be up to 255 characters
My microSD is formatted FAT32. Ah, I see that the longer file name shows up on the PC, but not in the Example7 file listing example. That example shows the 8.3 names.
So, if I look for files on the disk in the sketch, I will only see the short names? Or do I need to do something to see the longer file names in the Example 7 sketch?
sorry for the long time to respond. Attached is a sketch for the Artemis OpenLog Hardware.
It has a simple menu to choose from. It allows browsing the SD, making Long filenames files and directories, removing files and directories, and displaying file content in HEX and/or ASCII. Make sure to close out with option 15 (close down SD) when stopping.
Not 100% tested and not planned to. it is proof of concept…
LongNameTest.zip (4.83 KB)
Just to be clear - I have the (vanilla) Qwiic OpenLog. It sounds like your example is for the Artemis OpenLog. Would it apply to the Qwiic OpenLog?
No will not work on the QWIIC Openlog. Looking at the source code of the firmware for the QWIIC Openlog it will only support 8.3 filenames like LOG00000.TXT.