1.1.16 Client - File Operations APIs
This interface supports file system operations on the WINCS02 device.
Files are organized by type:
Certificates
Private Keys
Diffie-Hellman Parameters
Configuration Settings
Files can be searched by type using the function WDRV_WINC_FileFind
which provides file information via a WDRV_WINC_FILE_FIND_CALLBACK
type callback.
To transfer data to a new file the function WDRV_WINC_FileOpen
is called with a filename, type and length. Feedback is provided via the WDRV_WINC_FILE_STATUS_CALLBACK
type callback. Once opened the data can be written using the function WDRV_WINC_FileWrite
until complete, then the function WDRV_WINC_FileClose
closes and commits the file to the file system.
A file can be deleted using the function WDRV_WINC_FileDelete
. The results of the operation are fed back through the WDRV_WINC_FILE_DELETE_CALLBACK
type callback.