[20250703_14:25:59][root@Zeratul:bin]# ./demo
[20250703_14:25:59]
[20250703_14:26:00]libcamerasdk_cmd_impl: SDKCMD_GET_DEVICE_INFO Error, ERRCODE: -1uuid: , authKey: SDK Version:< TuyaOS V:6.2.14 BS:40.00_PT:2.3_LAN:3.5_CAD:1.0.5_CD:1.0.0 >
[20250703_14:26:00]< BUILD AT:2025_06_20_14_28_51 BY ci_manage FOR tuyaos-ipc AT T32_uclibc_r3.3.7 >
[20250703_14:26:00]IOT DEFS < WIFI_GW:1 DEBUG:0 KV_FILE:0 LITTLE_END:1 SL:1 OPERATING_SYSTEM:100 RELIABLE_TRANSFER:0 >
[20250703_14:26:00]
[20250703_14:26:00]MODE:1 LINK_TYPE:1 IP_MODE_TYPE:0
[20250703_14:26:00][01-01 00:00:00 ty I][5790][tal_thread.c:185] thread_create name:sys_timer,stackDepth:4096,totalstackDepth:4096,priority:5
[20250703_14:26:00][01-01 00:00:00 ty I][5790][tal_thread.c:185] thread_create name:wq_system,stackDepth:6144,totalstackDepth:10240,priority:3
[20250703_14:26:00][01-01 00:00:00 ty I][5790][tal_thread.c:185] thread_create name:wq_highpri,stackDepth:5120,totalstackDepth:15360,priority:4
[20250703_14:26:00]tkl_wifi_init-87 called
[20250703_14:26:00][01-01 00:00:00 ty I][5790][tal_thread.c:185] thread_create name:health_monitor,stackDepth:1536,totalstackDepth:16896,priority:5
[20250703_14:26:00][01-01 00:00:00 ty I][5790][mqc_app.c:490] mqc app init ...
[20250703_14:26:00][01-01 00:00:00 ty E][5790][log_seq.c:861] open err
[20250703_14:26:00][01-01 00:00:00 ty I][5790][kv_storge.c:45] Init Kvs With File:/config/profiles/tuya/
[20250703_14:26:00][01-01 00:00:00 ty N][5790][tuya_tls.c:876] uni_random_init...
[20250703_14:26:00][01-01 00:00:00 ty N][5790][tuya_tls.c:303] tuya_tls_rand_init ok!
[20250703_14:26:00][01-01 00:00:00 ty E][5790][ws_db_gw.c:84] wd_protected_read fails gw_bi -6
[20250703_14:26:00][01-01 00:00:00 ty E][5790][tuya_svc_devos.c:296] base read fail:-6
[20250703_14:26:00][01-01 00:00:00 ty E][5790][tuya_svc_devos.c:546] ret:-7171
[20250703_14:26:00][01-01 00:00:00 ty E][5790][base_event.c:153] ret:-7171
[20250703_14:26:00][01-01 00:00:00 ty N][5790][tuya_wifi_link.c:85] start wifi link params validate, nc_tp:2 md:0
[20250703_14:26:00][01-01 00:00:00 ty N][5790][tuya_wifi_link.c:107] gw_wsm.nc_tp:2
[20250703_14:26:00][01-01 00:00:00 ty N][5790][tuya_wifi_link.c:108] gw_wsm.md:0
[20250703_14:26:00][01-01 00:00:00 ty E][5790][tuya_wifi_reset.c:675] read wf start mode err:-6
[20250703_14:26:00][01-01 00:00:00 ty N][5790][tuya_svc_devos.c:563] Last reset reason: 7
[20250703_14:26:00][01-01 00:00:00 ty N][5790][tuya_svc_devos.c:395] gw_cntl->gw_if.abi:0 input:0
[20250703_14:26:00][01-01 00:00:00 ty N][5790][tuya_svc_devos.c:396] gw_cntl->gw_if.product_key:rcfuqofjpq6fswdf, input:rcfuqofjpq6fswdf
[20250703_14:26:00][01-01 00:00:00 ty N][5790][tuya_svc_devos.c:397] gw_cntl->gw_if.tp:0, input:0
[20250703_14:26:00][01-01 00:00:00 ty N][5790][tuya_svc_devos.c:596] enter success_proc
[20250703_14:26:00]WIFI Get MAC 00-00-00-00-00-00
[20250703_14:26:00][01-01 00:00:00 ty N][5790][tuya_svc_devos.c:599] serial_no:000000000000
[20250703_14:26:00][01-01 00:00:00 ty E][5790][tuya_ring_buffer.c:114] ring buffer list not inited!
[20250703_14:26:00][01-01 00:00:00 ty E][5790][tuya_ring_buffer.c:114] ring buffer list not inited!
[20250703_14:26:00][01-01 00:00:00 ty E][5790][tuya_ring_buffer.c:114] ring buffer list not inited!
[20250703_14:26:00][01-01 00:00:00 ty E][5790][tuya_ring_buffer.c:114] ring buffer list not inited!
[20250703_14:26:00][01-01 00:00:00 ty E][5790][tuya_ring_buffer.c:114] ring buffer list not inited!
[20250703_14:26:00][01-01 00:00:00 ty E][5790][tuya_ring_buffer.c:114] ring buffer list not inited!
[20250703_14:26:00][01-01 00:00:00 ty E][5790][tuya_ring_buffer.c:114] ring buffer list not inited!
[20250703_14:26:00][01-01 00:00:00 ty E][5790][tuya_ring_buffer.c:114] ring buffer list not inited!
[20250703_14:26:00][01-01 00:00:00 ty E][5790][tuya_ipc_hardware_info.c:173] NO sensor info. Please check if you need.
[20250703_14:26:00]Set Country Code:0
[20250703_14:26:00][01-01 00:00:00 ty N][43a4][tuya_wifi_status.c:167] cur stat:2 0x0 -->>
[20250703_14:26:00][01-01 00:00:00 ty N][43a4][tuya_wifi_status.c:169] wifi netstat changed to:2 -->>
[20250703_14:26:00][01-01 00:00:00 ty N][43a4][tuya_svc_devos.c:246] __devos_init_evt success
[20250703_14:26:00][01-01 00:00:00 ty E][5790][tuya_ipc_sdk_init.c:401] wf nw status changed to [2], but not notify
[20250703_14:26:00]
[20250703_14:26:00]tuya ipc sdk start is complete
[20250703_14:26:00]-----start to connect wifi-----
[20250703_14:26:03]wifi_status_event_cb-70 set wf event[1]
[20250703_14:26:03][01-01 00:00:03 ty N][43a4][tal_wifi_reconnet.c:249] wifi status changed to 1, stat: 0
[20250703_14:26:07][libcamerasdk-08:00:54.074] [WARN]:recv heartbeat ack
我们用的自己的二维码识别和处理接口,然后直接调用的tuya_ipc_direct_connect接口,不过看打印没有跑到tkl_wifi_station_connect,wifi 连接失败了