Hi,
i'm in the process of wrioting an FTPS client for a system running on uCOS.
I've been able to setup the control channel fine and working on setting up the data channel for a simple list command execution.
It seems like I seem able to setup everything fine but the call to mbedtls_ssl_set_bio() hangs even though I set it to execute the timeout function like:
mbedtls_ssl_set_bio( &ssl_d, &data_fd, mbedtls_tls_send, NULL, mbedtls_tls_recv_timeout);
Where the mbed_tls_recv_timeout looks like:
The current connection uses ipv4, i.e. the select () branch is active. I never see the timed out message. Any idea what may be going on here?
Thank you,
Ron
mbed-tls@lists.trustedfirmware.org