File System service
The File System (FS) service allows accessing the file system on different platforms:
- providing a Read/Write space to create/store/read files.
- on Read Only platforms, the /tmp/data/le_fs is used as base of the FS sevice.
The File System service offers the following file operations:
- open a file with le_fs_Open()
- close a file with le_fs_Close()
- read in a file with le_fs_Read()
- write in a file with le_fs_Write()
- change the current position in a file with le_fs_Seek()
- get the size of a file with le_fs_GetSize()
- delete a file with le_fs_Delete()
- move a file with le_fs_Move()
The files and directories tree used by the fsDaemon may be set by the user with the config tree variable fsService:/fsPrefixPath. If it is not set, the path /data/le_fs is used if writeable. Else, it uses /tmp/data/le_fs.
IPC interfaces binding
All the functions of this API are provided by the fsService application service.
Here's a code sample binding to File System service:
bindings: { clientExe.clientComponent.le_fs -> fsService.le_fs }
Copyright (C) Sierra Wireless Inc.