IDF版本:esp-idf-v4.4.4
配网成功后,连不上云,报错信息如下:
Starting cloud
I (64403) cloud: Shadow Init
I (64413) cloud: Connecting to AWS...
I (67543) NimBLE: GAP procedure initiated: stop advertising.
I (67573) NimBLE: GAP procedure initiated: stop advertising.
I (67583) NimBLE: GAP procedure initiated: terminate connection; conn_handle=0 hci_reason=19
E (67663) protocomm_nimble: Error setting advertisement data; rc = 30
I (67753) wifi_prov_mgr: Provisioning stopped
I (67753) wifi_prov_scheme_ble: BTDM memory released
E (71433) aws_iot: failed! mbedtls_net_connect returned -0x52
:8883433) cloud: Error(-23) connecting to a3orti3lw2padm-ats.iot.us-east-1.amazonaws.com
请问各大神是什么原因?
ESP-Jumpstart例程中第5个工程:5_cloud连接报错!
Re: ESP-Jumpstart例程中第5个工程:5_cloud连接报错!
mbedtls_net_connect 返回 0x52 表示 MBEDTLS_ERR_NET_UNKNOWN_HOST,意思是 DNS 解析失败,你可以打开 DNS 日志(LWIP 里 DNS_DEBUG)看下,是否可以解析成功。
Who is online
Users browsing this forum: No registered users and 84 guests