Gocator API
 All Classes Files Functions Variables Typedefs Macros Modules Pages
kStatus GoSensor_DirectoryFileNameAt ( GoSensor  sensor,
const kChar extensionFilter,
const kChar path,
kBool  isRecursive,
kSize  index,
kChar fileName,
kSize  capacity 
)

Retrieves the file name at the specified index for a given path and optional extension filter.

Version
Introduced in firmware 4.1.3.106
Parameters
sensorGoSensor object.
extensionFilterAn optional extension filter to apply. Send "" to not apply a filter.
pathThe file system path to retrieve the file count for.
isRecursivekTRUE to include files in sub-folders of the path and kFALSE to only count files in the immediate path.
indexThe index of the file name to retrieve.
fileNameThe pointer to a character array of which to store the retrieve file name.
capacityThe maximum capacity of the character array.
Returns
Operation status.