sparkfun / OpenLog

Open Source Hardware Datalogger
https://www.sparkfun.com/products/9530
Other
547 stars 215 forks source link

Openlog LS command question #231

Closed danistrigaro closed 4 years ago

danistrigaro commented 5 years ago

Dear all,

I am using OpenLog as datalogger to store environmental data. I do not understand which is the order of the files returned by the 'ls' command. At the beginning I thought that it was by alphabetic order, then I thought it was by creation time, but now I noticed that still is not like this.

Could you please give me some information about it?

Thank you very much in advance

Regards

Daniele

nseidle commented 5 years ago

OpenLog is based on SdFat written by Bill Greiman and inherits its ls command. The ls function is defined in the docs as:

image

ls function is defined here. It is not apparent to me what the listing format is. It may be something lower level such as the order in which the files were written to the SD card.

loricrotser commented 4 years ago

Daniele, did you need further help with this issue? If you do, please feel free to look into our forums - we have tech support folks who can get you going in the right direction. Thank you!