2021-04-03 06:57 PM
BL475E-IOTA library fails while sending data to the MQTT broker. I see the below prints on the console. I'm using the default STM32 library for AWS. Can anyone please let me know why I'm seeing these errors. Thank you.
STM32CubeExpansion_Cloud_AWS_V1.2.1/Drivers/BSP/Components/es_wifi/es_wifi.c:1973 :AT_RequestReceiveData failed
ERROR: net_sock_recv_tcp_wifi L#243 net_sock_recv(): error 1 in WIFI_ReceiveData() - socket=0 requestedLen=5 received=0
ERROR: net_sock_recv_tcp_wifi L#244 The port is likely to have been closed by the server.
ERROR: mbedtls_net_recv L#68 mbedtls_net_recv(): error -4 in net_sock_recv() - requestedLen=5
/STM32CubeExpansion_Cloud_AWS_V1.2.1/Middlewares/Third_Party/mbedTLS/library/ssl_tls.c:3875: mbedtls_ssl_fetch_input() returned -27648 (-0x6c00)
/STM32CubeExpansion_Cloud_AWS_V1.2.1/Middlewares/Third_Party/mbedTLS/library/ssl_tls.c:3729: mbedtls_ssl_read_record_layer() returned -27648 (-0x6c00)
/STM32CubeExpansion_Cloud_AWS_V1.2.1/Middlewares/Third_Party/mbedTLS/library/ssl_tls.c:6842: mbedtls_ssl_read_record() returned -27648 (-0x6c00)
2021-05-24 06:58 AM
Hello
When does this happen ?
It looks like the remote server is closing the connection.
Did you enter correct configuration ? (endpoint address, thing name, certificates)
2022-01-20 02:30 PM
Hi @PTeja.1 were you able to connect BL475E-IOTA to AWS ?