[09:44:07:151] ALW: MBL: First print. [09:44:07:266] ALW: MBL: Boot from Image 0. [09:44:07:269] ALW: MBL: Validate Image 0 OK. [09:44:07:502] ALW: MBL: Jump to Main Image (0x0800a000). [09:44:07:513] Build date: 2023/10/27 16:32:41 [09:44:07:522] === RF initialization finished === [09:44:07:617] === WiFi calibration done === [09:44:07:629] === PHY initialization finished === [09:44:07:663] === Adapter enable success === [09:44:07:665] === Tuya BLE Adapter enable complete === [09:44:08:230] [01-01 00:00:00 ty E][lr:0x8128ea2] magic 0xffffffff id1 65535 id2 1 [09:44:08:239] [01-01 00:00:00 ty E][lr:0x8128ea2] magic 0xffffffff id1 65535 id2 0 [09:44:08:328] [01-01 00:00:00 ty D][tal_thread.c:203] Thread:sys_timer Exec Start. Set to Running Stat [09:44:08:337] [01-01 00:00:00 ty I][tal_thread.c:184] thread_create name:sys_timer,stackDepth:4096,totalstackDepth:8192,priority:5 [09:44:08:352] [01-01 00:00:00 ty I][tal_thread.c:184] thread_create name:wq_system,stackDepth:5120,totalstackDepth:13312,priority:3 [09:44:08:358] [01-01 00:00:00 ty I][tal_thread.c:184] thread_create name:wq_highpri,stackDepth:4096,totalstackDepth:17408,priority:4 [09:44:08:371] f[01-01 00::tkl_wifi_00:00 ty D][init [09:44:08:378] tal_thread.c:203] Thread:wq_highpri Exec Start. Set to Running Stat [09:44:08:395] [01-01 00:00:00 ty D][lr:0x80f7482] add new node,type:0 [09:44:08:395] [01-01 00:00:00 ty D][lr:0x80f7482] add new node,type:1 [09:44:08:395] [01-01 00:00:00 ty D][lr:0x80f7482] add new node,type:2 [09:44:08:395] [01-01 00:00:00 ty D][lr:0x80f7482] add new node,type:3 [09:44:08:404] [01-01 00:00:00 ty D][lr:0x80f7482] add new node,type:4 [09:44:08:404] [01-01 00:00:00 ty D][lr:0x80f7482] add new node,type:5 [09:44:08:409] [01-01 00:00:00 ty D][lr:0x80f7482] add new node,type:6 [09:44:08:414] [01-01 00:00:00 ty D][lr:0x80f7482] add new node,type:7 [09:44:08:429] [01-01 00:00:00 ty D][lr:0x80f7482] add new node,type:8 [09:44:08:429] [01-01 00:00:00 ty D][lr:0x80f76a0] init watchdog, interval: 60 [09:44:08:429] [01-01 00:00:00 ty D][lr:0x80f74fc] update type:7,period:10 [09:44:08:438] [01-01 00:00:00 ty D][lr:0x80f76da] watch_dog_interval:60, monitor_detect_interval:600 [09:44:08:444] [01-01 00:00:00 ty D][tal_thread.c:203] Thread:health_monitor Exec Start. Set to Running Stat [09:44:08:453] [01-01 00:00:00 ty I][tal_thread.c:184] thread_create name:health_monitor,stackDepth:2048,totalstackDepth:19456,priority:5 [09:44:08:470] [01-01 00:00:00 ty I][lr:0x81139a0] mqc app init ... [09:44:08:470] [01-01 00:00:00 ty D][lr:0x811388a] mq_pro:5 cnt:1 [09:44:08:476] [01-01 00:00:00 ty D][lr:0x811388a] mq_pro:31 cnt:2 [09:44:08:481] [01-01 00:00:00 ty D][lr:0x8110332] svc online log init success [09:44:08:569] [01-01 00:00:00 ty E][lr:0x8113020] logseq empty [09:44:08:573] [01-01 00:00:00 ty D][lr:0x80f19d8] init fs. Path: null [09:44:08:581] [01-01 00:00:00 ty D][lr:0x81086ec] *****************kvs_init. [09:44:08:586] [01-01 00:00:00 ty D][lr:0x8124a94] protected init. addr:0x003f9000 [09:44:08:596] [01-01 00:00:00 ty E][lr:0x812489a] protected key data is not matched magic(0x3a2d3e45),crc32(0xe2d8782c) [09:44:08:601] [01-01 00:00:00 ty N][lr:0x810aede] sf protected init err, need backup [09:44:08:607] [01-01 00:00:00 ty N][lr:0x810af2e] key_addr: 0x3f0000 block_sz 4096 [09:44:08:620] [01-01 00:00:00 ty E][lr:0x810afcc] key data is not matched magic(0x3a2d3e45),crc32(0xe2d8782c) [09:44:08:628] [01-01 00:00:00 ty E][lr:0x810af46] flash is encrypted or empty [09:44:08:629] [01-01 00:00:00 ty N][lr:0x810af0e] protected not valid [09:44:08:635] [01-01 00:00:00 ty E][lr:0x8108c7a] create_flash_hand_and_init err 10 [09:44:08:641] [01-01 00:00:00 ty E][lr:0x80f19f4] db init fails -1 [09:44:08:646] [01-01 00:00:00 ty E][lr:0x80f3038] db init fails -1 [09:44:08:651] [01-01 00:00:00 ty E][tuya_iot_com_api.c:138] ret:-1 [09:44:08:656] [01-01 00:00:00 ty E][tuya_app_main.c:384] ret:-1 [09:44:08:662] [01-01 00:00:00 ty W][tuya_app_main.c:389] device_init in [09:44:08:667] [01-01 00:00:00 ty D][lr:0x8109522] key_addr: 0x3f0000 block_sz 4096 [09:44:08:673] [01-01 00:00:00 ty E][lr:0x81095da] key data is not matched magic(0x3a2d3e45),crc32(0xe2d8782c) [09:44:08:767] [01-01 00:00:00 ty D][lr:0x8124a94] protected init. addr:0x003f9000 [09:44:08:783] [01-01 00:00:00 ty E][lr:0x812489a] protected key data is not matched magic(0x3a2d3e45),crc32(0xe2d8782c) [09:44:08:784] [01-01 00:00:00 ty N][lr:0x810aede] sf protected init err, need backup [09:44:08:791] [01-01 00:00:00 ty N][lr:0x810af2e] key_addr: 0x3f0000 block_sz 4096 [09:44:08:802] [01-01 00:00:00 ty N][lr:0x810b03a] get key: [09:44:08:803] 0xb 0x4a 0xd3 0xc6 0xe4 0x68 0xc1 0x9a 0x4 0x9a 0x33 0xde 0xb2 0x51 0xbd 0xad [09:44:08:809] [01-01 00:00:00 ty D][lr:0x8124ab4] protected verify begin [09:44:08:820] [01-01 00:00:00 ty E][lr:0x812499a] protected key data is not matched magic(0x3a2d3e45),crc32(0xe2d8782c) [09:44:08:834] [01-01 00:00:00 ty N][lr:0x810b612] block head check error, expect:magic=0x135726ab, max block_id=[0], 23], crc32=506368 [09:44:08:837] [01-01 00:00:00 ty N][lr:0x810b662] block head check error, real:magic=0x3ddd181c, block_id=57210, crc32=-1876779677 [09:44:08:939] [01-01 00:00:00 ty N][lr:0x810b612] block head check error, expect:magic=0x135726ab, max block_id=[0], 23], crc32=506368 [09:44:08:948] [01-01 00:00:00 ty N][lr:0x810b662] block head check error, real:magic=0x3ddd181c, block_id=57210, crc32=-1876779677 [09:44:09:055] [01-01 00:00:00 ty N][lr:0x810b612] block head check error, expect:magic=0x135726ab, max block_id=[0], 23], crc32=506368 [09:44:09:065] [01-01 00:00:00 ty N][lr:0x810b662] block head check error, real:magic=0x3ddd181c, block_id=57210, crc32=-1876779677 [09:44:09:167] [01-01 00:00:00 ty N][lr:0x810b612] block head check error, expect:magic=0x135726ab, max block_id=[0], 23], crc32=506368 [09:44:09:184] [01-01 00:00:00 ty N][lr:0x810b662] block head check error, real:magic=0x3ddd181c, block_id=57210, crc32=-1876779677 [09:44:09:277] [01-01 00:00:00 ty N][lr:0x810b612] block head check error, expect:magic=0x135726ab, max block_id=[0], 23], crc32=506368 [09:44:09:290] [01-01 00:00:01 ty N][lr:0x810b662] block head check error, real:magic=0x3ddd181c, block_id=57210, crc32=-1876779677 [09:44:09:388] [01-01 00:00:01 ty N][lr:0x810b612] block head check error, expect:magic=0x135726ab, max block_id=[0], 23], crc32=506368 [09:44:09:399] [01-01 00:00:01 ty N][lr:0x810b662] block head check error, real:magic=0x3ddd181c, block_id=57210, crc32=-1876779677 [09:44:09:499] [01-01 00:00:01 ty N][lr:0x810b612] block head check error, expect:magic=0x135726ab, max block_id=[0], 23], crc32=506368 [09:44:09:511] [01-01 00:00:01 ty N][lr:0x810b662] block head check error, real:magic=0x3ddd181c, block_id=57210, crc32=-1876779677 [09:44:09:612] [01-01 00:00:01 ty N][lr:0x810b612] block head check error, expect:magic=0x135726ab, max block_id=[0], 23], crc32=506368 [09:44:09:631] [01-01 00:00:01 ty N][lr:0x810b662] block head check error, real:magic=0x3ddd181c, block_id=57210, crc32=-1876779677 [09:44:09:722] [01-01 00:00:01 ty N][lr:0x810b612] block head check error, expect:magic=0x135726ab, max block_id=[0], 23], crc32=506368 [09:44:09:733] [01-01 00:00:01 ty N][lr:0x810b662] block head check error, real:magic=0x3ddd181c, block_id=57210, crc32=-1876779677 [09:44:09:835] [01-01 00:00:01 ty N][lr:0x810b612] block head check error, expect:magic=0x135726ab, max block_id=[0], 23], crc32=506368 [09:44:09:851] [01-01 00:00:01 ty N][lr:0x810b662] block head check error, real:magic=0x3ddd181c, block_id=57210, crc32=-1876779677 [09:44:09:947] [01-01 00:00:01 ty N][lr:0x810b612] block head check error, expect:magic=0x135726ab, max block_id=[0], 23], crc32=506368 [09:44:09:957] [01-01 00:00:01 ty N][lr:0x810b662] block head check error, real:magic=0x3ddd181c, block_id=57210, crc32=-1876779677 [09:44:10:057] [01-01 00:00:01 ty N][lr:0x810b612] block head check error, expect:magic=0x135726ab, max block_id=[0], 23], crc32=506368 [09:44:10:068] [01-01 00:00:01 ty N][lr:0x810b662] block head check error, real:magic=0x3ddd181c, block_id=57210, crc32=-1876779677 [09:44:10:169] [01-01 00:00:01 ty N][lr:0x810b612] block head check error, expect:magic=0x135726ab, max block_id=[0], 23], crc32=506368 [09:44:10:180] [01-01 00:00:01 ty N][lr:0x810b662] block head check error, real:magic=0x3ddd181c, block_id=57210, crc32=-1876779677 [09:44:10:281] [01-01 00:00:01 ty N][lr:0x810b612] block head check error, expect:magic=0x135726ab, max block_id=[0], 23], crc32=506368 [09:44:10:292] [01-01 00:00:01 ty N][lr:0x810b662] block head check error, real:magic=0x3ddd181c, block_id=57210, crc32=-1876779677 [09:44:10:393] [01-01 00:00:02 ty N][lr:0x810b612] block head check error, expect:magic=0x135726ab, max block_id=[0], 23], crc32=506368 [09:44:10:404] [01-01 00:00:02 ty N][lr:0x810b662] block head check error, real:magic=0x3ddd181c, block_id=57210, crc32=-1876779677 [09:44:10:505] [01-01 00:00:02 ty N][lr:0x810b612] block head check error, expect:magic=0x135726ab, max block_id=[0], 23], crc32=506368 [09:44:10:516] [01-01 00:00:02 ty N][lr:0x810b662] block head check error, real:magic=0x3ddd181c, block_id=57210, crc32=-1876779677 [09:44:10:618] [01-01 00:00:02 ty N][lr:0x810b612] block head check error, expect:magic=0x135726ab, max block_id=[0], 23], crc32=506368 [09:44:10:635] [01-01 00:00:02 ty N][lr:0x810b662] block head check error, real:magic=0x3ddd181c, block_id=57210, crc32=-1876779677 [09:44:10:731] [01-01 00:00:02 ty N][lr:0x810b612] block head check error, expect:magic=0x135726ab, max block_id=[0], 23], crc32=506368 [09:44:10:740] [01-01 00:00:02 ty N][lr:0x810b662] block head check error, real:magic=0x3ddd181c, block_id=57210, crc32=-1876779677 [09:44:10:840] [01-01 00:00:02 ty N][lr:0x810b612] block head check error, expect:magic=0x135726ab, max block_id=[0], 23], crc32=506368 [09:44:10:852] [01-01 00:00:02 ty N][lr:0x810b662] block head check error, real:magic=0x3ddd181c, block_id=57210, crc32=-1876779677 [09:44:10:951] [01-01 00:00:02 ty N][lr:0x810b612] block head check error, expect:magic=0x135726ab, max block_id=[0], 23], crc32=506368 [09:44:10:963] [01-01 00:00:02 ty N][lr:0x810b662] block head check error, real:magic=0x3ddd181c, block_id=57210, crc32=-1876779677 [09:44:11:062] [01-01 00:00:02 ty N][lr:0x810b612] block head check error, expect:magic=0x135726ab, max block_id=[0], 23], crc32=506368 [09:44:11:082] [01-01 00:00:02 ty N][lr:0x810b662] block head check error, real:magic=0x3ddd181c, block_id=57210, crc32=-1876779677 [09:44:11:173] [01-01 00:00:02 ty N][lr:0x810b612] block head check error, expect:magic=0x135726ab, max block_id=[0], 23], crc32=506368 [09:44:11:189] [01-01 00:00:02 ty N][lr:0x810b662] block head check error, real:magic=0x3ddd181c, block_id=57210, crc32=-1876779677 [09:44:11:284] [01-01 00:00:02 ty N][lr:0x810b612] block head check error, expect:magic=0x135726ab, max block_id=[0], 23], crc32=506368 [09:44:11:295] [01-01 00:00:02 ty N][lr:0x810b662] block head check error, real:magic=0x3ddd181c, block_id=57210, crc32=-1876779677 [09:44:11:396] [01-01 00:00:03 ty N][lr:0x810b612] block head check error, expect:magic=0x135726ab, max block_id=[0], 23], crc32=506368 [09:44:11:406] [01-01 00:00:03 ty N][lr:0x810b662] block head check error, real:magic=0x3ddd181c, block_id=57210, crc32=-1876779677 [09:44:11:507] [01-01 00:00:03 ty N][lr:0x810b48e] kv valid but protected invalid, format it [09:44:11:515] [01-01 00:00:03 ty D][lr:0x8124c04] protected format begin [09:44:11:608] [01-01 00:00:03 ty D][lr:0x8124c66] protected format end 0 [09:44:11:613] [01-01 00:00:03 ty D][lr:0x8124c04] protected format begin [09:44:11:726] [01-01 00:00:03 ty D][lr:0x8124c66] protected format end 0 [09:44:11:741] [01-01 00:00:03 ty D][lr:0x80f1b62] gw_bi not found in kv, read from protected [09:44:11:741] [01-01 00:00:03 ty D][lr:0x8124c88] protected read [gw_bi] [09:44:11:747] [01-01 00:00:03 ty D][lr:0x8124cee] protected read ret:4 length:0 [09:44:11:759] [01-01 00:00:03 ty E][lr:0x80f586a] wd_protected_read fails gw_bi -6 [09:44:11:766] [01-01 00:00:03 ty D][lr:0x80f5cd6] gw_bi read ret:-6 [09:44:11:766] [01-01 00:00:03 ty D][lr:0x8124d4c] protected write [gw_bi][234] [09:44:11:880] [01-01 00:00:03 ty D][lr:0x8124e50] protected write ret:0 [09:44:11:992] [01-01 00:00:03 ty D][lr:0x80f5cd6] gw_bi write ret:0 [09:44:12:008] [01-01 00:00:03 ty D][lr:0x8124d4c] protected write [gw_wsm][140] [09:44:12:112] [01-01 00:00:03 ty D][lr:0x8124e50] protected write ret:0 [09:44:12:228] [01-01 00:00:03 ty D][lr:0x80f5ab2] gw_wsm write ret:0 [09:44:12:233] [01-01 00:00:03 ty N][lr:0x80f82e6] wifi soc init. pid:uiiyltkjmkhwumga firmwarekey:NULL ver:1.0.0 [09:44:12:244] [01-01 00:00:03 ty D][lr:0x80fc19c] tuya wifi link init mthd:0,wifi start mode:4, enable_station_ap:0 [09:44:12:256] [01-01 00:00:03 ty D][lr:0x8124c88] protected read [gw_wsm] [09:44:12:264] [01-01 00:00:03 ty D][lr:0x8124cee] protected read ret:0 length:140 [09:44:12:272] [01-01 00:00:03 ty D][lr:0x80f5ab2] gw_wsm read ret:0 [09:44:12:272] [01-01 00:00:03 ty N][lr:0x80fc22c] start wifi link params validate, nc_tp:0 md:0 [09:44:12:283] [01-01 00:00:03 ty N][lr:0x80fc26c] wifi config method not fit [09:44:12:283] [01-01 00:00:03 ty D][lr:0x80ff43a] nc_tp:10, wifi_start_mode:4 [09:44:12:289] [01-01 00:00:03 ty N][lr:0x80fba08] reset wifi link params to factory state, nc_tp:10 md:0 mthd:0 start mode:4 [09:44:12:299] [01-01 00:00:03 ty D][lr:0x8124d4c] protected write [gw_wsm][141] [09:44:12:413] [01-01 00:00:04 ty D][lr:0x8124e50] protected write ret:0 [09:44:12:527] [01-01 00:00:04 ty D][lr:0x80f5ab2] gw_wsm write ret:0 [09:44:12:532] [01-01 00:00:04 ty E][tuya_wifi_link.c:789] ret:-2819 [09:44:12:544] [01-01 00:00:04 ty D][lr:0x8118446] bt init... [09:44:12:544] [01-01 00:00:04 ty D][lr:0x811805c] get_wifi_list eanbled [09:44:12:549] [01-01 00:00:04 ty D][lr:0x811807e] get_netcfg_stat eanbled [09:44:12:554] [01-01 00:00:04 ty D][lr:0x81180a0] get_dev_log eanbled [09:44:12:558] [01-01 00:00:04 ty D][lr:0x81180c0] get_ap_name eanbled [09:44:12:564] [01-01 00:00:04 ty D][lr:0x8124c88] protected read [gw_wsm] [09:44:12:575] [01-01 00:00:04 ty D][lr:0x8124cee] protected read ret:0 length:141 [09:44:12:581] [01-01 00:00:04 ty D][lr:0x80f5ab2] gw_wsm read ret:0 [09:44:12:587] [01-01 00:00:04 ty E][lr:0x80ff490] read wf start mode err:-6 [09:44:12:588] [01-01 00:00:04 ty D][lr:0x80ff4a4] <__gw_upd_nc_type> wf start mode change:-6, 0->4 [09:44:12:597] [01-01 00:00:04 ty N][lr:0x811d854] Last reset reason: 0 [09:44:12:602] [01-01 00:00:04 ty D][lr:0x8124c88] protected read [gw_bi] [09:44:12:611] [01-01 00:00:04 ty D][lr:0x8124cee] protected read ret:0 length:234 [09:44:12:614] [01-01 00:00:04 ty D][lr:0x80f5cd6] gw_bi read ret:0 [09:44:12:619] [01-01 00:00:04 ty D][lr:0x8124c88] protected read [gw_wsm] [09:44:12:631] [01-01 00:00:04 ty D][lr:0x8124cee] protected read ret:0 length:141 [09:44:12:633] [01-01 00:00:04 ty D][lr:0x80f5ab2] gw_wsm read ret:0 [09:44:12:639] [01-01 00:00:04 ty N][lr:0x811d0ae] gw_cntl->gw_wsm.stat:0 [09:44:12:644] [01-01 00:00:04 ty E][lr:0x80f1976] kvs_read fails gw_di -6 [09:44:12:655] [01-01 00:00:04 ty D][lr:0x80f5fa2] gw_di read ret:-6 [09:44:12:655] [01-01 00:00:04 ty E][lr:0x811d0e4] desc read err:-6 [09:44:12:660] [01-01 00:00:04 ty E][tuya_svc_devos.c:549] ret:-6 [09:44:12:666] [01-01 00:00:04 ty N][lr:0x811d8a6] enter reset factory [09:44:12:671] [01-01 00:00:04 ty E][lr:0x80f1976] kvs_read fails gw_di -6 [09:44:12:676] [01-01 00:00:04 ty D][lr:0x80f5fa2] gw_di read ret:-6 [09:44:12:793] [01-01 00:00:04 ty D][lr:0x80f5fa2] gw_di write ret:0 [09:44:12:798] [01-01 00:00:04 ty E][lr:0x80f1976] kvs_read fails gw_ai -6 [09:44:12:807] [01-01 00:00:04 ty D][lr:0x80f5826] gw_ai read ret:-6 [09:44:12:915] [01-01 00:00:04 ty D][lr:0x80f5826] gw_ai write ret:0 [09:44:12:920] [01-01 00:00:04 ty D][lr:0x80fc5d6] fast connect mode:0 [09:44:12:929] [01-01 00:00:04 ty D][lr:0x80fc60a] del fast info success [09:44:12:934] [01-01 00:00:04 ty D][lr:0x81127d6] astro timer reset:0 [09:44:12:939] [01-01 00:00:04 ty D][lr:0x8124d4c] protected write [gw_wsm][141] [09:44:13:054] [01-01 00:00:04 ty D][lr:0x8124e50] protected write ret:0 [09:44:13:273] [01-01 00:00:04 ty D][lr:0x80f5ab2] gw_wsm write ret:0 [09:44:13:278] [01-01 00:00:04 ty W][tuya_app_main.c:93] SOC TUYA-Cloud Status:2 [09:44:13:287] [01-01 00:00:04 ty N][lr:0x811db8e] enter success_proc [09:44:13:292] [01-01 00:00:04 ty N][lr:0x811dbac] serial_no:76baed200059 [09:44:13:297] [01-01 00:00:04 ty D][lr:0x80f6402] timer ID:537064408 [09:44:13:301] [01-01 00:00:04 ty D][lr:0x80f1b62] rcs.active not found in kv, read from protected [09:44:13:307] [01-01 00:00:04 ty D][lr:0x8124c88] protected read [rcs.active] [09:44:13:319] [01-01 00:00:04 ty D][lr:0x8124cee] protected read ret:4 length:0 [09:44:13:321] [01-01 00:00:04 ty D][lr:0x80f1b62] rcs.mf not found in kv, read from protected [09:44:13:328] [01-01 00:00:04 ty D][lr:0x8124c88] protected read [rcs.mf] [09:44:13:339] [01-01 00:00:04 ty D][lr:0x8124cee] protected read ret:4 length:0 [09:44:13:342] [01-01 00:00:04 ty D][lr:0x8110918] use default rcs [-6] [09:44:13:347] [01-01 00:00:04 ty D][lr:0x810ebec] load tls_ca_cnt fail. no ca in local db [09:44:13:359] [01-01 00:00:04 ty D][lr:0x810e558] psk key was 1.0 [09:44:13:359] [01-01 00:00:04 ty D][lr:0x810f05a] cert manager init [09:44:13:364] [01-01 00:00:04 ty D][lr:0x80f4a82] tuya svc upgrade init success! [09:44:13:370] [01-01 00:00:04 ty D][lr:0x810fdf2] meta in kv {"metas":{}} [09:44:13:375] [01-01 00:00:04 ty D][lr:0x80f8074] register wifi network monitor. interval:1 [09:44:13:382] [01-01 00:00:04 ty I][tal_thread.c:184] thread_create name:led_task,stackDepth:2048,totalstackDepth:21504,priority:0 [09:44:13:392] [01-01 00:00:04 ty I][tal_thread.c:184] thread_create name:key_task,stackDepth:2048,totalstackDepth:23552,priority:0 [09:44:13:403] [01-01 00:00:04 ty D][tal_thread.c:244] Del Thrd:tuya_app_main [09:44:13:408] [01-01 00:00:04 ty D][lr:0x811ddbe] state change from 0 to 1 [09:44:13:414] [01-01 00:00:04 ty E][lr:0x80ff490] read wf start mode err:-6 [09:44:13:420] [01-01 00:00:05 ty D][lr:0x80ff4a4] <__gw_upd_nc_type> wf start mode change:-6, 0->4 [09:44:13:427] [01-01 00:00:05 ty D][tal_thread.c:219] Thread:tuya_app_main Exec Finish. Set to Del Stat [09:44:13:435] [01-01 00:00:05 ty D][tal_thread.c:95] del list not empty...deleting 0x2002a7ac, next 0x2002a708 [09:44:13:444] [01-01 00:00:05 ty D][tal_thread.c:103] Final Free Thread:tuya_app_main, is_self:1 [09:44:13:452] [01-01 00:00:05 ty D][tal_thread.c:107] delay to delete thread self [09:44:13:458] [01-01 00:00:05 ty D][tal_thread.c:118] finally delete thread self [09:44:13:463] [01-01 00:00:05 ty D][tal_thread.c:73] real delete thread:0x2002b7c8 [09:44:13:475] [01-01 00:00:05 ty D][tal_thread.c:203] Thread:wq_system Exec Start. Set to Running Stat [09:44:13:483] [01-01 00:00:05 ty D][lr:0x80ff32e] reset init mthd:0, short timer:0 long timer:0 [09:44:13:486] [01-01 00:00:05 ty D][lr:0x80ff84a] do proxy actived work,mode:1,stat:0,nc_tp:10 [09:44:13:495] [01-01 00:00:05 ty D][lr:0x80ffb20] nc_tp:10, md:0 [09:44:13:501] [01-01 00:00:05 ty D][lr:0x80fa22a] type:0x10020,is_set:0 [09:44:13:507] [01-01 00:00:05 ty D][lr:0x80fa22a] type:0x10100,is_set:0 [09:44:13:513] [01-01 00:00:05 ty D][lr:0x80fa22a] type:0x10020,is_set:1 [09:44:13:513] [01-01 00:00:05 ty D][lr:0x80fbc18] get work mode:1 [09:44:13:520] [01-01 00:00:05 ty D][lr:0x80fbc3a] start ap netcfg, wk_md:3 [09:44:13:525] [01-01 00:00:05 ty D][lr:0x80ffa94] start ap success:SmartLife-0059 [09:44:13:536] [01-01 00:00:05 ty D][lr:0x80fa22a] type:0x10020,is_set:0 [09:44:13:536] [01-01 00:00:05 ty D][lr:0x80fa22a] type:0x10100,is_set:0 [09:44:13:541] [01-01 00:00:05 ty D][lr:0x80fa22a] type:0x10020,is_set:0 [09:44:13:546] [01-01 00:00:05 ty D][lr:0x80fa22a] type:0x10100,is_set:0 [09:44:13:551] [01-01 00:00:05 ty D][lr:0x80fa38e] netcfg module start type:0x10100 [09:44:13:562] [01-01 00:00:05 ty N][lr:0x80ff1d2] timer stated, short timer:0x0, long timer:0x0 [09:44:13:574] [01-01 00:00:05 ty D][lr:0x80ffdd4] nc_tp:10, md:0 [09:44:13:574] [01-01 00:00:05 ty N][lr:0x811824a] bt startup attr:ff [09:44:13:581] [01-01 00:00:05 ty D][lr:0x811825e] bt link open [09:44:13:581] [01-01 00:00:05 ty N][lr:0x811718c] upd product_id type:0 uiiyltkjmkhwumga [09:44:13:586] [01-01 00:00:05 ty D][lr:0x8127dd4] read encrpt flag from flash: 0. [09:44:13:592] f:tkl_ble_gap_callback_register [09:44:13:598] f:tkl_ble_gatt_callback_register [09:44:13:598] f:tkl_ble_gatts_service_add [09:44:13:604] [01-01 00:00:05 ty D][lr:0x8117ac0] rev ble event 1 [09:44:13:610] [01-01 00:00:05 ty D][lr:0x8117a88] set ble serv stat:0, curr:0 [09:44:13:616] ftkl_ble_stack_init:role:3 [09:44:13:616] [01-01 00:00:05 ty D][lr:0x8117052] start ble monitor [09:44:13:621] [01-01 00:00:05 ty N][lr:0x8117152] ty bt sdk init success finish [09:44:13:626] [01-01 00:00:05 ty D][lr:0x81194c4] net_cfg sub session created [09:44:13:631] [01-01 00:00:05 ty D][lr:0x8117fe4] get_wifi_list sub session created [09:44:13:636] [01-01 00:00:05 ty D][lr:0x80f72f0] feed watchdog [09:44:13:642] [01-01 00:00:05 ty D][lr:0x8117ffe] get_netcfg_stat sub session created [09:44:13:648] [01-01 00:00:05 ty D][lr:0x8118018] get_dev_log sub session created [09:44:13:654] [01-01 00:00:05 ty D][lr:0x8118032] get_ap_name sub session created [09:44:13:660] [01-01 00:00:05 ty D][lr:0x811b9b4] net_active sub session created [09:44:13:666] [01-01 00:00:05 ty D][lr:0x8117fe4] get_wifi_list sub session created [09:44:13:672] [01-01 00:00:05 ty D][lr:0x8117ffe] get_netcfg_stat sub session created [09:44:13:683] [01-01 00:00:05 ty D][lr:0x8118018] get_dev_log sub session created [09:44:13:689] [01-01 00:00:05 ty D][lr:0x8118032] get_ap_name sub session created [09:44:13:695] [01-01 00:00:05 ty E][lr:0x8126448] read timer_full_key failed [09:44:13:696] [01-01 00:00:05 ty D][lr:0x8126472] no timer [09:44:13:701] [01-01 00:00:05 ty D][lr:0x8126482] --- timer_cnt = 0 [09:44:13:705] [01-01 00:00:05 ty N][lr:0x811de8c] __devos_init_evt success [09:44:13:711] [01-01 00:00:05 ty D][lr:0x80fa1e2] start 0x10100 ret:0 [09:44:13:716] [01-01 00:00:05 ty D][lr:0x80fa38e] netcfg module start type:0x10020 [09:44:13:722] [01-01 00:00:05 ty D][lr:0x80ff6d4] nw cfg cb ret:0 [09:44:13:727] [01-01 00:00:05 ty D][lr:0x811696e] upd adv para, send conn_req beacon. [09:44:13:738] [01-01 00:00:05 ty D][tuya_ble_svc.c:113] adv_data 31 <0x20032a71> [09:44:13:739] 02 01 06 03 02 50 fd 17 16 50 fd 43 04 00 10 75 69 69 79 6c 74 6b 6a 6d 6b 68 77 75 6d 67 61 [09:44:13:747] [09:44:13:747] [01-01 00:00:05 ty D][tuya_ble_svc.c:113] rsp_data 31 <0x20032a91> [09:44:13:754] 17 ff d0 07 00 00 0c 09 0b 7a f9 55 4e 20 5b e9 78 ee 77 b1 bc 11 51 d7 06 09 54 55 59 41 5f [09:44:13:761] [09:44:13:766] [01-01 00:00:05 ty D][lr:0x8117372] ble get conn stat:4 [09:44:13:766] f:tkl_ble_gap_adv_stop [09:44:13:771] f:tkl_ble_gap_adv_rsp_data_set [09:44:13:777] [01-01 00:00:05 ty N][lr:0x81173c4] ble adv updated [09:44:13:777] [01-01 00:00:05 ty D][lr:0x80f9fec] ap cfg start:65568 [09:44:13:787] [01-01 00:00:05 ty D][lr:0x80f9f26] ap netcfg server ip:0.0.0.0 [09:44:13:792] [01-01 00:00:05 ty D][tal_thread.c:203] Thread:ap_tcp_v4 Exec Start. Set to Running Stat [09:44:13:800] [01-01 00:00:05 ty D][lr:0x80f9392] start TCP ap thread [09:44:13:809] [01-01 00:00:05 ty D][lr:0x80f94f2] Waiting for a remote connection [09:44:13:809] [01-01 00:00:05 ty I][tal_thread.c:184] thread_create name:ap_tcp_v4,stackDepth:3584,totalstackDepth:27136,priority:5 [09:44:13:818] [01-01 00:00:05 ty D][lr:0x80fa786] ----netcfgType:0x10020 [09:44:13:823] [01-01 00:00:05 ty D][lr:0x80fb2e4] ----register netcfgType:0x10020 [09:44:13:829] [01-01 00:00:05 ty D][lr:0x80fb0e6] ----start netcfgType:0x10020 [09:44:13:836] [01-01 00:00:05 ty E][lr:0x80fa63a] timer is not run,wait [09:44:13:841] [01-01 00:00:05 ty D][lr:0x80fa1e2] start 0x10020 ret:0 [09:44:13:847] [01-01 00:00:05 ty D][lr:0x811ed26] [1][49]:{"ts":5,"dt":1,"tp":0,"m":4,"sy":0,"du":0,"sp":1} [09:44:13:854] [01-01 00:00:05 ty D][lr:0x811ebd6] index:0 offset:-1, -2, -3, -4 [09:44:13:863] [01-01 00:00:05 ty E][lr:0x8128b66] uf_open ty_data_file err 8 [09:44:13:968] [01-01 00:00:05 ty D][lr:0x811ec16] first open data file ty_data_file [09:44:13:974] [01-01 00:00:05 ty D][lr:0x811ec38] [1]'s offset is update to 0 [09:44:13:983] [01-01 00:00:05 ty E][lr:0x811ea7e] read file ty_data_file 's data of len [0], wanted 1024 [09:44:13:989] [01-01 00:00:05 ty D][lr:0x811ede4] data file do NOT have the type 1 data, normally the first one [09:44:14:106] [01-01 00:00:05 ty D][lr:0x811ed92] available slot index:0, part index: 0, part offset:0 [09:44:14:283] [01-01 00:00:05 ty D][lr:0x811e9ca] before file_size:0, after file_size:1024 [09:44:14:289] [01-01 00:00:05 ty E][lr:0x811ee16] data update ret:0 [09:44:14:299] [01-01 00:00:05 ty D][lr:0x811ed26] [1][50]:{"ts":5,"dt":1,"tp":32,"m":4,"sy":0,"du":0,"sp":1} [09:44:14:305] [01-01 00:00:05 ty D][lr:0x811ebd6] index:0 offset:0, -2, -3, -4 [09:44:14:314] [01-01 00:00:05 ty D][lr:0x811ede4] read file ok at offset:0 [09:44:14:425] [01-01 00:00:06 ty D][lr:0x811ed92] available slot index:1, part index: 0, part offset:0 [09:44:14:598] [01-01 00:00:06 ty D][lr:0x811e9ca] before file_size:1024, after file_size:1024 [09:44:14:604] [01-01 00:00:06 ty E][lr:0x811ee16] data update ret:0 [09:44:14:612] handle_gatts_msg type 0 [09:44:14:617] adv state change 0x0 ==> 0x1, reason 0x0 [09:44:14:628] adv state change 0x1 ==> 0x1, reason 0x0 [09:44:14:634] adv state change 0x1 ==> 0x2, reason 0x0 [09:44:14:634] adv index 1 [09:44:14:640] adv state change 0x2 ==> 0x3, reason 0x0 [09:44:14:645] adv state change 0x3 ==> 0x4, reason 0x0 [09:44:14:651] adv state change 0x4 ==> 0x2, reason 0x0 [09:44:14:656] [01-01 00:00:06 ty Dadv state change 0x2 ==> 0x6, reason 0x0 [09:44:14:662] ][tal_thread.c:203] Thread:key_task Exec Start. Set to Running Stat [09:44:14:667] [01-01 00:00:06 ty D][tal_thread.c:203] Thread:led_task Exec Start. Set to Running Stat [09:44:14:820] [01-01 00:00:06 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:44:15:823] [01-01 00:00:07 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:44:16:826] [01-01 00:00:08 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:44:17:830] [01-01 00:00:09 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:44:18:833] [01-01 00:00:10 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:44:19:837] [01-01 00:00:11 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:44:20:840] [01-01 00:00:12 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:44:21:843] [01-01 00:00:13 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:44:22:846] [01-01 00:00:14 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:44:23:672] [01-01 00:00:15 ty D][lr:0x80f72f0] feed watchdog [09:44:23:849] [01-01 00:00:15 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:44:24:853] [01-01 00:00:16 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:44:25:856] [01-01 00:00:17 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:44:26:859] [01-01 00:00:18 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:44:27:863] [01-01 00:00:19 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:44:28:865] [01-01 00:00:20 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:44:29:869] [01-01 00:00:21 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:44:30:873] [01-01 00:00:22 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:44:31:876] [01-01 00:00:23 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:44:32:880] [01-01 00:00:24 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:44:33:707] [01-01 00:00:25 ty D][lr:0x80f72f0] feed watchdog [09:44:33:883] [01-01 00:00:25 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:44:34:886] [01-01 00:00:26 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:44:35:889] [01-01 00:00:27 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:44:36:892] [01-01 00:00:28 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:44:37:896] [01-01 00:00:29 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:44:38:899] [01-01 00:00:30 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:44:39:903] [01-01 00:00:31 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:44:40:907] [01-01 00:00:32 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:44:41:910] [01-01 00:00:33 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:44:42:913] [01-01 00:00:34 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:44:43:394] [01-01 00:00:34 ty D][lr:0x80f6232] set time by rtc [09:44:43:746] [01-01 00:00:41 ty D][lr:0x80f72f0] feed watchdog [09:44:43:917] [01-01 00:00:41 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:44:44:919] [01-01 00:00:42 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:44:45:923] [01-01 00:00:43 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:44:46:927] [01-01 00:00:44 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:44:47:931] [01-01 00:00:45 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:44:48:936] [01-01 00:00:46 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:44:49:940] [01-01 00:00:47 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:44:50:943] [01-01 00:00:48 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:44:51:945] [01-01 00:00:49 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:44:52:948] [01-01 00:00:50 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:44:53:783] [01-01 00:00:51 ty D][lr:0x80f72f0] feed watchdog [09:44:53:949] [01-01 00:00:51 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:44:54:953] [01-01 00:00:52 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:44:55:955] [01-01 00:00:53 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:44:56:960] [01-01 00:00:54 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:44:57:964] [01-01 00:00:55 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:44:58:968] [01-01 00:00:56 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:44:59:971] [01-01 00:00:57 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:45:00:973] [01-01 00:00:58 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:45:01:975] [01-01 00:00:59 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:45:02:978] [01-01 00:01:00 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:45:03:821] [01-01 00:01:01 ty D][lr:0x80f72f0] feed watchdog [09:45:03:983] [01-01 00:01:01 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:45:04:986] [01-01 00:01:02 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:45:05:989] [01-01 00:01:03 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:45:06:993] [01-01 00:01:04 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:45:07:995] [01-01 00:01:05 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:45:08:997] [01-01 00:01:06 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:45:10:001] [01-01 00:01:07 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:45:11:004] [01-01 00:01:08 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:45:12:008] [01-01 00:01:09 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:45:13:011] [01-01 00:01:10 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:45:13:494] [01-01 00:01:10 ty D][lr:0x80f6232] set time by rtc [09:45:13:856] [01-01 00:01:29 ty D][lr:0x80f72f0] feed watchdog [09:45:14:015] [01-01 00:01:29 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:45:15:019] [01-01 00:01:30 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:45:16:022] [01-01 00:01:31 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:45:17:026] [01-01 00:01:32 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:45:18:030] [01-01 00:01:33 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:45:19:034] [01-01 00:01:34 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:45:20:037] [01-01 00:01:35 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:45:21:040] [01-01 00:01:36 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:45:22:043] [01-01 00:01:37 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:45:23:047] [01-01 00:01:38 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:45:23:895] [01-01 00:01:39 ty D][lr:0x80f72f0] feed watchdog [09:45:24:050] [01-01 00:01:39 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:45:25:055] [01-01 00:01:40 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:45:26:057] [01-01 00:01:41 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:45:27:061] [01-01 00:01:42 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:45:28:064] [01-01 00:01:43 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:45:29:066] [01-01 00:01:44 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:45:30:071] [01-01 00:01:45 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:45:31:074] [01-01 00:01:46 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:45:32:077] [01-01 00:01:47 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27 [09:45:33:081] [01-01 00:01:48 ty E][lr:0x80f8c2e] sendto broadcast Failed,len:289 ret:-1,errno:-27