When running this on a Windows platform the #define LWIP_RAND() ((u32_t)rand()) dod not work and I had to use HAL_RNG_GetRandomNumber.
But when it did run the Data console showed this - can you try it and see if you get the same?
Thanks
Andy.
. Seeding the random number generator... ok
. Loading the CA root certificate ... ok (0 skipped)
DHCP/Static IP O.K.
. Setting up the SSL/TLS structure... ok
. Connecting to tcp/www.google.com/443... ok
. Performing the SSL/TLS handshake...../Middlewares/Third_Party/mbedTLS/library/ssl_tls.c:4094: bad message length
../Middlewares/Third_Party/mbedTLS/library/ssl_tls.c:4344: ssl_get_next_record() returned -29184 (-0x7200)
../Middlewares/Third_Party/mbedTLS/library/ssl_tls.c:5699: mbedtls_ssl_read_record() returned -29184 (-0x7200)
failed
! mbedtls_ssl_handshake returned -0x7200
When running this on a Windows platform the #define LWIP_RAND() ((u32_t)rand()) dod not work and I had to use HAL_RNG_GetRandomNumber.
But when it did run the Data console showed this - can you try it and see if you get the same?
Thanks
Andy.
. Seeding the random number generator... ok . Loading the CA root certificate ... ok (0 skipped) DHCP/Static IP O.K. . Setting up the SSL/TLS structure... ok . Connecting to tcp/www.google.com/443... ok . Performing the SSL/TLS handshake...../Middlewares/Third_Party/mbedTLS/library/ssl_tls.c:4094: bad message length ../Middlewares/Third_Party/mbedTLS/library/ssl_tls.c:4344: ssl_get_next_record() returned -29184 (-0x7200) ../Middlewares/Third_Party/mbedTLS/library/ssl_tls.c:5699: mbedtls_ssl_read_record() returned -29184 (-0x7200) failed ! mbedtls_ssl_handshake returned -0x7200
error on mbedtls...