You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello friends! I'm trying set the SSL connection with mbedTLS library with W5500 on STM32F767. I'm using your example and files. And i'm using Hardware RNG else. Socket open is sucess, connection to the server sucess next. While "handshake" i receive last messahe: "in_left: 0, nb_want: 5" and my programm don't go next. I found out that programn stuck in recv() function in while() operator. recvsize always equal 0, getSn_RX_RSR(sn) function always return 0. What may be the problem? Why don't work timeout break? Have is it here an implementation?
mbedtls_ctr_drbg_seed Ok!
Loading the CA root certificate
x509_crt_parse Ok!
. Setting up the SSL/TLS structure...
mbedtls_ssl_config_defaults Ok!
mbedtls_ssl_setup Ok!
mbedtls_ssl_set_hostname Ok!
Calling DNS_init()...
Resolving domain name "fallin.ru"...
Result: 188.124.41.188
Socket open ok! Connection to the fallin.ru ok! . Performing the SSL/TLS handshake...=> handshake
=> flush output
<= flush output
client state: MBEDTLS_SSL_HELLO_REQUEST
=> flush output
<= flush output
client state: MBEDTLS_SSL_CLIENT_HELLO
=> write client hello
=> write handshake message
=> write record
<= write record
<= write handshake message
<= write client hello
=> flush output
message length: 64, out_left: 64
ssl->f_send() returned 64 (-0xffffffc0)
<= flush output
client state: MBEDTLS_SSL_SERVER_HELLO
=> parse server hello
=> read record
=> fetch input
in_left: 0, nb_want: 5
The text was updated successfully, but these errors were encountered:
Hello friends! I'm trying set the SSL connection with mbedTLS library with W5500 on STM32F767. I'm using your example and files. And i'm using Hardware RNG else. Socket open is sucess, connection to the server sucess next. While "handshake" i receive last messahe: "in_left: 0, nb_want: 5" and my programm don't go next. I found out that programn stuck in recv() function in while() operator. recvsize always equal 0, getSn_RX_RSR(sn) function always return 0. What may be the problem? Why don't work timeout break? Have is it here an implementation?
My DEBUG messages:
Start
Calling DHCP_run()...
=== W5500 NET CONF : DHCP ===
MAC: EA:11:22:33:44:EA
SIP: 192.168.21.6
GAR: 192.168.21.1
SUB: 255.255.255.0
DNS: 192.168.21.1
mbedtls_ctr_drbg_seed Ok!
Loading the CA root certificate
x509_crt_parse Ok!
. Setting up the SSL/TLS structure...
mbedtls_ssl_config_defaults Ok!
mbedtls_ssl_setup Ok!
mbedtls_ssl_set_hostname Ok!
Calling DNS_init()...
Resolving domain name "fallin.ru"...
Result: 188.124.41.188
Socket open ok! Connection to the fallin.ru ok! . Performing the SSL/TLS handshake...=> handshake
=> flush output
<= flush output
client state: MBEDTLS_SSL_HELLO_REQUEST
=> flush output
<= flush output
client state: MBEDTLS_SSL_CLIENT_HELLO
=> write client hello
=> write handshake message
=> write record
<= write record
<= write handshake message
<= write client hello
=> flush output
message length: 64, out_left: 64
ssl->f_send() returned 64 (-0xffffffc0)
<= flush output
client state: MBEDTLS_SSL_SERVER_HELLO
=> parse server hello
=> read record
=> fetch input
in_left: 0, nb_want: 5
The text was updated successfully, but these errors were encountered: