对于TuyaOS SDK开发模式,TuyaOS 3.9.0版本,tkl已经适配完成,二维码配网执行成功,设备已经连网完成,但是目前好像卡在了TUYA DNS查询这一步,串口log有以下的报错信息,请问这可能是什么原因呢?有空麻烦尽快帮忙看下
[LOG_I][tkl_wifi.c: 458] tkl_wifi_station_get_status => status: 6
[DBG_][tkl_wifi.c: 203] tkl_wifi_get_ip => ip:192.168.29.1, mask:255.255.255.0, gateway:192.168.29.1
gethostbyname_r error: Unknown host
[01-01 00:01:42 ty E][uni_network.c:253] fail to gethostbyname -25
[01-01 00:01:42 ty E][uni_network.c:104] get host name err,ret:-5
[01-01 00:01:42 ty E][tcp_transporter.c:41] DNS parser host h6.iot-dns.com failed -5
[01-01 00:01:42 ty E][tls_transporter.c:53] tcp transporter connect failed,ret:-0x7102
[01-01 00:01:42 ty E][http_inf.c:59] Open session failed: https://h6.iot-dns.com/v2/url_config (-28930)
[01-01 00:01:42 ty E][iot_httpc.c:1251] fail to get cloud url -2050
[01-01 00:01:42 ty E][tuya_svc_devos_activate.c:183] activate backoff
[LOG_I][tkl_wifi.c: 458] tkl_wifi_station_get_status => status: 6
[DBG][tkl_wifi.c: 203] tkl_wifi_get_ip => ip:192.168.29.1, mask:255.255.255.0, gateway:192.168.29.1
[LOG_I][tkl_wifi.c: 458] tkl_wifi_station_get_status => status: 6
[DBG][tkl_wifi.c: 203] tkl_wifi_get_ip => ip:192.168.29.1, mask:255.255.255.0, gateway:192.168.29.1
[LOG_I][tkl_wifi.c: 458] tkl_wifi_station_get_status => status: 6
[DBG][tkl_wifi.c: 203] tkl_wifi_get_ip => ip:192.168.29.1, mask:255.255.255.0, gateway:192.168.29.1
Lease of 192.168.29.4 obtained, lease time 86400
deleting routers
route: SIOCDELRT: No such process
gw is 192.168.29.1
dev is wlan0
adding dns 192.168.29.1
[LOG_I][tkl_wifi.c: 458] tkl_wifi_station_get_status => status: 6
[DBG][tkl_wifi.c: 203] tkl_wifi_get_ip => ip:192.168.29.4, mask:255.255.255.0, gateway:192.168.29.1
[01-01 00:01:44 ty E][tuya_tls.c:1070] mbedtls_ssl_handshake returned 0x4e00
[01-01 00:01:44 ty E][tuya_tls.c:1110] TUYA_TLS faild Connect h6.iot-dns.com:443
[01-01 00:01:44 ty E][tls_transporter.c:71] tls transporter connect err:-19968
[01-01 00:01:44 ty E][http_inf.c:59] Open session failed: https://h6.iot-dns.com/v2/url_config (-1)
[01-01 00:01:44 ty E][log_seq.c:142] ret:-1027
[01-01 00:01:44 ty E][iot_httpc.c:1251] fail to get cloud url -2050
[01-01 00:01:44 ty E][tuya_svc_devos_activate.c:183] activate backoff
[LOG_I][tkl_wifi.c: 458] tkl_wifi_station_get_status => status: 6
[DBG_][tkl_wifi.c: 203] tkl_wifi_get_ip => ip:192.168.29.4, mask:255.255.255.0, gateway:192.168.29.1
[LOG_I][tkl_wifi.c: 458] tkl_wifi_station_get_status => status: 6