Apps
Components
Interfaces
All Files
Source Tree
source:
tos.lib.FS.Dir.nc
Component: Dir
Required Interfaces
IFileMetaRead
IFileCoord
IFileFree
Debug
Provided Interfaces
FileDir
Variables
bool busy
Function Index
command result_t
FileDir.start
(void)
List names of all files in filing system
Returns:
SUCCESS: attempt proceeds,
nextFile
will be signaled
FAIL: filesystem is busy
command result_t
FileDir.readNext
(void)
event result_t
FileDir.nextFile
(const char *filename, fileresult_t result)
event void
IFileMetaRead.nextFile
(struct fileEntry *file, fileresult_t result)
command uint32_t
FileDir.freeBytes
(void)
Function Descriptions
FileDir.freeBytes
command uint32_t
FileDir.freeBytes
(void)
Returns:
Number of bytes available in filing system.