Re: [TuyaOS SDK 6.1.6] AP配網失敗
您好,
可以看到SmartLife-xxxx (mac last 4 digit), 密碼是空的
要搜尋到device, 需要連SmartLife-xxxx嗎? 還是手機開啟熱點, 開啟wifi (wifi不用連ssid)就可以了
開tuya app一直搜尋不到裝置, 不確定缺少什麼
看執行後的log, AP有成功起來, 但是一直在印 get work mode 和 get ip
[01-01 00:00:14 ty D][tuya_wifi_netcfg.c:575] start ap success:SmartLife-2201
[01-01 00:00:14 ty D][netcfg_module.c:133] type:0x10002,is_set:0
[01-01 00:00:14 ty D][netcfg_module.c:133] type:0x10100,is_set:0
[01-01 00:00:14 ty D][netcfg_module.c:133] type:0x10002,is_set:0
[01-01 00:00:14 ty D][netcfg_module.c:133] type:0x10100,is_set:0
tkl_wifi_get_work_mode[556]
Current mode: AP mode
WIFI Get Mode 3
[01-01 00:00:14 ty N][tuya_wifi_status.c:168] cur stat:2 0x4c6360 -->>
[01-01 00:00:14 ty N][tuya_wifi_status.c:171] wifi netstat changed to:2 -->>
[01-01 00:00:14 ty N][tuya_wifi_status.c:175] report wifi netstat[2] to callback -->>
[01-01 00:00:14 ty E][tuya_ipc_sdk_init.c:330] wf nw status changed to [2], but not notify
[01-01 00:00:14 ty D][netcfg_module.c:334] netcfg module start type:0x10100
[01-01 00:00:14 ty N][tuya_wifi_reset.c:404] timer stated, short timer:0x0, long timer:0x0
[01-01 00:00:14 ty D][tuya_wifi_netcfg.c:787] nc_tp:2, md:0
[01-01 00:00:14 ty N][tuya_svc_devos.c:216] __devos_init_evt success
[01-01 00:00:14 ty D][netcfg_module.c:116] start 0x10100 ret:0
[01-01 00:00:14 ty D][netcfg_module.c:334] netcfg module start type:0x10002
[01-01 00:00:14 ty D][ap_netcfg.c:1282] ap cfg start:65538
tkl_wifi_get_ip[394]
hwl_get_local_ip_info[339]
ip=192.168.2.1
gw=192.168.2.255
mask=255.255.255.0
hwl_get_local_ip_info[339]
ip=192.168.2.1
gw=192.168.2.255
mask=255.255.255.0
WIFI[1] Get IP:192.168.2.1
WIFI[1] Get GW:192.168.2.255
WIFI[1] Get MASK:255.255.255.0
[01-01 00:00:14 ty D][ap_netcfg.c:1160] ap netcfg server ip:192.168.2.1
[01-01 00:00:14 ty I][tal_thread.c:185] thread_create name:ap_tcp_v4,stackDepth:3584,totalstackDepth:24576,priority:5
[01-01 00:00:14 ty D][netcfg_module.c:116] start 0x10002 ret:0
[01-01 00:00:14 ty D][tal_thread.c:204] Thread:ap_tcp_v4 Exec Start. Set to Running Stat
[01-01 00:00:14 ty D][ap_netcfg.c:749] start TCP ap thread
[01-01 00:00:14 ty D][ap_netcfg.c:787] Waiting for a remote connection
tkl_wifi_get_work_mode[556]
Current mode: AP mode
WIFI Get Mode 3
tkl_wifi_get_ip[394]
hwl_get_local_ip_info[339]
ip=192.168.2.1
gw=192.168.2.255
mask=255.255.255.0
hwl_get_local_ip_info[339]