C
TFTP_RESULT TFTPIsFileOpened();
Description
Waits for remote server response regarding previous attempt to open file. If no response is received within specified timeout, fnction returns with TFTP_RETRY and application logic must issue another TFTPFileOpen().
Preconditions
TFTPOpenFile() is called.
Returns
TFTP_OK if file is ready to be read or written
TFTP_RETRY if previous attempt was timed out needs to be retried.
TFTP_TIMEOUT if all attempts were exhausted.
TFTP_ERROR if remote server responded with error
TFTP_NOT_READY if file is not yet opened.
Side Effects
None
Remarks
None