[01-01 00:00:03 ty D][4ea4][ty_sdk_status_callback.c:79] status chaged: group[2] status[21]
[01-01 00:00:03 ty D][4ea4][ty_sdk_status_callback.c:86] status ignore. cb is null.
[01-01 00:00:03 ty N][cea4][tal_wifi_reconnet.c:249] wifi status changed to 0, stat: 0
[01-01 00:00:03 ty D][cea4][tuya_svc_devos.c:863] set netcfgstat, stage:2, status:0
[01-01 00:00:03 ty D][cea4][tuya_ble_svc.c:1663] ble get conn stat:4
[01-01 00:00:03 ty D][cea4][tuya_wifi_link.c:305] stat:6
[01-01 00:00:03 ty D][cea4][tuya_svc_netmgr_linkage.c:120] link[2][1] is_up[1] active_link[2][1] status[0]
[01-01 00:00:03 ty E][cea4][tuya_svc_mqtt_client.c:1396] handle null
sh: iwconfig: not found
WIFI Get Mode [] 2
[01-01 00:00:03 ty N][cea4][tuya_wifi_status.c:167] cur stat:2 0x4d8458 -->>
[01-01 00:00:03 ty I][cea4][tal_thread.c:185] thread_create name:lan_sock_loop,stackDepth:4096,totalstackDepth:24576,priority:3
[01-01 00:00:03 ty D][cea4][tuya_lan_sock.c:312] init sock loop success
[01-01 00:00:03 ty D][3084][tal_thread.c:209] Thread:lan_sock_loop Exec Start. Set to Running Stat 0x743084f0
[01-01 00:00:03 ty D][cea4][tuya_wifi_link.c:221] reg wifi lan enable
[01-01 00:00:03 ty D][cea4][tuya_svc_lan.c:2401] lan init success
tkl_wifi_get_connected_ap_info-499 not support
[01-01 00:00:03 ty E][cea4][tal_wifi.c:583] ret:-4
[01-01 00:00:03 ty E][cea4][tuya_wifi_connect.c:106] wf_get_connected_ap_info fails -4 (nil)
[01-01 00:00:03 ty D][cea4][tal_wifi_reconnet.c:257] wifi connected in reday
Interface: wlan0
IP Address: 172.16.34.238
Netmask: 255.255.255.0
Gateway: 172.16.34.255
WIFI mode[1] Get IP:172.16.34.238
sh: iwconfig: not found
WIFI Get Mode [] 2
Interface: wlan0
IP Address: 172.16.34.238
Netmask: 255.255.255.0
Gateway: 172.16.34.255
WIFI mode[0] Get IP:172.16.34.238
[01-01 00:00:04 ty N][cea4][tuya_svc_lan.c:516] Not actived, use linkage addr[172.16.34.238]
[01-01 00:00:04 ty E][cea4][tuya_svc_lan.c:1979] create server socket err -3
[01-01 00:00:04 ty E][cea4][tuya_svc_lan.c:974] init tcp serv fd err
运行demo,提示设备未激活
-
- Posts: 1
运行demo,提示设备未激活
- chenyisong
- Posts: 124
Re: 运行demo,提示设备未激活
你这边用的是open-sdk吧,请检查一下设备的uuid和auth-key,上面还有一些错误信息,可以看下具体原因。