mbedTLS + 0/6 examples
SourceVu will show references to mbedtls_ssl_set_bio() from the following samples and libraries:
Examples
STM32469I_EVAL
Applications
mbedTLS
STM324x9I_EVAL
Applications
mbedTLS
STM324xG_EVAL
Applications
mbedTLS
 
Symbols
loading...
Files
loading...
SummarySyntaxArgumentsRelatedReferences

Notes

One of f_recv or f_recv_timeout can be NULL, in which case the other is used. If both are non-NULL, f_recv_timeout is used and f_recv is ignored (as if it were NULL). The two most common use cases are: - non-blocking I/O, f_recv != NULL, f_recv_timeout == NULL - blocking I/O, f_recv == NULL, f_recv_timout != NULL For DTLS, you need to provide either a non-NULL f_recv_timeout callback, or a f_recv that doesn't block. See the documentations of \c mbedtls_ssl_sent_t, \c mbedtls_ssl_recv_t and \c mbedtls_ssl_recv_timeout_t for the conventions those callbacks must follow. On some platforms, net_sockets.c provides \c mbedtls_net_send(), \c mbedtls_net_recv() and \c mbedtls_net_recv_timeout() that are suitable to be used here.

References

from examples