[17:56:24:691] ALW: MBL: First print. [17:56:24:698] ALW: MBL: Boot from Image 0. [17:56:24:698] ALW: MBL: Validate Image 0 OK. [17:56:24:698] ALW: MBL: Jump to Main Image (0x0800a000). [17:56:24:698] Build date: 2023/11/03 16:42:49 [17:56:24:707] === RF initialization finished === [17:56:24:786] === WiFi calibration done === [17:56:24:786] === PHY initialization finished === [17:56:24:824] === Adapter enable success === [17:56:24:824] === Tuya BLE Adapter enable complete === [17:56:24:831] [17:56:24:831] coex_reg:0x0110001d [17:56:24:831] coex_reg:0x0010001d [17:56:24:831] [17:56:24:831] [01-01 00:00:00 ty D][tal_thread.c:203] Thread:sys_timer Exec Start. Set to Running Stat [17:56:24:831] [01-01 00:00:00 ty I][tal_thread.c:184] thread_create name:sys_timer,stackDepth:4096,totalstackDepth:4096,priority:5 [17:56:24:831] [01-01 00:00:00 ty I][tal_thread.c:184] thread_create name:wq_system,stackDepth:5120,totalstackDepth:9216,priority:3 [17:56:24:839] [01-01 00:00:00 ty I][tal_thread.c:184] thread_create name:wq_highpri,stackDepth:4096,totalstackDepth:13312,priority:4 [17:56:24:839] [01-01 00:00:00 ty D][tal_thread.c:203] Thread:wq_highpri Exec Starttkl_wifi_init [17:56:24:839] . Set to Running Stat [17:56:24:839] [01-01 00:00:00 ty D][lr:0x810130e] add new node,type:0 [17:56:24:839] [01-01 00:00:00 ty D][lr:0x810130e] add new node,type:1 [17:56:24:839] [01-01 00:00:00 ty D][lr:0x810130e] add new node,type:2 [17:56:24:839] [01-01 00:00:00 ty D][lr:0x810130e] add new node,type:3 [17:56:24:846] [01-01 00:00:00 ty D][lr:0x810130e] add new node,type:4 [17:56:24:846] [01-01 00:00:00 ty D][lr:0x810130e] add new node,type:5 [17:56:24:846] [01-01 00:00:00 ty D][lr:0x810130e] add new node,type:6 [17:56:24:846] [01-01 00:00:00 ty D][lr:0x810130e] add new node,type:7 [17:56:24:846] [01-01 00:00:00 ty D][lr:0x810130e] add new node,type:8 [17:56:24:846] [01-01 00:00:00 ty D][lr:0x810152c] init watchdog, interval: 60 [17:56:24:846] tkl_watchdog_init [17:56:24:853] [01-01 00:00:00 ty D][lr:0x8101388] update type:7,period:10 [17:56:24:853] [01-01 00:00:00 ty D][lr:0x8101566] watch_dog_interval:60, monitor_detect_interval:600 [17:56:24:853] [01-01 00:00:00 ty D][tal_thread.c:203] Thread:health_monitor Exec Start. Set to Running Stat [17:56:24:853] [01-01 00:00:00 ty I][tal_thread.c:184] thread_create name:health_monitor,stackDepth:2048,totalstackDepth:15360,priority:5 [17:56:24:853] [01-01 00:00:00 ty I][lr:0x80f0710] mqc app init ... [17:56:24:853] [01-01 00:00:00 ty D][lr:0x80f05fa] mq_pro:5 cnt:1 [17:56:24:860] [01-01 00:00:00 ty D][lr:0x80f05fa] mq_pro:31 cnt:2 [17:56:24:860] [01-01 00:00:00 ty D][lr:0x8124358] svc online log init success [17:56:24:860] [01-01 00:00:00 ty D][lr:0x80efe66] read m:1 f:0 l:0 [17:56:24:860] [01-01 00:00:00 ty W][tuya_device.c:67] < TuyaOS V:3.8.1 BS:40.00_PT:2.3_LAN:3.5_CAD:1.0.5_CD:1.0.0 > [17:56:24:860] < BUILD AT:2023_09_13_20_26_09 BY ci_manage FOR tuyaos-iot AT gd32vw553 > [17:56:24:869] IOT DEFS < WIFI_GW:1 DEBUG:1 KV_FILE:0 LITTLE_END:1 SL:0 OPERATING_SYSTEM:98 RELIABLE_TRANSFER:0 > [17:56:24:869] [17:56:24:869] [01-01 00:00:00 ty W][tuya_device.c:68] reset_reason:0 [17:56:24:869] [01-01 00:00:00 ty W][tuya_device.c:69] tuyaos_wf_common_test-tuyaos_wf_common_test_gd32vw553:1.0.0 [17:56:24:869] [01-01 00:00:00 ty D][lr:0x80e91cc] init fs. Path: null [17:56:24:869] [01-01 00:00:00 ty D][lr:0x811ffd0] *****************kvs_init. [17:56:24:869] [01-01 00:00:00 ty D][lr:0x812cd0a] protected init. addr:0x003f9000 [17:56:24:885] [01-01 00:00:00 ty D][lr:0x812cb74] init protected data length 611 [17:56:24:894] [01-01 00:00:00 ty N][lr:0x8122812] key_addr: 0x3f0000 block_sz 4096 [17:56:24:905] [01-01 00:00:00 ty N][lr:0x812291e] get key: [17:56:24:913] 0x29 0x8f 0x16 0x18 0xdf 0x2f 0xea 0xe8 0x80 0xb8 0x6 0x3 0xfe 0x46 0x6c 0xba [17:56:24:913] [01-01 00:00:00 ty D][lr:0x812cd2a] protected verify begin [17:56:24:943] [01-01 00:00:00 ty D][lr:0x812cd88] check [gw_bi][269] [17:56:24:943] [01-01 00:00:00 ty D][lr:0x812cd88] check [rcs.active][55] [17:56:24:957] [01-01 00:00:00 ty D][lr:0x812cd88] check [gw_wsm][179] [17:56:24:957] [01-01 00:00:00 ty D][lr:0x812cd68] protected verify end [17:56:24:957] [01-01 00:00:00 ty D][lr:0x8121968] begin try update kv version [17:56:25:382] [01-01 00:00:00 ty D][lr:0x8121984] pre kv version is 2 [17:56:25:562] [01-01 00:00:00 ty D][lr:0x8122e58] 111 k=4 i=9 6 [17:56:25:844] [01-01 00:00:01 ty N][lr:0x80eecb8] uni_random_init... [17:56:26:126] [01-01 00:00:01 ty N][lr:0x80eefe8] tuya_tls_rand_init ok! [17:56:26:139] [01-01 00:00:01 ty D][lr:0x812cefe] protected read [gw_bi] [17:56:26:168] [01-01 00:00:01 ty D][lr:0x812cf64] protected read ret:0 length:269 [17:56:26:182] [01-01 00:00:01 ty D][lr:0x80fe2b6] gw_bi read ret:0 [17:56:26:182] [01-01 00:00:01 ty D][lr:0x812cefe] protected read [gw_wsm] [17:56:26:208] [01-01 00:00:01 ty D][lr:0x812cf64] protected read ret:0 length:179 [17:56:26:222] [01-01 00:00:01 ty D][lr:0x80fe092] gw_wsm read ret:0 [17:56:26:222] [01-01 00:00:01 ty N][lr:0x80fcb92] gw_cntl->gw_wsm.stat:2 [17:56:26:222] [01-01 00:00:01 ty D][lr:0x80fe582] gw_di read ret:0 [17:56:26:234] [01-01 00:00:01 ty D][lr:0x80fde06] gw_ai read ret:0 [17:56:26:234] [01-01 00:00:01 ty D][lr:0x80ee8be] cache dns [http://a.tuyacn.com/d.json]<->[42.192.25.216] [17:56:26:234] [01-01 00:00:01 ty D][lr:0x80ee8be] cache dns [https://a3.tuyacn.com/d.json]<->[81.69.183.170] [17:56:26:234] [01-01 00:00:01 ty D][lr:0x80ee8be] cache dns [m2.tuyacn.com:1883]<->[42.192.31.13] [17:56:26:234] [01-01 00:00:01 ty D][lr:0x80ee8be] cache dns [m3.tuyacn.com:8886]<->[121.5.96.27] [17:56:26:234] [01-01 00:00:01 ty D][lr:0x80ee8be] cache dns [baal.tuyacn.com:443]<->[42.192.35.108] [17:56:26:246] [01-01 00:00:01 ty D][lr:0x812cefe] protected read [rcs.active] [17:56:26:270] [01-01 00:00:01 ty D][lr:0x812cf64] protected read ret:0 length:55 [17:56:26:283] [01-01 00:00:01 ty D][lr:0x80edaac] tls_ca_cnt:0 and parse:0 [17:56:26:283] [01-01 00:00:01 ty D][lr:0x80ed3da] psk key was 2.0 [17:56:26:283] [01-01 00:00:01 ty D][lr:0x80ed276] psk_id len:49 [17:56:26:283] [01-01 00:00:01 ty D][tuya_cert_manager.c:898] psk_id_arr 49 <0x200300c0> [17:56:26:283] 02 5d 29 8c 25 78 c1 97 7a 4e be 7e 7f 53 6b a0 09 6d 20 f5 a1 e0 4d 7c 40 c5 d3 f4 3f 2f 33 f4 59 67 69 3e 4b 43 2e 2f ce 5f e4 33 f5 c0 1d 1c fe [17:56:26:283] [17:56:26:283] [01-01 00:00:01 ty D][lr:0x80edef0] cert manager init [17:56:26:283] [01-01 00:00:01 ty D][lr:0x8112a32] set station. [17:56:26:283] tkl_wifi_set_country_code [17:56:26:283] [01-01 00:00:01 ty D][lr:0x81129ea] ap_info_v2 read success [17:56:26:295] tkl_wifi_set_work_mode [17:56:26:295] WIFI_MGMT: vif 0 switch mode, received message: (0:6:1:0:0) [17:56:26:295] WIFI_MGMT: vif 0 switch mode from 3 to 1. [17:56:26:295] WIFI_MGMT: MAINTAIN_CONNECTION entering state IDLE [17:56:26:295] tkl_wifi_station_fast_connect [17:56:26:295] WIFI_MGMT: vif 0 STA received message: (0:10:0:200302a0:124) [17:56:26:295] WIFI_MGMT: MAINTAIN_CONNECTION entering state SCAN [17:56:26:295] WIFI_MGMT: vif 0 stay in the state 1 upon the event (10:0) [17:56:26:295] [01-01 00:00:01 ty D][tal_thread.c:203] Thread:wq_system Exec Start. Set to Running Stat [17:56:26:295] [01-01 00:00:01 ty D][lr:0x8100400] [2][37]:{"ts":1,"dt":2,"tp":0,"du":0,"re":10} [17:56:26:306] [01-01 00:00:01 ty D][lr:0x8100278] read tuya dev data's offset len:16 ok [17:56:26:306] [01-01 00:00:01 ty D][lr:0x81004be] read file ok at offset:1024 [17:56:26:306] [01-01 00:00:01 ty D][lr:0x81001ae] read tuya dev data's index len:16 ok [17:56:26:585] [01-01 00:00:01 ty D][lr:0x810046c] available slot index:15, part index: 1, part offset:1024 [17:56:26:783] [01-01 00:00:01 ty D][lr:0x81000a4] before file_size:2048, after file_size:2048 [17:56:26:785] [01-01 00:00:01 ty E][lr:0x81004f0] data update ret:0 [17:56:27:130] WIFI_MGMT: vif 0 STA received message: (1:13:0:0:0) [17:56:27:131] WIFI_MGMT: MAINTAIN_CONNECTION entering state CONNECT [17:56:27:144] scan_res:ssid:Testing-WIFI [17:56:27:144] ret:0,result_cnt:1 [17:56:27:144] [0] (-41 dBm) CH= 1 BSSID=60:db:15:18:1c:86 SSID=Testing-WIFI [RSN:WPA-PSK CCMP/CCMP] [17:56:27:144] WIFI_MGMT: vif 0 stay in the state 2 upon the event (13:0) [17:56:27:212] WIFI_MGMT: vif 0 STA received message: (2:15:0:20028578:248) [17:56:27:212] WIFI_MGMT: vif 0 stay in the state 2 upon the event (15:0) [17:56:27:292] MAC: auth req send [17:56:27:305] MAC: auth rsp received, status = 0 [17:56:27:305] MAC: assoc req send [17:56:27:305] MAC: assoc rsp received, status = 0 [17:56:27:305] WIFI_MGMT: vif 0 STA received message: (2:17:0:20028578:237) [17:56:27:305] WIFI_MGMT: MAINTAIN_CONNECTION entering state HANDSHAKE [17:56:28:359] WIFI_MGMT: vif 0 stay in the state 3 upon the event (17:0) [17:56:28:360] WIFI_MGMT: vif 0 STA received message: (3:8:0:200289b0:113) [17:56:28:375] WPA: 4-1 received [17:56:28:375] WPA: 4-2 send [17:56:28:375] WIFI_MGMT: vif 0 stay in the state 3 upon the event (8:0) [17:56:28:375] WIFI_MGMT: vif 0 STA received message: (3:8:0:20028578:193) [17:56:28:375] WPA: 4-3 received [17:56:28:375] WPA: 4-4 send [17:56:28:375] WIFI_MGMT: vif 0 stay in the state 3 upon the event (8:0) [17:56:28:375] WIFI_MGMT: vif 0 STA received message: (3:18:0:0:0) [17:56:28:385] WIFI_MGMT: MAINTAIN_CONNECTION entering state DHCP [17:56:28:385] WIFI_MGMT: start polling DHCP status [17:56:28:385] WIFI_MGMT: vif 0 stay in the state 4 upon the event (18:0) [17:56:28:478] WIFI_MGMT: DHCP got ip 192.168.1.6 [17:56:28:490] WIFI_MGMT: vif 0 STA received message: (4:19:0:0:0) [17:56:28:490] WIFI_MGMT: MAINTAIN_CONNECTION entering state CONNECTED [17:56:28:490] WIFI_MGMT: start polling link status [17:56:28:490] WIFI_MGMT: vif 0 stay in the state 5 upon the event (19:0) [17:56:28:490] --------------------------connect success [17:56:28:490] [01-01 00:00:03 ty D][lr:0x8112b36] fast connect mode:1 [17:56:28:490] [01-01 00:00:03 ty D][lr:0x8112b48] wf fast connect succ. [17:56:28:490] [01-01 00:00:03 ty N][lr:0x80fa190] wifi status changed to 0, stat: 0 [17:56:28:490] [01-01 00:00:03 ty D][lr:0x80fd9e0] set netcfgstat, stage:2, status:0 [17:56:28:490] [01-01 00:00:03 ty D][lr:0x80f390a] ble get conn stat:4 [17:56:28:490] [01-01 00:00:03 ty D][lr:0x81120a8] stat:6 [17:56:28:490] [01-01 00:00:03 ty D][lr:0x811a6ce] link[2] is_up[1] active_link[1] status[0] [17:56:28:503] [01-01 00:00:03 ty E][tuya_svc_mqtt_client.c:1398] handle null [17:56:28:503] [01-01 00:00:03 ty I][lr:0x80f07f0] mqc app start ... [17:56:28:503] [01-01 00:00:03 ty D][lr:0x80f0846] MQTT Protocol URL:m3.tuyacn.com:8886 Port:8886 [17:56:28:503] [01-01 00:00:03 ty I][tal_thread.c:184] thread_create name:mqtt_thread,stackDepth:4096,totalstackDepth:19456,priority:4 [17:56:28:503] [01-01 00:00:03 ty D][lr:0x80f097e] mqtt send topic:smart/device/out/6cb0bd2748c0f9c32c2uza [17:56:28:503] [01-01 00:00:03 ty D][lr:0x80f09a8] mqtt-media send topic:d/m/o/6cb0bd2748c0f9c32c2uza [17:56:28:503] [01-01 00:00:03 ty N][lr:0x80f100a] [mqtts://m3.tuyacn.com:8886] mqtt state change 0 -> 1 [17:56:28:503] [01-01 00:00:03 ty D][tal_thread.c:203] Thread:mqtt_thread Exec Start. Set to Running Stat [17:56:28:503] [01-01 00:00:03 ty N][lr:0x80f1626] connect to mqtt broker mqtts://m3.tuyacn.com:8886 port 8886 [17:56:28:503] [01-01 00:00:03 ty D][lr:0x80f05fa] mq_pro:64 cnt:3 [17:56:28:515] [01-01 00:00:03 ty D][lr:0x80f05fa] mq_pro:19 cnt:4 [17:56:28:515] [01-01 00:00:03 ty D][lr:0x80f05fa] mq_pro:22 cnt:5 [17:56:28:515] [01-01 00:00:03 ty D][lr:0x80f05fa] mq_pro:55 cnt:6 [17:56:28:515] [01-01 00:00:03 ty N][lr:0x8113264] cur stat:6 0x0 -->> [17:56:28:515] tkl_wifi_station_get_conn_ap_rssi [17:56:28:515] [01-01 00:00:03 ty D][lr:0x8111ef2] Get Rssi:-36 [17:56:28:515] [01-01 00:00:03 ty N][lr:0x80f1674] mqtt client ip:192.168.1.6 [17:56:28:515] [01-01 00:00:03 ty D][lr:0x8100400] [6][37]:{"ts":3,"dt":6,"tp":10,"s":6,"r":-36} [17:56:28:515] [01-01 00:00:03 ty D][lr:0x81002b0] index:1 offset:1024, 0, -3, -4 [17:56:28:515] [01-01 00:00:03 ty D][lr:0x80ee9f6] unw_gethostbyname m3.tuyacn.com, prio 1 [17:56:28:525] [01-01 00:00:03 ty D][lr:0x80eea70] use dynamic dns ip:121.5.96.27 for domain:m3.tuyacn.com [17:56:28:525] ----------------------[01-01 00:00:03 ty D][lr:0x81004be] read file ok at offbind:fd:1,port:0x2077,ip:192.168.1.6 [17:56:28:525] set:0 [17:56:28:525] [01-01 00:00:03 ty D][lr:0x812cefe] protected read [gw_bi] [17:56:28:525] [01-01 00:00:03 ty D][lr:0x81279ae] bind ip:c0a80106 port:30496 ok [17:56:28:525] ----------------------connect:fd:1,port:0xb622,ip:121.5.96.27 [17:56:28:542] [01-01 00:00:03 ty D][lr:0x80ef20e] MAX SECURITY_LEVEL:0, TUYA SECURITY_LEVEL:0, mode:0 [17:56:28:555] [01-01 00:00:03 ty D][lr:0x80ef238] TUYA_TLS Begin Connect m3.tuyacn.com:8886 [17:56:28:555] [01-01 00:00:03 ty D][lr:0x80ef2ca] TUYA_TLS PSK Mode [17:56:28:555] [01-01 00:00:03 ty D][lr:0x80ef376] socket fd is set. set to inner send/recv to handshake [17:56:28:581] [01-01 00:00:03 ty D][lr:0x812cf64] protected read ret:0 length:269 [17:56:28:596] [01-01 00:00:03 ty D][lr:0x80fe2b6] gw_bi read ret:0 [17:56:28:596] [01-01 00:00:03 ty W][tuya_app_main.c:221] device_init in [17:56:28:596] [01-01 00:00:03 ty I][tal_thread.c:184] thread_create name:gfw_core,stackDepth:3072,totalstackDepth:22528,priority:3 [17:56:28:659] [01-01 00:00:03 ty D][lr:0x80ef396] handshake finish for m3.tuyacn.com. set send/recv to user set [17:56:28:660] [01-01 00:00:03 ty D][lr:0x80ef3c0] TUYA_TLS Success Connect m3.tuyacn.com:8886 Suit:TLS-PSK-WITH-AES-128-CBC-SHA256 [17:56:28:674] [01-01 00:00:03 ty N][lr:0x80f17b0] setup mqtt transporter success [17:56:28:674] [01-01 00:00:03 ty N][lr:0x80f100a] [mqtts://m3.tuyacn.com:8886] mqtt state change 1 -> 2 [17:56:28:674] [01-01 00:00:03 ty N][lr:0x80f1860] send mqtt connect success [17:56:28:684] [01-01 00:00:03 ty N][lr:0x80f100a] [mqtts://m3.tuyacn.com:8886] mqtt state change 2 -> 3 [17:56:28:698] [01-01 00:00:03 ty N][lr:0x80f18d6] mqtt connect success [17:56:28:700] [01-01 00:00:03 ty N][lr:0x80f100a] [mqtts://m3.tuyacn.com:8886] mqtt state change 3 -> 4 [17:56:28:713] [01-01 00:00:03 ty N][lr:0x80f1948] mqtt topics cnt 1 [17:56:28:900] [01-01 00:00:03 ty D][lr:0x810046c] available slot index:1, part index: 0, part offset:0 [17:56:29:094] [01-01 00:00:03 ty D][lr:0x81000a4] before file_size:2048, after file_size:2048 [17:56:29:094] [01-01 00:00:03 ty E][lr:0x81004f0] data update ret:0 [17:56:29:108] [01-01 00:00:03 ty N][lr:0x81132e0] wifi netstat changed to:6 -->> [17:56:29:108] [01-01 00:00:03 ty I][tal_thread.c:184] thread_create name:lan_sock_loop,stackDepth:4096,totalstackDepth:26624,priority:3 [17:56:29:108] [01-01 00:00:03 ty D][lr:0x812c078] init sock loop success [17:56:29:108] [01-01 00:00:03 ty D][lr:0x811a198] lan init success [17:56:29:108] tkl_wifi_get_connected_ap_info [17:56:29:108] [01-01 00:00:03 ty D][lr:0x81129ea] ap_info_v2 read success [17:56:29:108] [01-01 00:00:03 ty D][lr:0x80fa1ca] wifi connected in reday [17:56:29:108] [01-01 00:00:03 ty D][tal_thread.c:203] Thread:gfw_core Exec Start. Set to Running Stat [17:56:29:108] [01-01 00:00:03 ty D][tal_thread.c:203] Thread:lan_sock_loop Exec Start. Set to Running Stat [17:56:29:118] [01-01 00:00:03 ty N][lr:0x80e48ec] read baud rate 115200 [17:56:29:159] [01-01 00:00:03 ty D][lr:0x80e4c88] detect 115200 [17:56:29:260] [01-01 00:00:04 ty D][lr:0x80e4d8c] lock baud rate 115200 [17:56:29:523] [01-01 00:00:04 ty D][lr:0x80e59f2] prod:{"p":"jwvdz89069k0da7s","v":"1.0.0","m":0,"n":1,"low":0} [17:56:29:538] [01-01 00:00:04 ty D][tal_sleep.c:85] need not disable, cpu has been disabled [17:56:29:538] tkl_wifi_set_lp_mode,enable:0,dtim:0 [17:56:29:538] [01-01 00:00:04 ty D][tal_wifi.c:696] disable_cnt:1 [17:56:29:627] [01-01 00:00:04 ty D][lr:0x81124ea] tuya wifi link init mthd:0,wifi start mode:0, enable_station_ap:0 [17:56:29:640] [01-01 00:00:04 ty D][lr:0x812cefe] protected read [gw_wsm] [17:56:29:666] [01-01 00:00:04 ty D][lr:0x812cf64] protected read ret:0 length:179 [17:56:29:681] [01-01 00:00:04 ty D][lr:0x80fe092] gw_wsm read ret:0 [17:56:29:681] [01-01 00:00:04 ty N][lr:0x811257a] start wifi link params validate, nc_tp:9 md:3 [17:56:29:681] [01-01 00:00:04 ty N][lr:0x81125ee] gw_wsm.nc_tp:9 [17:56:29:681] [01-01 00:00:04 ty N][lr:0x81125fe] gw_wsm.md:3 [17:56:29:681] [01-01 00:00:04 ty D][lr:0x81297ce] bt init... [17:56:29:681] [01-01 00:00:04 ty D][lr:0x80f4658] get_wifi_list eanbled [17:56:29:681] [01-01 00:00:04 ty D][lr:0x80f467a] get_netcfg_stat eanbled [17:56:29:681] [01-01 00:00:04 ty D][lr:0x80f469c] get_dev_log eanbled [17:56:29:681] [01-01 00:00:04 ty D][lr:0x80f46bc] get_ap_name eanbled [17:56:29:681] [01-01 00:00:04 ty D][lr:0x812cefe] protected read [gw_wsm] [17:56:29:713] [01-01 00:00:04 ty D][lr:0x812cf64] protected read ret:0 length:179 [17:56:29:727] [01-01 00:00:04 ty D][lr:0x80fe092] gw_wsm read ret:0 [17:56:29:727] [01-01 00:00:04 ty N][lr:0x80fd338] Last reset reason: 0 [17:56:29:727] [01-01 00:00:04 ty D][lr:0x80fe582] gw_di read ret:0 [17:56:29:727] [01-01 00:00:04 ty D][lr:0x8102d5e] stride from flash: 0. [17:56:29:727] [01-01 00:00:04 ty D][lr:0x8102eb6] ver no change. [17:56:29:737] [01-01 00:00:04 ty N][lr:0x80fcc86] gw_cntl->gw_if.abi:0 input:0 [17:56:29:737] [01-01 00:00:04 ty N][lr:0x80fcc9a] gw_cntl->gw_if.product_key:jwvdz89069k0da7s, input:jwvdz89069k0da7s [17:56:29:737] [01-01 00:00:04 ty N][lr:0x80fccae] gw_cntl->gw_if.tp:9, input:9 [17:56:29:737] [01-01 00:00:04 ty N][lr:0x80fccc2] gw_cntl->gw_if.firmware_key:keyuc7csywgmedvr, input:keyuc7csywgmedvr [17:56:29:737] [01-01 00:00:04 ty D][lr:0x80fe5fc] schema ez2tuc read success [17:56:29:746] [01-01 00:00:04 ty D][lr:0x80ff13e] create dev_cntl Success [17:56:29:746] [01-01 00:00:04 ty N][lr:0x80fd672] enter success_proc [17:56:29:746] tkl_wifi_get_mac [17:56:29:746] [01-01 00:00:04 ty N][lr:0x80fd690] serial_no:7abcde000102 [17:56:29:746] [01-01 00:00:04 ty D][lr:0x80fe9e2] timer ID:537044240 [17:56:29:746] tkl_rtc_init [17:56:29:746] [01-01 00:00:04 ty D][lr:0x80fc098] tuya svc upgrade init success! [17:56:29:746] [01-01 00:00:04 ty D][lr:0x8123e18] meta in kv {"metas":{"supportLogUpd":true,"btScyChannel":"{\"enable\":1,\"version\":\"1.0\"}","timerCapability":1,"supportLocalKeyChange":true}} [17:56:29:759] [01-01 00:00:04 ty D][lr:0x80fd8a2] state change from 0 to 3 [17:56:29:759] tkl_wifi_set_country_code [17:56:29:759] tkl_wifi_set_work_mode [17:56:29:759] WIFI_MGMT: vif 0 switch mode, received message: (5:6:1:0:0) [17:56:29:759] [01-01 00:00:04 ty D][lr:0x8115676] reset init mthd:0, short timer:0 long timer:0 [17:56:29:759] [01-01 00:00:04 ty D][lr:0x8115b98] do proxy actived work,mode:2,stat:2,nc_tp:9 [17:56:29:759] [01-01 00:00:04 ty N][lr:0x81295d2] bt startup attr:ff [17:56:29:759] [01-01 00:00:04 ty D][lr:0x81295e6] bt link open [17:56:29:759] [01-01 00:00:04 ty N][lr:0x80f3724] upd product_id type:0 jwvdz89069k0da7s [17:56:29:759] [01-01 00:00:04 ty D][lr:0x81282cc] read encrpt flag from flash: 1. [17:56:29:759] tkl_ble_gap_callback_register [17:56:29:759] tkl_ble_gatt_callback_register [17:56:29:759] tkl_ble_gatts_service_add [17:56:29:759] handle_gatts_msg type 0 [17:56:29:772] tkl_ble_stack_init [17:56:29:772] [01-01 00:00:04 ty D][lr:0x80f4092] rev ble event 1 [17:56:29:772] [01-01 00:00:04 ty D][lr:0x80f405a] set ble serv stat:0, curr:0 [17:56:29:772] [01-01 00:00:04 ty D][lr:0x80f35ea] start ble monitor [17:56:29:772] [01-01 00:00:04 ty N][lr:0x80f36ea] ty bt sdk init success finish [17:56:29:772] [01-01 00:00:04 ty E][lr:0x8126940] read timer_full_key failed [17:56:29:783] [01-01 00:00:04 ty D][lr:0x812697a] --- timer_cnt = 0 [17:56:29:783] [01-01 00:00:04 ty N][lr:0x80fd970] __devos_init_evt success [17:56:29:783] [01-01 00:00:04 ty N][lr:0x80fcff0] already bind [17:56:29:783] [01-01 00:00:04 ty D][lr:0x80fd0ba] gw status changed to 3 [17:56:29:783] [01-01 00:00:04 ty I][lr:0x80f07f0] mqc app start ... [17:56:29:783] [01-01 00:00:04 ty D][lr:0x80f05fa] mq_pro:15 cnt:7 [17:56:29:783] [01-01 00:00:04 ty D][lr:0x80fc162] upgrade active success [17:56:29:783] [01-01 00:00:04 ty D][lr:0x81243b4] mqtt log topic init log/realtime/6cb0bd2748c0f9c32c2uza [17:56:29:783] [01-01 00:00:04 ty D][lr:0x81243be] mqtt log topic init log/runstat/6cb0bd2748c0f9c32c2uza [17:56:29:783] [01-01 00:00:04 ty D][lr:0x81243f6] svc online log active success [17:56:29:783] [01-01 00:00:04 ty D][lr:0x80f05fa] mq_pro:11 cnt:8 [17:56:29:783] [01-01 00:00:04 ty D][lr:0x80f05fa] mq_pro:41 cnt:9 [17:56:29:794] [01-01 00:00:04 ty D][lr:0x80f05fa] mq_pro:27 cnt:10 [17:56:29:794] [01-01 00:00:04 ty D][lr:0x8103316] localkey.init------>localkey[F] [17:56:29:794] [01-01 08:00:04 ty D][lr:0x81024b2] support log upd meta rept [17:56:29:794] [01-01 08:00:04 ty D][lr:0x8123e8a] need_report 0 mode 0 [17:56:29:794] [01-01 08:00:04 ty D][lr:0x8124960] update time tp:60000, delay:72s [17:56:29:794] [01-01 08:00:04 ty D][lr:0x80f05fa] mq_pro:100 cnt:11 [17:56:29:794] [01-01 08:00:04 ty D][lr:0x8114128] wifi protect ap info init [17:56:29:794] [01-01 08:00:04 ty D][lr:0x80f3254] meta rpt for ble v2 crpt [17:56:29:804] [01-01 08:00:04 ty D][lr:0x8123e8a] need_report 0 mode 0 [17:56:29:804] [01-01 08:00:04 ty D][lr:0x8123e8a] need_report 0 mode 0 [17:56:29:804] [01-01 08:00:04 ty D][lr:0x81032d0] Localkey update run [17:56:29:804] [01-01 08:00:04 ty D][lr:0x8123e8a] need_report 0 mode 0 [17:56:29:804] [01-01 08:00:04 ty D][lr:0x811270c] __wifi_net_conn. [17:56:29:804] [01-01 08:00:04 ty D][lr:0x81126c6] status:6,mode:2 [17:56:29:804] [01-01 08:00:04 ty N][lr:0x8113264] cur stat:6 0x0 -->> [17:56:29:804] [01-01 08:00:04 ty D][lr:0x80f2f06] upd adv para, send conn_req beacon. [17:56:29:804] [01-01 08:00:04 ty D][tuya_ble_svc.c:113] adv_data 31 <0x20035021> [17:56:29:804] 02 01 06 03 02 50 fd 17 16 50 fd 4b 0c 00 10 b2 35 17 ae a1 84 66 86 bb 4d 05 64 13 c2 07 dc [17:56:29:814] [17:56:29:814] [01-01 08:00:04 ty D][tuya_ble_svc.c:113] rsp_data 31 <0x20035041> [17:56:29:814] 17 ff d0 07 00 00 0c 89 db ef 1e d8 bf 3a 21 de fc 87 e8 5b 54 69 ca dc 06 09 54 55 59 41 5f [17:56:29:814] [17:56:29:814] [01-01 08:00:04 ty D][lr:0x80f390a] ble get conn stat:4 [17:56:29:814] tkl_ble_gap_adv_stop [17:56:29:814] tkl_ble_gap_adv_rsp_data_set [17:56:29:814] tkl_ble_gap_adv_start [17:56:29:814] adv state change 0x0 ==> 0x1, reason 0x0 [17:56:29:814] [01-01 08:00:04 ty N][lr:0x80f395c] ble adv updated [17:56:29:814] [01-01 08:00:04 ty D][lr:0x810e304] register wifi network monitor. interval:1 [17:56:29:814] [01-01 08:00:04 ty D][lr:0x8113366] report wifi netstat[adv state change 0x1 ==> 0x2, reason 0x0 [17:56:29:826] adv index 1 [17:56:29:826] adv state change 0x2 ==> 0x3, reason 0x0 [17:56:29:826] 6] to callback -->> [17:56:29:826] [01-01 08:00:04 ty D][lr:0x80e5894] recv net status changed to 6 [17:56:29:826] adv state change 0x3 ==> 0x4, reason 0x0 [17:56:29:835] adv state change 0x4 ==> 0x6, reason 0x0 [17:56:30:100] ----------------------bind:fd:2,port:0xc1a,ip:0.0.0.0 [17:56:30:102] [01-01 08:00:04 ty D][lr:0x812c102] reg post queue 2 [17:56:30:116] ----------------------bind:fd:3,port:0x581b,ip:0.0.0.0 [17:56:30:116] [01-01 08:00:04 ty D][lr:0x812c102] reg post queue 3 [17:56:30:116] [01-01 08:00:04 ty D][lr:0x8119650] udp ip: 192.168.1.6 [17:56:30:116] [01-01 08:00:04 ty D][lr:0x812bda2] reg lan sock 2,read:0x8117e00 [17:56:30:214] [01-01 08:00:05 ty D][lr:0x810117c] feed watchdog [17:56:30:214] free heap:99480 [17:56:30:236] [01-01 08:00:05 ty D][lr:0x811f172] rept chan:0 [17:56:30:247] [01-01 08:00:05 ty D][lr:0x811d364] dp<20> check. need_update:1 pv_stat:0 trig_t:0 dp_rept_type:0 force_send:0 prop_tp:0 [17:56:30:247] [01-01 08:00:05 ty D][lr:0x811d38e] dp_cntl bool:0, dp_data bool:1 [17:56:30:247] [01-01 08:00:05 ty D][lr:0x811d318] is_need_update:1, is_dp_passive:0, pv_stat:1, uling_cnt:0 [17:56:30:247] [01-01 08:00:05 ty E][lr:0x80e6a5a] dp report err -3589 [17:56:30:247] [01-01 08:00:05 ty D][lr:0x811f172] rept chan:0 [17:56:30:247] [01-01 08:00:05 ty D][lr:0x811d364] dp<21> check. need_update:1 pv_stat:0 trig_t:0 dp_rept_type:0 force_send:0 prop_tp:3 [17:56:30:247] [01-01 08:00:05 ty D][lr:0x811d318] is_need_update:1, is_dp_passive:0, pv_stat:1, uling_cnt:0 [17:56:30:247] [01-01 08:00:05 ty E][lr:0x80e6a5a] dp report err -3589 [17:56:31:109] [01-01 08:00:05 ty D][lr:0x812bda2] reg lan sock 3,read:0x81197fc [17:56:32:775] [01-01 08:00:07 ty D][lr:0x80f42e4] nw stat change:0->1, rpt to app. [17:56:32:788] [01-01 08:00:07 ty D][lr:0x80f4380] tuya_ble_send_dev_nw_stat:1, force:0 [17:56:32:788] [01-01 08:00:07 ty D][lr:0x80f390a] ble get conn stat:4 [17:56:32:788] [01-01 08:00:07 ty N][lr:0x80f3994] ble_sdk_send skip, no connect:4 [17:56:39:807] [01-01 08:00:14 ty D][lr:0x80eb00e] Post Data: {"type":"[\"timezone\",\"rateRule\",\"seniorAbility\"]","t":14} [17:56:39:823] [01-01 08:00:14 ty D][lr:0x80eb0c6] Post URL: https://a3.tuyacn.com/d.json?a=tuya.device.dynamic.config.get&devId=6cb0bd2748c0f9c32c2uza&et=3&t=14&v=2.0&sign=77383998781c92d7820ff5e0da26d15e [17:56:39:823] [01-01 08:00:14 ty D][lr:0x811b58e] Connect: a3.tuyacn.com Port: 443 -->> [17:56:39:823] [01-01 08:00:14 ty D][lr:0x80ee9f6] unw_gethostbyname a3.tuyacn.com, prio 1 [17:56:39:823] [01-01 08:00:14 ty D][lr:0x80eea70] use dynamic dns ip:81.69.183.170 for domain:a3.tuyacn.com [17:56:39:823] ----------------------bind:fd:4,port:0x0,ip:192.168.1.6 [17:56:39:823] [01-01 08:00:14 ty D][lr:0x81279ae] bind ip:c0a80106 port:0 ok [17:56:39:823] ----------------------connect:fd:4,port:0xbb01,ip:81.69.183.170 [17:56:39:843] [01-01 08:00:14 ty D][lr:0x80ef20e] MAX SECURITY_LEVEL:0, TUYA SECURITY_LEVEL:0, mode:0 [17:56:39:843] [01-01 08:00:14 ty D][lr:0x80ef238] TUYA_TLS Begin Connect a3.tuyacn.com:443 [17:56:39:853] [01-01 08:00:14 ty D][lr:0x80ef2ca] TUYA_TLS PSK Mode [17:56:39:853] [01-01 08:00:14 ty D][lr:0x80ef376] socket fd is set. set to inner send/recv to handshake [17:56:39:961] [01-01 08:00:14 ty D][lr:0x80ef396] handshake finish for a3.tuyacn.com. set send/recv to user set [17:56:39:962] [01-01 08:00:14 ty D][lr:0x80ef3c0] TUYA_TLS Success Connect a3.tuyacn.com:443 Suit:TLS-PSK-WITH-AES-128-CBC-SHA256 [17:56:39:976] [01-01 08:00:14 ty D][lr:0x811b5b4] Connect: a3.tuyacn.com Port: 443 --<< ,r:0 [17:56:40:155] [01-01 08:00:14 ty D][lr:0x80eb840] Decode Rev:{"result":{"timezone":{"ackId":"0-0","validTime":1800,"time":1700819800,"config":{"stdTimeZone":"+08:00","dstIntervals":[]}},"seniorAbility":{}},"t":1700819800,"success":true} [17:56:40:174] set rtc time,time:1700819800:d:2023-11-24,w:5,t:17:56:40 [17:56:40:174] [11-24 17:56:40 ty N][lr:0x812422a] timeout,delete uf local log [17:56:40:174] [11-24 17:56:40 ty D][lr:0x80f261e] tls transporter close socket fd:4 [17:56:40:174] [11-24 17:56:40 ty D][lr:0x8127a0c] tcp transporter close socket fd:4 [17:56:40:174] [11-24 17:56:40 ty D][lr:0x80f263c] tls transporter close tls handler:0x20037738 [17:56:40:174] [11-24 17:56:40 ty D][lr:0x80ef4e8] TUYA_TLS Disconnect ENTER [17:56:40:174] [11-24 17:56:40 ty D][lr:0x80ef548] TUYA_TLS Disconnect Success [17:56:40:174] [11-24 17:56:40 ty D][lr:0x80ef18c] tuya_tls_connect_destroy. [17:56:40:174] [11-24 17:56:40 ty D][lr:0x8102150] timezone:+08:00 [17:56:40:174] [11-24 17:56:40 ty D][lr:0x81021f8] summer_time_zone:[] [17:56:40:266] [11-24 17:56:40 ty D][lr:0x810117c] feed watchdog [17:56:40:267] free heap:91720 [17:56:40:453] [11-24 17:56:40 ty D][lr:0x80fde06] gw_ai write ret:0 [17:56:40:454] [11-24 17:56:40 ty D][lr:0x80ff266] reset dp rate rule finish. [17:56:40:467] [11-24 17:56:40 ty D][lr:0x80eb00e] Post Data: {"ackList":[{"type":"timezone","ackId":"0-0"}],"t":1700819800} [17:56:40:467] [11-24 17:56:40 ty D][lr:0x80eb0c6] Post URL: https://a3.tuyacn.com/d.json?a=tuya.device.dynamic.config.ack&devId=6cb0bd2748c0f9c32c2uza&et=3&t=1700819800&v=2.0&sign=85e0c67c6459c556e704cec028eddd47 [17:56:40:467] [11-24 17:56:40 ty D][lr:0x811b58e] Connect: a3.tuyacn.com Port: 443 -->> [17:56:40:477] [11-24 17:56:40 ty D][lr:0x80ee9f6] unw_gethostbyname a3.tuyacn.com, prio 1 [17:56:40:477] [11-24 17:56:40 ty D][lr:0x80eea70] use dynamic dns ip:81.69.183.170 for domain:a3.tuyacn.com [17:56:40:477] ----------------------bind:fd:4,port:0x0,ip:192.168.1.6 [17:56:40:477] [11-24 17:56:40 ty D][lr:0x81279ae] bind ip:c0a80106 port:0 ok [17:56:40:477] ----------------------connect:fd:4,port:0xbb01,ip:81.69.183.170 [17:56:40:511] [11-24 17:56:40 ty D][lr:0x80ef20e] MAX SECURITY_LEVEL:0, TUYA SECURITY_LEVEL:0, mode:0 [17:56:40:526] [11-24 17:56:40 ty D][lr:0x80ef238] TUYA_TLS Begin Connect a3.tuyacn.com:443 [17:56:40:526] [11-24 17:56:40 ty D][lr:0x80ef2ca] TUYA_TLS PSK Mode [17:56:40:526] [11-24 17:56:40 ty D][lr:0x80ef376] socket fd is set. set to inner send/recv to handshake [17:56:40:635] [11-24 17:56:40 ty D][lr:0x80ef396] handshake finish for a3.tuyacn.com. set send/recv to user set [17:56:40:636] [11-24 17:56:40 ty D][lr:0x80ef3c0] TUYA_TLS Success Connect a3.tuyacn.com:443 Suit:TLS-PSK-WITH-AES-128-CBC-SHA256 [17:56:40:651] [11-24 17:56:40 ty D][lr:0x811b5b4] Connect: a3.tuyacn.com Port: 443 --<< ,r:0 [17:56:40:814] [11-24 17:56:40 ty D][lr:0x80eb840] Decode Rev:{"t":1700819800,"success":true} [17:56:40:816] [11-24 17:56:40 ty D][lr:0x80f261e] tls transporter close socket fd:4 [17:56:40:828] [11-24 17:56:40 ty D][lr:0x8127a0c] tcp transporter close socket fd:4 [17:56:40:828] [11-24 17:56:40 ty D][lr:0x80f263c] tls transporter close tls handler:0x200377a0 [17:56:40:828] [11-24 17:56:40 ty D][lr:0x80ef4e8] TUYA_TLS Disconnect ENTER [17:56:40:828] [11-24 17:56:40 ty D][lr:0x80ef548] TUYA_TLS Disconnect Success [17:56:40:828] [11-24 17:56:40 ty D][lr:0x80ef18c] tuya_tls_connect_destroy. [17:56:40:828] [11-24 17:56:40 ty D][lr:0x80ec722] dynamic cfg post data:{"ackList":[{"type":"timezone","ackId":"0-0"}],"t":1700819800}, ret:0. [17:56:40:828] [11-24 17:56:40 ty D][lr:0x80eb00e] Post Data: {"data":"0","t":1700819800} [17:56:40:843] [11-24 17:56:40 ty D][lr:0x80eb0c6] Post URL: https://a3.tuyacn.com/d.json?a=atop.online.debug.log&devId=6cb0bd2748c0f9c32c2uza&et=3&t=1700819800&sign=1c391386b217fb6a2ca7b07c54992de1 [17:56:40:843] [11-24 17:56:40 ty D][lr:0x811b58e] Connect: a3.tuyacn.com Port: 443 -->> [17:56:40:843] [11-24 17:56:40 ty D][lr:0x80ee9f6] unw_gethostbyname a3.tuyacn.com, prio 1 [17:56:40:843] [11-24 17:56:40 ty D][lr:0x80eea70] use dynamic dns ip:81.69.183.170 for domain:a3.tuyacn.com [17:56:40:843] ----------------------bind:fd:4,port:0x0,ip:192.168.1.6 [17:56:40:858] [11-24 17:56:40 ty D][lr:0x81279ae] bind ip:c0a80106 port:0 ok [17:56:40:858] ----------------------connect:fd:4,port:0xbb01,ip:81.69.183.170 [17:56:40:869] [11-24 17:56:40 ty D][lr:0x80ef20e] MAX SECURITY_LEVEL:0, TUYA SECURITY_LEVEL:0, mode:0 [17:56:40:869] [11-24 17:56:40 ty D][lr:0x80ef238] TUYA_TLS Begin Connect a3.tuyacn.com:443 [17:56:40:869] [11-24 17:56:40 ty D][lr:0x80ef2ca] TUYA_TLS PSK Mode [17:56:40:869] [11-24 17:56:40 ty D][lr:0x80ef376] socket fd is set. set to inner send/recv to handshake [17:56:40:985] [11-24 17:56:40 ty D][lr:0x80ef396] handshake finish for a3.tuyacn.com. set send/recv to user set [17:56:40:987] [11-24 17:56:40 ty D][lr:0x80ef3c0] TUYA_TLS Success Connect a3.tuyacn.com:443 Suit:TLS-PSK-WITH-AES-128-CBC-SHA256 [17:56:41:004] [11-24 17:56:40 ty D][lr:0x811b5b4] Connect: a3.tuyacn.com Port: 443 --<< ,r:0 [17:56:41:166] [11-24 17:56:40 ty D][lr:0x80eb840] Decode Rev:{"result":true,"t":1700819801,"success":true} [17:56:41:180] set rtc time,time:1700819801:d:2023-11-24,w:5,t:17:56:41 [17:56:41:180] [11-24 17:56:41 ty D][lr:0x80f261e] tls transporter close socket fd:4 [17:56:41:180] [11-24 17:56:41 ty D][lr:0x8127a0c] tcp transporter close socket fd:4 [17:56:41:180] [11-24 17:56:41 ty D][lr:0x80f263c] tls transporter close tls handler:0x200376a0 [17:56:41:180] [11-24 17:56:41 ty D][lr:0x80ef4e8] TUYA_TLS Disconnect ENTER [17:56:41:180] [11-24 17:56:41 ty D][lr:0x80ef548] TUYA_TLS Disconnect Success [17:56:41:180] [11-24 17:56:41 ty D][lr:0x80ef18c] tuya_tls_connect_destroy. [17:56:41:180] [11-24 17:56:41 ty D][lr:0x81022d8] put rst log finish [17:56:44:847] [11-24 17:56:44 ty D][lr:0x80e5628] send jump_pack [17:56:45:064] [11-24 17:56:44 ty D][lr:0x80e55ba] recv jump_pack ok. [17:56:50:328] [11-24 17:56:50 ty D][lr:0x810117c] feed watchdog [17:56:50:329] free heap:99400 [17:56:59:877] [11-24 17:56:59 ty D][lr:0x80fe812] set time by rtc [17:56:59:878] get rtc time,time:1700819832:d:2023-11-24,w:5,t:17:56:72 [17:57:00:101] [11-24 17:57:12 ty D][lr:0x80e5628] send jump_pack [17:57:00:316] [11-24 17:57:12 ty D][lr:0x80e55ba] recv jump_pack ok. [17:57:00:353] [11-24 17:57:12 ty D][lr:0x810117c] feed watchdog [17:57:00:353] free heap:99400 [17:57:10:377] [11-24 17:57:22 ty D][lr:0x810117c] feed watchdog [17:57:10:377] free heap:99400 [17:57:15:352] [11-24 17:57:27 ty D][lr:0x80e5628] send jump_pack [17:57:15:566] [11-24 17:57:27 ty D][lr:0x80e55ba] recv jump_pack ok. [17:57:20:403] [11-24 17:57:32 ty D][lr:0x810117c] feed watchdog [17:57:20:403] free heap:99400 [17:57:28:821] WIFI_MGMT: polling link status [17:57:29:006] [mqtt_thread] get mutex 0x20028b70 failed, retry [17:57:29:950] [11-24 17:57:41 ty D][lr:0x80fe812] set time by rtc [17:57:29:963] get rtc time,time:1700819845:d:2023-11-24,w:5,t:17:57:25 [17:57:30:430] [11-24 17:57:25 ty D][lr:0x810117c] feed watchdog [17:57:30:430] free heap:99400 [17:57:30:605] [11-24 17:57:25 ty D][lr:0x80e5628] send jump_pack [17:57:30:820] [11-24 17:57:25 ty D][lr:0x80e55ba] recv jump_pack ok. [17:57:40:456] [11-24 17:57:35 ty D][lr:0x810117c] feed watchdog [17:57:40:456] free heap:99400 [17:57:42:032] [11-24 17:57:37 ty D][lr:0x80eb00e] Post Data: {"devId":"6cb0bd2748c0f9c32c2uza","t":1700819857} [17:57:42:047] [11-24 17:57:37 ty D][lr:0x80eb0c6] Post URL: https://a3.tuyacn.com/d.json?a=tuya.device.timer.astronomical.list&devId=6cb0bd2748c0f9c32c2uza&et=3&t=1700819857&v=1.0&sign=3b57e93362f1c93f55e4a3e111163b6e [17:57:42:047] [11-24 17:57:37 ty D][lr:0x811b58e] Connect: a3.tuyacn.com Port: 443 -->> [17:57:42:047] [11-24 17:57:37 ty D][lr:0x80ee9f6] unw_gethostbyname a3.tuyacn.com, prio 1 [17:57:42:047] [11-24 17:57:37 ty D][lr:0x80eea70] use dynamic dns ip:81.69.183.170 for domain:a3.tuyacn.com [17:57:42:047] ----------------------bind:fd:4,port:0x0,ip:192.168.1.6 [17:57:42:047] [11-24 17:57:37 ty D][lr:0x81279ae] bind ip:c0a80106 port:0 ok [17:57:42:057] ----------------------connect:fd:4,port:0xbb01,ip:81.69.183.170 [17:57:42:069] [11-24 17:57:37 ty D][lr:0x80ef20e] MAX SECURITY_LEVEL:0, TUYA SECURITY_LEVEL:0, mode:0 [17:57:42:069] [11-24 17:57:37 ty D][lr:0x80ef238] TUYA_TLS Begin Connect a3.tuyacn.com:443 [17:57:42:069] [11-24 17:57:37 ty D][lr:0x80ef2ca] TUYA_TLS PSK Mode [17:57:42:069] [11-24 17:57:37 ty D][lr:0x80ef376] socket fd is set. set to inner send/recv to handshake [17:57:42:182] [11-24 17:57:37 ty D][lr:0x80ef396] handshake finish for a3.tuyacn.com. set send/recv to user set [17:57:42:196] [11-24 17:57:37 ty D][lr:0x80ef3c0] TUYA_TLS Success Connect a3.tuyacn.com:443 Suit:TLS-PSK-WITH-AES-128-CBC-SHA256 [17:57:42:196] [11-24 17:57:37 ty D][lr:0x811b5b4] Connect: a3.tuyacn.com Port: 443 --<< ,r:0 [17:57:42:356] [11-24 17:57:37 ty D][lr:0x80eb840] Decode Rev:{"result":{"code":200,"data":{}},"t":1700819862,"success":true} [17:57:42:370] set rtc time,time:1700819862:d:2023-11-24,w:5,t:17:57:42 [17:57:42:370] [11-24 17:57:42 ty D][lr:0x80f261e] tls transporter close socket fd:4 [17:57:42:370] [11-24 17:57:42 ty D][lr:0x8127a0c] tcp transporter close socket fd:4 [17:57:42:370] [11-24 17:57:42 ty D][lr:0x80f263c] tls transporter close tls handler:0x200376e8 [17:57:42:370] [11-24 17:57:42 ty D][lr:0x80ef4e8] TUYA_TLS Disconnect ENTER [17:57:42:370] [11-24 17:57:42 ty D][lr:0x80ef548] TUYA_TLS Disconnect Success [17:57:42:370] [11-24 17:57:42 ty D][lr:0x80ef18c] tuya_tls_connect_destroy. [17:57:42:370] [11-24 17:57:42 ty D][lr:0x812516c] astro timer is delete [17:57:45:922] [11-24 17:57:45 ty D][lr:0x80e5628] send jump_pack [17:57:46:138] [11-24 17:57:45 ty D][lr:0x80e55ba] recv jump_pack ok. [17:57:50:545] [11-24 17:57:50 ty D][lr:0x810117c] feed watchdog [17:57:50:545] free heap:99400 [17:58:00:088] [11-24 17:57:59 ty D][lr:0x80fe812] set time by rtc [17:58:00:089] get rtc time,time:1700819870:d:2023-11-24,w:5,t:17:57:50 [17:58:00:570] [11-24 17:57:50 ty D][lr:0x810117c] feed watchdog [17:58:00:570] free heap:99400 [17:58:01:174] [11-24 17:57:51 ty D][lr:0x80e5628] send jump_pack [17:58:01:387] [11-24 17:57:51 ty D][lr:0x80e55ba] recv jump_pack ok. [17:58:10:597] [11-24 17:58:00 ty D][lr:0x810117c] feed watchdog [17:58:10:597] free heap:99400 [17:58:16:425] [11-24 17:58:06 ty D][lr:0x80e5628] send jump_pack [17:58:16:643] [11-24 17:58:06 ty D][lr:0x80e55ba] recv jump_pack ok. [17:58:20:620] [11-24 17:58:10 ty D][lr:0x810117c] feed watchdog [17:58:20:620] free heap:99400 [17:58:29:032] WIFI_MGMT: polling link status [17:58:29:217] [mqtt_thread] get mutex 0x20028b70 failed, retry [17:58:30:161] [11-24 17:58:19 ty D][lr:0x80fe812] set time by rtc [17:58:30:161] get rtc time,time:1700820243:d:2023-11-24,w:5,t:17:64:3 [17:58:30:645] [11-24 18:04:03 ty D][lr:0x810117c] feed watchdog [17:58:30:658] free heap:99400 [17:58:31:680] [11-24 18:04:04 ty D][lr:0x80e5628] send jump_pack [17:58:31:897] [11-24 18:04:04 ty D][lr:0x80e55ba] recv jump_pack ok. [17:58:40:671] [11-24 18:04:13 ty D][lr:0x810117c] feed watchdog [17:58:40:671] free heap:99400 [17:58:46:934] [11-24 18:04:19 ty D][lr:0x80e5628] send jump_pack [17:58:47:150] [11-24 18:04:19 ty D][lr:0x80e55ba] recv jump_pack ok. [17:58:50:696] [11-24 18:04:23 ty D][lr:0x810117c] feed watchdog [17:58:50:696] free heap:99376