1.1.9.1 WDRV_WINC_FileWrite
Function
WDRV_WINC_STATUS WDRV_WINC_FileWrite ( DRV_HANDLE handle, WDRV_WINC_FILE_HANDLE fHandle, const uint8_t *pData, size_t lenData )
Summary
Write data to a file.
Description
Write data to a file from user application to WINC device.
Precondition
WDRV_WINC_Initialize should have been called. WDRV_WINC_Open should have been called to obtain a valid handle. WDRV_WINC_FileOpen should have been called to obtain a valid file handle.
Parameters
handle - WINC driver handle obtained from WDRV_WINC_Open.
fHandle - File handle received from WDRV_WINC_FileOpen.
pData - Pointer to data to write.
lenData - Length of data to write.
Returns
WDRV_WINC_STATUS_OK - A scan was initiated.
WDRV_WINC_STATUS_NOT_OPEN - The driver instance is not open.
WDRV_WINC_STATUS_REQUEST_ERROR - The request to the WINC was rejected.
WDRV_WINC_STATUS_INVALID_ARG - The parameters were incorrect.
WDRV_WINC_STATUS_BUSY - Transfer is busy
Remarks
None.