
[09:59:21.527]收←◆1] feed watchdog
-01 08:01:05 ty D][707d][tuya_devos_health.c:7timer_cb enter
[01-01 08:00:18 ty D][7038][tal_sleep.c:69] <tal_cpu_lp> disable_cnt:2
[01-01 08:00:22 ty N][781e][audio_recorder.c:615] cpu0 mem usage sram: 76872, psram: 2172760

[01-01 08:00:25 ty D][707d][tuya_devos_health.c:71] feed watchdog
[01-011] feed watchdog
[01-01 08:01:15 ty D][707d][tuya_devos_health.c:71] feed watchdog

[09:59:28.330]收←◆[01-01 08:01:22 ty N][781e][audio_recorder.c:615] cpu0 mem usage sram: 76912, psram: 2172760


[09:59:31.526]收←◆[01-01 08:01:25 ty D][707d][tuya_devos_health.c:71] feed watchdog

[09:59:31.968]收←◆[01-01 08:01:25 ty I][70bf][tkl_bluetooth.c:250] BLE_GAP_EVENT_CONNECT(0x00), handle = 0x01, Role(1)

[01-01 08:01:25 ty D][70bf][tuya_ble_svc.c:1172] rev ble event 4
[01-01 08:01:25 ty N][70bf][tuya_ble_svc.c:795] Ble Connected
[01-01 08:01:25 ty N][70bf][tuya_ble_data_handler.c:71] ble reset sn
[01-01 08:01:25 ty N][70bf][tuya_ble_svc.c:1738] ble set conn stat:1
[01-01 08:01:25 ty D][70bf][tuya_ble_svc.c:1210] conn monitor timer started
[01-01 08:01:25 ty D][7067][tuya_ble_sdk.c:572] adv_stat:0, conn_stat:1, adv_scan_stat:255
[01-01 08:01:25 ty D][7067][tuya_ble_sdk.c:588] ble pre stat:1, curr stat:2

[09:59:32.145]收←◆[01-01 08:01:25 ty I][70bf][tkl_bluetooth.c:284] BLE_GAP_EVENT_CONN_UPDATE_REQ
[01-01 08:01:25 ty D][70bf][ble_att_svr.c:1936] debug rc = 0

[09:59:32.356]收←◆[01-01 08:01:26 ty N][70bf][tkl_bluetooth.c:281] BLE_GAP_EVENT_CONN_UPDATE,0x6,0x0,0x1f4

[09:59:32.423]收←◆[01-01 08:01:26 ty I][70bf][tkl_bluetooth.c:284] BLE_GAP_EVENT_CONN_UPDATE_REQ
[01-01 08:01:26 ty I][70bf][tkl_bluetooth.c:318] BLE_GAP_EVENT_SUBSCRIBE

[09:59:32.503]收←◆[01-01 08:01:26 ty N][70bf][tkl_bluetooth.c:281] BLE_GAP_EVENT_CONN_UPDATE,0x18,0x0,0x1f4

[09:59:32.743]收←◆[01-01 08:01:26 ty I][70bf][tkl_bluetooth.c:293] mtu update event; conn_handle=0x0001 mtu=247, channel id = 4


[09:59:32.914]收←◆[01-01 08:01:26 ty D][70bf][tuya_ble_svc.c:1172] rev ble event 15
[01-01 08:01:26 ty D][70bf][tuya_ble_svc.c:1130] Dev Rev BT Package
[01-01 08:01:26 ty D][70bf][tuya_ble_data_handler.c:144] recive sub_pkg desc:3, no:1, pack_len:33, total_len:33
[01-01 08:01:26 ty D][70bf][tuya_ble_svc.c:1744] ble get conn stat:1
[01-01 08:01:26 ty D][70bf][tuya_ble_data_handler.c:838] Parse BT Cmd:0x0 mode:11
[01-01 08:01:26 ty D][70bf][tuya_ble_mutli_tsf_protocol.c:119] BT sub pkg lenth set:243
[01-01 08:01:26 ty N][70bf][tuya_ble_data_handler.c:632] tuya_ble_handle_dev_infor_req state:0, pkg_len:243
[01-01 08:01:26 ty D][70bf][tuya_ble_data_handler.c:642] buf len:121
[01-01 08:01:26 ty D][70bf][tuya_ble_svc.c:1138] default resp generated.
[01-01 08:01:26 ty D][70bf][tuya_ble_svc.c:1744] ble get conn stat:1
[01-01 08:01:26 ty D][7067][tuya_ble_mutli_tsf_protocol.c:216] pkg max len:243, sunpkg_offset:4, send_data:161
[01-01 08:01:26 ty I][7067][tkl_bluetooth.c:302] send notify ok

[09:59:32.933]收←◆[01-01 08:01:26 ty D][7067][tuya_ble_svc.c:1400] ble_send_data_to_app finish. len:161, send_ret:0x0

[09:59:32.984]收←◆[01-01 08:01:26 ty D][70bf][tuya_ble_svc.c:1172] rev ble event 15
[01-01 08:01:26 ty D][70bf][tuya_ble_svc.c:1130] Dev Rev BT Package
[01-01 08:01:26 ty D][70bf][tuya_ble_data_handler.c:144] recive sub_pkg desc:3, no:1, pack_len:129, total_len:129
[01-01 08:01:26 ty D][70bf][tuya_ble_svc.c:1744] ble get conn stat:1
[01-01 08:01:26 ty D][70bf][tuya_ble_data_handler.c:838] Parse BT Cmd:0x1 mode:12
[01-01 08:01:26 ty D][70bf][tuya_ble_svc.c:740] start up v2 ble encrpt v4
[01-01 08:01:26 ty D][70bf][tuya_ble_svc.c:639] set ble v2 encrpt!
[01-01 08:01:26 ty D][70bf][tuya_ble_svc.c:1217] conn monitor timer stopped
[01-01 08:01:26 ty N][70bf][tuya_ble_svc.c:1738] ble set conn stat:3
[01-01 08:01:26 ty N][70bf][tuya_ble_data_handler.c:402] PAIR_REQ ok:0
[01-01 08:01:26 ty N][70bf][tuya_ble_data_handler.c:380] app_flag len:1, val:1
[01-01 08:01:26 ty N][70bf][tuya_ble_data_handler.c:351] ble_time_req start...
[01-01 08:01:26 ty D][70bf][tuya_ble_data_handler.c:357] no need to query time. network stat:0, work stat:1
[01-01 08:01:26 ty D][70bf][tuya_ble_svc.c:1138] default resp generated.
[01-01 08:01:26 ty D][70bf][tuya_ble_svc.c:1744] ble get conn stat:3
[01-01 08:01:26 ty D][7067][tuya_ble_mutli_tsf_protocol.c:216] pkg max len:243, sunpkg_offset:3, send_data:33
[01-01 08:01:26 ty I][7067][tkl_bluetooth.c:302] send notify ok
[01-01 08:01:26 ty D][7067][tuya_ble_svc.c:1400] ble_send_data_to_app finish. len:33, send_ret:0x0

[09:59:33.163]收←◆[01-01 08:01:26 ty D][70bf][tuya_ble_svc.c:1172] rev ble event 15
[01-01 08:01:26 ty D][70bf][tuya_ble_svc.c:1130] Dev Rev BT Package
[01-01 08:01:26 ty D][70bf][tuya_ble_data_handler.c:144] recive sub_pkg desc:1, no:1, pack_len:239, total_len:239
[01-01 08:01:26 ty D][70bf][tuya_ble_data_handler.c:694] ble data pkg is multi-pack, receive...
[01-01 08:01:26 ty D][70bf][tuya_ble_svc.c:1172] rev ble event 15
[01-01 08:01:26 ty D][70bf][tuya_ble_svc.c:1130] Dev Rev BT Package
[01-01 08:01:26 ty D][70bf][tuya_ble_data_handler.c:144] recive sub_pkg desc:2, no:2, pack_len:242, total_len:481
[01-01 08:01:26 ty D][70bf][tuya_ble_data_handler.c:694] ble data pkg is multi-pack, receive...
[01-01 08:01:26 ty D][70bf][tuya_ble_svc.c:1172] rev ble event 15
[01-01 08:01:26 ty D][70bf][tuya_ble_svc.c:1130] Dev Rev BT Package
[01-01 08:01:26 ty D][70bf][tuya_ble_data_handler.c:144] recive sub_pkg desc:2, no:3, pack_len:242, total_len:723
[01-01 08:01:26 ty D][70bf][tuya_ble_data_handler.c:694] ble data pkg is multi-pack, receive...
[01-01 08:01:26 ty D][70bf][tuya_ble_svc.c:1172] rev ble event 15
[01-01 08:01:26 ty D][70bf][tuya_ble_svc.c:1130] Dev Rev BT Package
[01-01 08:01:26 ty D][70bf][tuya_ble_data_handler.c:144] recive sub_pkg desc:2, no:4, pack_len:242, total_len:965
[01-01 08:01:26 ty D][70bf][tuya_ble_data_handler.c:694] ble data pkg is multi-pack, receive...
[01-01 08:01:26 ty D][70bf][tuya_ble_svc.c:1172] rev ble event 15
[01-01 08:01:26 ty D][70bf][tuya_ble_svc.c:1130] Dev Rev BT Package
[01-01 08:01:26 ty D][70bf][tuya_ble_data_handler.c:144] recive sub_pkg desc:3, no:5, pack_len:28, total_len:993
[01-01 08:01:26 ty D][70bf][tuya_ble_svc.c:1744] ble get conn stat:3
[01-01 08:01:26 ty D][70bf][tuya_ble_data_handler.c:838] Parse BT Cmd:0x801b mode:12
[01-01 08:01:26 ty D][7051][tuya_ble_svc.c:1065] Rev BT user Data. type:801b
[01-01 08:01:26 ty D][7051][tuya_ble_svc.c:1066] netcfg cb:21b33c9
[01-01 08:01:26 ty D][7051][tuya_ble_data_handler.c:1075] first downlink subpacket, totalLen:976
[01-01 08:01:26 ty D][7051][tuya_ble_data_handler.c:1100] rece downlink subpacket, curSubpacketNo:0, curSubpacketLen:954, receivedLen:954, totalLen:976
[01-01 08:01:26 ty D][7051][tuya_ble_svc.c:1744] ble get conn stat:3
[01-01 08:01:26 ty D][7051][tuya_ble_svc.c:1500] tuya_ble_sdk_send. cmd:0x801b encrpyt:12
[01-01 08:01:26 ty D][7051][tuya_ble_svc.c:1744] ble get conn stat:3
[01-01 08:01:26 ty D][7067][tuya_ble_mutli_tsf_protocol.c:216] pkg max len:243, sunpkg_offset:3, send_data:49
[01-01 08:01:26 ty I][7067][tkl_bluetooth.c:302] send notify ok
[01-01 08:01:26 ty D][7067][tuya_ble_svc.c:1400] ble_send_data_to_app finish. len:49, send_ret:0x0

[09:59:33.189]收←◆[01-01 08:01:26 ty D][70bf][tuya_ble_svc.c:1172] rev ble event 15
[01-01 08:01:26 ty D][70bf][tuya_ble_svc.c:1130] Dev Rev BT Package
[01-01 08:01:26 ty D][70bf][tuya_ble_data_handler.c:144] recive sub_pkg desc:3, no:1, pack_len:65, total_len:65
[01-01 08:01:26 ty D][70bf][tuya_ble_svc.c:1744] ble get conn stat:3
[01-01 08:01:26 ty D][70bf][tuya_ble_data_handler.c:838] Parse BT Cmd:0x801b mode:12
[01-01 08:01:26 ty D][7051][tuya_ble_svc.c:1065] Rev BT user Data. type:801b
[01-01 08:01:26 ty D][7051][tuya_ble_svc.c:1066] netcfg cb:21b33c9
[01-01 08:01:26 ty D][7051][tuya_ble_data_handler.c:1100] rece downlink subpacket, curSubpacketNo:1, curSubpacketLen:22, receivedLen:976, totalLen:976
[01-01 08:01:26 ty D][7051][tuya_ble_svc.c:1744] ble get conn stat:3
[01-01 08:01:26 ty D][7051][tuya_ble_svc.c:1500] tuya_ble_sdk_send. cmd:0x801b encrpyt:12
[01-01 08:01:26 ty D][7051][tuya_ble_svc.c:1744] ble get conn stat:3
[01-01 08:01:26 ty D][7067][tuya_ble_mutli_tsf_protocol.c:216] pkg max len:243, sunpkg_offset:3, send_data:49
[01-01 08:01:26 ty I][7067][tkl_bluetooth.c:302] send notify ok
[01-01 0
[09:59:33.274]收←◆8:01:26 ty D][7051][tuya_ble_svc.c:1082] Rev large data trans. subCmd:1
[01-01 08:01:26 ty D][7051][tuya_ble_netcfg.c:104] Rev Net Cfg ex:{"ccode":"CN","mac":"","pwd":"j6110508","reg":{"ca":"-----BEGIN CERTIFICATE-----\nMIICGDCCAb2gAwIBAgIRAI4kVSI/DR6TlRqvv0C7A4EwCgYIKoZIzj0EAwIwNTEd\nMBsGA1UECgwUU2luYmF5IEdyb3VwIExpbWl0ZWQxFDASBgNVBAMMC0Nsb3VkIFJD\nQSAyMCAXDTIyMDUzMTE2MDAwMFoYDzIwNzIwNjMwMTU1OTU5WjA1MR0wGwYDVQQK\nDBRTaW5iYXkgR3JvdXAgTGltaXRlZDEUMBIGA1UEAwwLQ2xvdWQgUkNBIDIwWTAT\nBgcqhkjOPQIBBggqhkjOPQMBBwNCAATqjfuzyXh8P0MuuWrHPUSoOp9OqsSHnCvD\nL18EK/Wfo1MOaQoIAy82zaC+ggjQph0AwCICTfzauMr0AUKw28Vko4GrMIGoMA4G\nA1UdDwEB/wQEAwIBBjBFBgNVHSUEPjA8BggrBgEFBQcDAQYIKwYBBQUHAwIGCCsG\nAQUFBwMDBggrBgEFBQcDCAYIKwYBBQUHAwQGCCsGAQUFBwMJMA8GA1UdEwQIMAYB\nAf8CAQEwHwYDVR0jBBgwFoAUjW5pdbOF5Bmvn+MrD+yG6tcJ7yowHQYDVR0OBBYE\nFI1uaXWzheQZr5/jKw/shurXCe8qMAoGCCqGSM49B
[09:59:33.314]收←◆AMCA0kAMEYCIQDaNnFTr66L\nnhYY+55C234I7MWBveU3RLg5pcVzb5EYUAIhAJN4+4goF3rrb03/o2AsmPMLLZ+U\njTjeCXrTXUyxBt2N\n-----END CERTIFICATE-----","code":"AY-PROD","pub":1,"url0":"h3-ay.iot-dns.com","url1":"h6-ay.iot-dns.com"},"ssid":"joinet","token
[01-01 08:01:26 ty D][7051][tuya_svc_devos.c:900] set netcfgstat, stage:0, status:0
[01-01 08:01:26 ty D][7051][tuya_ble_svc.c:1744] ble get conn stat:3
[01-01 08:01:26 ty N][7051][tuya_svc_devos.c:931] get netcfg stat:{"type":0,"stage":0,"status":0}
[01-01 08:01:26 ty D][7051][tuya_ble_svc.c:1744] ble get conn stat:3
[01-01 08:01:26 ty D][7051][tuya_ble_svc.c:1500] tuya_ble_sdk_send. cmd:0x801f encrpyt:12
[01-01 08:01:26 ty D][7051][tuya_ble_svc.c:1744] ble get conn stat:3
[01-01 08:01:26 ty D][7051][tuya_ble_svc.c:1744] ble get conn stat:3
[01-01 08:01:26 ty D][7051][tuya_ble_svc.c:1500] tuya_ble_sdk_send. cmd:0x801c encrpyt:12
[01-01 08:01:26 ty D][7051][tuya_ble_svc.c:1744] ble get conn stat:3
[01-01 08:01:26 ty D][7051][tuya_wifi_link.c:453] netcfg data evt
[01-01 08:01:26 ty N][7051][tuya_wifi_link.c:644] app set ccode CN
[01-01 08:01:26 ty D][7051][tuya_wifi_connect.c:80] ap_info_v2 read success
[01-01 08:01:26 ty N][7051][tuya_wifi_connect.c:88] fast connect mode:1
[01-01 08:01:26 ty N][7051][tuya_devos_utils.c:1555] set psk30 cfg 1
[01-01 08:01:26 ty D][7051][simple_flash_protected.c:397] protected write [rcs.active][612]
[01-01 08:01:27 ty D][7067][tuya_ble_svc.c:1400] ble_send_data_to_app finish. len:49, send_ret:0x0
[01-01 08:01:27 ty D][7067][tuya_ble_mutli_tsf_protocol.c:216] pkg max len:243, sunpkg_offset:3, send_data:81
[01-01 08:01:27 ty I][7067][tkl_bluetooth.c:302] send notify ok
[01-01 08:01:27 ty D][7067][tuya_ble_svc.c:1400] ble_send_data_to_app finish. len:81, send_ret:0x0
[01-01 08:0
[09:59:33.389]收←◆1:27 ty D][7067][tuya_ble_mutli_tsf_protocol.c:216] pkg max len:243, sunpkg_offset:3, send_data:49
[01-01 08:01:27 ty I][7067][tkl_bluetooth.c:302] send notify ok
[01-01 08:01:27 ty D][7051][simple_flash_protected.c:452] protected write ret:0
[01-01 08:01:27 ty D][7067][tuya_ble_svc.c:1400] ble_send_data_to_app finish. len:49, send_ret:0x0

[09:59:33.570]收←◆[01-01 08:01:27 ty D][7051][tuya_cert_manager.c:919] psk key was 3.0
[01-01 08:01:27 ty D][7051][tuya_cert_manager.c:898] psk_id len:49
[01-01 08:01:27 ty D][7051][tuya_cert_manager.c:899] psk_id_arr 49 <0x60700d78>
03 af 48 0c 8e 94 12 a2 08 cb 6a 76 b7 12 44 0e f1 3a 6e 31 d3 35 01 98 26 b2 ef 65 d9 9a f2 b9 e0 60 a5 14 40 74 c9 c9 a1 8a ed 27 48 22 01 9c 82 

[01-01 08:01:27 ty D][7051][tuya_cert_manager.c:952] pub was 1,use mf psk key
[01-01 08:01:27 ty D][7051][tuya_svc_netmgr_linkage.c:172] link[2] stage[0] type[0] [2]
[01-01 08:01:27 ty D][7051][tuya_bt_link.c:174] active event, type:0, stage:0
[01-01 08:01:27 ty D][7051][tuya_svc_devos.c:233] activate type 0
[01-01 08:01:27 ty D][7067][tuya_svc_devos_activate_token.c:109] token activate start 0x607009f8
[01-01 08:01:27 ty D][7067][tuya_svc_devos.c:890] state change from 1 to 2
[01-01 08:01:27 ty D][7051][svc_netcfg_qrcode.c:117] activate evt
[01-01 08:01:27 ty D][7051][tuya_wifi_netcfg.c:358] active event, type:0, stage:0 info->linkage:2
[01-01 08:01:27 ty D][7067][netcfg_module.c:407] netcfg module stop type:0x10020
[01-01 08:01:27 ty D][7067][ap_netcfg.c:1508] ap cfg stop:65568,0
[01-01 08:01:27 ty D][7067][wifi_netcfg_frame_sniffer.c:80] ----unregister netcfgType:0x10020
[01-01 08:01:27 ty D][7051][tuya_wifi_netcfg.c:821] Netcfg Finish. type:0x10004, ssid:joinet, passwd:j6110508
[01-01 08:01:27 ty D][7051][tuya_wifi_netcfg.c:108] gw_wsm->md:0
[01-01 08:01:27 ty N][7051][tuya_wifi_status.c:167] cur stat:5  0x219625d -->>
[01-01 08:01:27 ty N][7051][tuya_wifi_status.c:169] wifi netstat changed to:5  -->>
[01-01 08:01:27 ty N][7051][tuya_wifi_status.c:173] report wifi netstat[5] to callback  -->>
recv language 0
[01-01 08:01:27 ty D][7051][tuya_ai_toy.c:722] network status = 5, region AY, language 0
[01-01 08:01:27 ty D][7051][tuya_led.c:170] pinname:1
[01-01 08:01:27 ty D][7051][svc_netcfg_qrcode.c:99] stop config

[09:59:33.786]收←◆[01-01 08:01:27 ty D][7067][netcfg_module.c:407] netcfg module stop type:0x10100
[01-01 08:01:27 ty D][7067][wifi_netcfg_frame_transporter.c:494] ----destroy Transporter,session:0x607096d0
[01-01 08:01:27 ty N][7067][tuya_wifi_netcfg.c:206] stop smt cfg mthd:0, ret:0
[01-01 08:01:27 ty E][7067][tuya_wifi_netcfg.c:201] all netcfg stop fail:-1
[01-01 08:01:27 ty N][7067][tuya_wifi_netcfg.c:206] stop smt cfg mthd:0, ret:0
[01-01 08:01:27 ty D][7067][tuya_wifi_connect.c:344] __wifi_net_conn.
[01-01 08:01:27 ty D][7067][tuya_wifi_connect.c:247] status:5,mode:2
[01-01 08:01:27 ty D][7067][tuya_wifi_connect.c:348] __wifi_net_conn, enable_station_ap:0
[01-01 08:01:27 ty D][7067][tuya_wifi_link.c:656] set ccode CN to hardware
[01-01 08:01:27 ty D][7067][tal_wifi.c:742] set ccode to env CN
tkl_wifi_set_country_code_v2: set country code [CN]
[01-01 08:01:27 ty D][7067][tuya_wifi_connect.c:247] status:5,mode:2
[01-01 08:01:27 ty N][7067][tuya_wifi_connect.c:88] fast connect mode:0
[01-01 08:01:27 ty D][7067][tal_wifi_reconnet.c:152] wifi auto reconn ssid joinet
[01-01 08:01:27 ty D][7067][tuya_wifi_connect.c:80] ap_info_v2 read success
[01-01 08:01:27 ty N][7067][tal_wifi_reconnet.c:170] fast connect
tkl_wifi_station_fast_connect
[01-01 08:01:27 ty D][7067][tuya_wifi_connect.c:387] wf fast connect success!
[01-01 08:01:27 ty N][7067][tuya_wifi_status.c:167] cur stat:5  0x219625d -->>

[09:59:33.816]收←◆rc rates:[400 L-CCK/LP/1.0M] [1000 HT/LGI/MCS0] [401 L-CCK/LP/2.0M] [1002 HT/LGI/MCS2] [403 L-CCK/LP/11.0M] [1203 HT/SGI/MCS3] [3 L-CCK/SP/11.0M] [402 L-CCK/LP/5.5M] [1003 HT/LGI/MCS3] [1207 HT/SGI/MCS7] 

[09:59:33.851]收←◆[01-01 08:01:27 ty D][70bf][tkl_bluetooth.c:322] PHY_UPDATE_COMPLETE status:0 , rx_phy: 2, tx_phy:2 


[09:59:33.876]收←◆_wifi_event_cb 1
EVENT_WIFI_STA_CONNECTED 1

[09:59:33.916]收←◆_netif_event_cb 0
WFE_CONNECTED 0
__notify_wifi_event report event: 0
[01-01 08:01:27 ty N][7067][tal_wifi_reconnet.c:278] wifi status changed to 0, stat: 1
[01-01 08:01:27 ty D][7067][tuya_svc_devos.c:900] set netcfgstat, stage:2, status:0
[01-01 08:01:27 ty D][7067][tuya_ble_svc.c:1744] ble get conn stat:3
[01-01 08:01:27 ty N][7067][tuya_svc_devos.c:931] get netcfg stat:{"type":0,"stage":2,"status":0}
[01-01 08:01:27 ty D][7067][tuya_ble_svc.c:1744] ble get conn stat:3
[01-01 08:01:27 ty D][7067][tuya_ble_svc.c:1500] tuya_ble_sdk_send. cmd:0x801f encrpyt:12
[01-01 08:01:27 ty D][7067][tuya_ble_svc.c:1744] ble get conn stat:3
[01-01 08:01:27 ty D][7067][tuya_wifi_link.c:295] stat:6
[01-01 08:01:27 ty D][7067][tuya_svc_netmgr_linkage.c:104] link[2][1] is_up[1] active_link[2][1] status[0]
[01-01 08
[09:59:34.016]收←◆:01:27 ty E][7067][tuya_svc_mqtt_client.c:1511] handle null
[01-01 08:01:27 ty D][7067][tuya_app_main.c:278] network status changed!
[01-01 08:01:27 ty D][7067][tuya_app_main.c:280] linkage status changed, current status is up
[01-01 08:01:27 ty D][7067][tuya_svc_devos_activate_token.c:92] token activate link up
[01-01 08:01:27 ty N][7067][tuya_wifi_status.c:167] cur stat:6  0x219625d -->>
[01-01 08:01:27 ty N][7067][tuya_wifi_status.c:169] wifi netstat changed to:6  -->>
[01-01 08:01:27 ty N][7067][tuya_wifi_status.c:173] report wifi netstat[6] to callback  -->>
recv language 0
[01-01 08:01:27 ty D][7051][tuya_svc_devos_activate_token.c:75] token activate get cloud url
[01-01 08:01:27 ty D][7067][tuya_ai_toy.c:722] network status = 6, region AY, language 0
[01-01 08:01:27 ty D][7067][tal_wifi_reconnet.c:297] wifi connected in check
[01-01 08:01:27 ty D][7067][tuya_ble_mutli_tsf_protocol.c:216] pkg max len:243, sunpkg_offset:3, send_data:81
[01-01 08:01:27 ty I][7067][tkl_bluetooth.c:302] send notify ok
[01-01 08:01:27 ty I][7038][ble_gap.c:5516] GAP procedure initiated: 
[01-01 08:01:27 ty I][7038][ble_gap.c:5518] 

[01-01 08:01:27 ty D][7067][tuya_ble_svc.c:1400] ble_send_data_to_app finish. len:81, send_ret:0x0
[01-01 08:01:27 ty N][7038][tkl_bluetooth.c:200] [BLE_GAP_EVENT_CONNECT param]interval max-32 min-32 timeout 0x:258

[01-01 08:01:27 ty D][7051][simple_flash.c:2125] fuzzy delete name:tls_ca0  

[09:59:34.172]收←◆[01-01 08:01:27 ty D][7051][tuya_cert_manager.c:463] load tls_ca_cnt fail. no ca in local db
[01-01 08:01:27 ty D][7051][iot_httpc.c:1238] http_iot_dns_get_cloud_url start
[01-01 08:01:27 ty D][7051][iot_httpc.c:1284] http_dns region AY, send: {"region":"AY","env":"1C24","config":[{"key":"httpUrl","need_ca":false},{"key":"mqttUrl","need_ca":false},{"key":"httpsPSKUrl","need_ca":false},{"key":"mqttsPSK3Url","need_ca":false},{"key":"httpsStdUrl","need_ca":true},{"key":"mqttsStdUrl","need_ca":true},{"key":"ghostUrl","need_ca":true}]}
[01-01 08:01:27 ty D][7051][tuya_register_center.c:429] rcs.urlx:h6-ay.iot-dns.com
[01-01 08:01:27 ty D][7051][iot_httpc.c:1288] get url config:https://h6-ay.iot-dns.com/v2/url_config
[01-01 08:01:27 ty D][7051][httpc.c:635] Connect: h6-ay.iot-dns.com Port: 443  -->>
[01-01 08:01:27 ty D][7051][uni_network.c:301] unw_gethostbyname h6-ay.iot-dns.com, prio 1
[etharp] make ip/mac static, [192.168.1.1] --- [f0:10:90:27:b6:9d]
--- etharp_update_arp_entry 583: 0 28009be0 5
[01-01 08:01:27 ty D][7051][uni_network.c:329] use system dns ip 47.116.185.69 for domain h6-ay.iot-dns.com

[01-01 08:01:27 ty D][7051][uni_network.c:213] cache dns [h6-ay.iot-dns.com]<->[47.116.185.69]
tkl_net_socket_create type(0), fd(0)!
[01-01 08:01:27 ty D][7051][tcp_transporter.c:75] bind ip:c0a8017d port:0 ok

[09:59:34.217]收←◆[01-01 08:01:27 ty D][7051][tuya_tls.c:1022] MAX SECURITY_LEVEL:1, TUYA SECURITY_LEVEL:1, mode:1
[01-01 08:01:27 ty D][7051][tuya_tls.c:1031] TUYA_TLS Begin Connect h6-ay.iot-dns.com:443
[01-01 08:01:27 ty D][7051][tuya_tls.c:779] mbedtls authmode: MBEDTLS_SSL_VERIFY_REQUIRED
[01-01 08:01:27 ty D][7051][tuya_tls.c:792] load tuya cert.
[01-01 08:01:27 ty D][7051][tuya_cert_manager.c:209] iot-dns url
[01-01 08:01:27 ty D][7051][tuya_tls.c:1122] socket fd is set. set to inner send/recv to handshake
[01-01 08:01:28 ty N][70bf][tkl_bluetooth.c:281] BLE_GAP_EVENT_CONN_UPDATE,0x32,0x0,0x258

[09:59:34.267]收←◆[01-01 08:01:28 ty E][7038][ap_netcfg.c:1236] ap_broadcast_data_make fail
[01-01 08:01:28 ty D][7e6b][ap_netcfg.c:790] ap thread exit
cleared tcp_ps_flag.
[01-01 08:01:28 ty D][7e6b][tuya_tls.c:1266] TUYA_TLS Disconnect ENTER
[01-01 08:01:28 ty D][7e6b][tuya_tls.c:1291] TUYA_TLS Disconnect Success
[01-01 08:01:28 ty D][7e6b][tuya_tls.c:984] tuya_tls_connect_destroy.
[01-01 08:01:28 ty D][7e6b][tal_thread.c:265] Del Thrd:ap_tcp_v4
[01-01 08:01:28 ty D][7e6b][tal_thread.c:240] Thread:ap_tcp_v4 Exec Finish. Set to Del Stat
[01-01 08:01:28 ty D][7e6b][tal_thread.c:95] del list not empty...deleting 0x6070a40c, next 0x60700020
[01-01 08:01:28 ty D][7e6b][tal_thread.c:103] Final Free Thread:ap_tcp_v4, is_self:1
[01-01 08:01:28 ty D][7e6b][tal_thread.c:107] delay to delete thread self
[01-01 08:01:28 ty D][7e6b][tal_thread.c:119] finally delete thread self
[01-01 08:01:28 ty D][7e6b][tal_thread.c:73] real delete thread:0x607e6bc0

[09:59:35.145]收←◆[01-01 08:01:28 ty D][7038][tuya_ble_svc.c:1586] nw stat change:0->1, rpt to app.
[01-01 08:01:28 ty D][7038][tuya_ble_svc.c:1559] tuya_ble_send_dev_nw_stat:1, force:1
[01-01 08:01:28 ty D][7038][tuya_ble_svc.c:1744] ble get conn stat:3
[01-01 08:01:28 ty D][7038][tuya_ble_svc.c:1500] tuya_ble_sdk_send. cmd:0x1e encrpyt:12
[01-01 08:01:28 ty D][7038][tuya_ble_svc.c:1744] ble get conn stat:3
[01-01 08:01:28 ty D][7067][tuya_ble_mutli_tsf_protocol.c:216] pkg max len:243, sunpkg_offset:3, send_data:33
[01-01 08:01:28 ty I][7067][tkl_bluetooth.c:302] send notify ok
[01-01 08:01:28 ty D][7067][tuya_ble_svc.c:1400] ble_send_data_to_app finish. len:33, send_ret:0x0

[09:59:35.280]收←◆[01-01 08:01:29 ty D][7051][tuya_tls.c:752] mbedtls_cert_pkey_free.
[01-01 08:01:29 ty D][7051][tuya_tls.c:1184] handshake finish for h6-ay.iot-dns.com. set send/recv to user set
[01-01 08:01:29 ty D][7051][tuya_tls.c:1189] TUYA_TLS Success Connect h6-ay.iot-dns.com:443 Suit:TLS-ECDHE-ECDSA-WITH-CHACHA20-POLY1305-SHA256
[01-01 08:01:29 ty D][7051][httpc.c:637] Connect: h6-ay.iot-dns.com Port: 443  --<< ,r:0

[09:59:35.398]收←◆[01-01 08:01:29 ty D][7051][tls_transporter.c:93] tls transporter close socket fd:0
[01-01 08:01:29 ty D][7051][tcp_transporter.c:173] tcp transporter close socket fd:0
[01-01 08:01:29 ty D][7051][tls_transporter.c:101] tls transporter close tls handler:0x607ebf30
[01-01 08:01:29 ty D][7051][tuya_tls.c:1266] TUYA_TLS Disconnect ENTER
[01-01 08:01:29 ty D][7051][tuya_tls.c:1291] TUYA_TLS Disconnect Success
[01-01 08:01:29 ty D][7051][tuya_tls.c:984] tuya_tls_connect_destroy.
[01-01 08:01:29 ty D][7051][iot_httpc.c:1306] httpUrl:[http://a.tuyacn.com/d.json][47.116.209.150]
[01-01 08:01:29 ty D][7051][iot_httpc.c:1311] mqttUrl:[m2.tuyacn.com:1883][8.153.104.51]
[01-01 08:01:29 ty D][7051][iot_httpc.c:1337] httpsStdUrl:[https://a6.tuyacn.com/d.json][8.153.105.238]
[01-01 08:01:29 ty D][7051][iot_httpc.c:1338] mqttsStdUrl:[m6.tuyacn.com:8886][47.103.59.184]
[01-01 08:01:29 ty D][7051][iot_httpc.c:1380
[09:59:35.478]收←◆] httpsPSKUrl:[https://a3.tuyacn.com/d.json][8.153.105.238]
[01-01 08:01:29 ty D][7051][iot_httpc.c:1381] mqttsPSKUrl:[m3.tuyacn.com:8886][47.116.187.34]
[01-01 08:01:29 ty D][7051][iot_httpc.c:1392] ghostUrl:[baal.tuyacn.com:443][101.132.62.80]
[01-01 08:01:29 ty D][7051][tuya_cert_manager.c:438] tls_ca_name:tls_ca0
cleared tcp_ps_flag.

[09:59:35.731]收←◆[01-01 08:01:29 ty D][7051][uni_network.c:213] cache dns [http://a.tuyacn.com/d.json]<->[47.116.209.150]

[09:59:35.967]收←◆[01-01 08:01:29 ty D][7051][ws_db_gw.c:457] gw_ai write ret:0
[01-01 08:01:29 ty D][7051][uni_network.c:213] cache dns [https://a6.tuyacn.com/d.json]<->[8.153.105.238]

[09:59:36.193]收←◆[01-01 08:01:29 ty D][7051][ws_db_gw.c:457] gw_ai write ret:0
[01-01 08:01:29 ty D][7051][uni_network.c:213] cache dns [https://a3.tuyacn.com/d.json]<->[8.153.105.238]
[01-01 08:01:29 ty D][7051][uni_network.c:213] cache dns [m2.tuyacn.com:1883]<->[8.153.104.51]

[09:59:36.423]收←◆[01-01 08:01:30 ty D][7051][ws_db_gw.c:457] gw_ai write ret:0
[01-01 08:01:30 ty D][7051][uni_network.c:213] cache dns [m6.tuyacn.com:8886]<->[47.103.59.184]

[09:59:36.689]收←◆[01-01 08:01:30 ty D][7051][ws_db_gw.c:457] gw_ai write ret:0
[01-01 08:01:30 ty D][7051][uni_network.c:213] cache dns [m3.tuyacn.com:8886]<->[47.116.187.34]
[01-01 08:01:30 ty D][7051][uni_network.c:213] cache dns [baal.tuyacn.com:443]<->[101.132.62.80]
[01-01 08:01:30 ty D][7051][tuya_cert_manager.c:467] tls_ca_cnt:1 and parse:1
[01-01 08:01:30 ty D][7051][tuya_cert_manager.c:497] Parse DER tls_ca0:540 success
[01-01 08:01:30 ty D][7051][iot_httpc.c:1402] end
[01-01 08:01:30 ty D][7051][tuya_svc_devos_activate_token.c:53] token activate get meta
[01-01 08:01:30 ty D][7051][iot_httpc.c:3053] modules:[{\"otaChannel\":9,\"softVer\":\"1.0.1\",\"online\":true}]
[01-01 08:01:30 ty D][7051][iot_httpc.c:3056] options:{\"isFK\":false,\"otaChannel\":0,\"sdkFullVer\":\"tuyaos-ai_3.12.14_T5_T5AI_0.0.47\"}
[01-01 08:01:30 ty D][7051][iot_httpc.c:979] Post Data: {"token":"CbLT5hLt","softVer":"1.0.1","productKey":"e3jrgtmuqsljru1t","protocolVer":"2.3","baselineVer":"40.00","devId":"6c8fe182e372413fc5f8rt","hid":"d8c80c6efce9","modules":"[{\"otaChannel\":9,\"softVer\":\"1.0.1\",\"online\":true}]","devAttribute":12867,"cadVer":"1.0.5","cdVer":"1.0.0","options":"{\"isFK\":false,\"otaChannel\":0,\"sdkFullVer\":\"tuyaos-ai_3.12.14_T5_T5AI_0.0.47\"}","t":90}
[01-01 08:01:30 ty D][7051][iot_httpc.c:991] Post URL: https://a6.tuyacn.com/d.json?a=tuya.device.active&et=3&t=90&uuid=01b724905e9e4c3e&v=4.4&sign=e0bb7fc528ad3fda390899db1fa013f1
[01-01 08:01:30 ty D][7051][httpc.c:635] Connect: a6.tuyacn.com Port: 443  -->>
[01-01 08:01:30 ty D][7051][uni_network.c:301] unw_gethostbyname a6.tuyacn.com, prio 1
[01-01 08:01:30 ty D][7051][uni_network.c:317] use dynamic dns ip:8.153.105.238 for domain:a6.tuyacn.com
tkl_net_socket_create type(0), fd(0)!
[01-01 08:01:30 ty D][7051][tcp_transporter.c:75] bind ip:c0a8017d port:0 ok

[09:59:36.719]收←◆[01-01 08:01:30 ty D][7051][tuya_tls.c:1022] MAX SECURITY_LEVEL:1, TUYA SECURITY_LEVEL:1, mode:1
[01-01 08:01:30 ty D][7051][tuya_tls.c:1031] TUYA_TLS Begin Connect a6.tuyacn.com:443
[01-01 08:01:30 ty D][7051][tuya_tls.c:779] mbedtls authmode: MBEDTLS_SSL_VERIFY_REQUIRED
[01-01 08:01:30 ty D][7051][tuya_tls.c:792] load tuya cert.
[01-01 08:01:30 ty D][7051][tuya_cert_manager.c:213] p_url:a6.tuyacn.com, rcs.urlx:h6-ay.iot-dns.com
[01-01 08:01:30 ty D][7051][tuya_cert_manager.c:236] tuya public url
[01-01 08:01:30 ty D][7051][tuya_cert_manager.c:1100] parse crt <0> len <540> ret <0>
[01-01 08:01:30 ty D][7051][tuya_tls.c:1122] socket fd is set. set to inner send/recv to handshake

[09:59:37.791]收←◆[01-01 08:01:31 ty D][7051][tuya_tls.c:752] mbedtls_cert_pkey_free.
[01-01 08:01:31 ty D][7051][tuya_tls.c:1184] handshake finish for a6.tuyacn.com. set send/recv to user set
[01-01 08:01:31 ty D][7051][tuya_tls.c:1189] TUYA_TLS Success Connect a6.tuyacn.com:443 Suit:TLS-ECDHE-ECDSA-WITH-CHACHA20-POLY1305-SHA256
[01-01 08:01:31 ty D][7051][httpc.c:637] Connect: a6.tuyacn.com Port: 443  --<< ,r:0

[09:59:38.243]收←◆[01-01 08:01:32 ty D][7051][iot_httpc.c:619] Decode Rev:{"result":{"capability":1025,"devId":"6c8fe182e372413fc5f8rt","dstIntervals":[],"localKey":"Ofh3ZPU3iMs5s(43","resetFactory":false,"schema":"[{\"mode\":\"rw\",\"property\":{\"type\":\"bool\"},\"id\":1,\"type\":\"obj\"},{\"mode\":\"ro\",\"property\":{\"min\":0,\"max\":100,\"scale\":0,\"step\":1,\"type\":\"value\"},\"id\":2,\"type\":\"obj\"},{\"mode\":\"rw\",\"property\":{\"min\":0,\"max\":100,\"scale\":0,\"step\":1,\"type\":\"value\"},\"id\":3,\"type\":\"obj\"},{\"mode\":\"ro\",\"property\":{\"range\":[\"none\",\"charging\",\"charge_done\"],\"type\":\"enum\"},\"id\":5,\"type\":\"obj\"}]"
[09:59:38.328]收←◆,"schemaId":"e1mr043c","secKey":"Z7k|Q3@$$>'6AN}p","stdTimeZone":"+08:00","timeZone":"+08:00"},"t":1754013578,"success":true}
[08-01 09:59:38 ty N][7051][tuya_svc_online_log.c:253] timeout,delete uf local log
[08-01 09:59:38 ty D][7051][tls_transporter.c:93] tls transporter close socket fd:0
[08-01 09:59:38 ty D][7051][tcp_transporter.c:173] tcp transporter close socket fd:0
[08-01 09:59:38 ty D][7051][tls_transporter.c:101] tls transporter close tls handler:0x607e5350
[08-01 09:59:38 ty D][7051][tuya_tls.c:1266] TUYA_TLS Disconnect ENTER
[08-01 09:59:38 ty D][7051][tuya_tls.c:1291] TUYA_TLS Disconnect Success
[08-01 09:59:38 ty D][7051][tuya_tls.c:984] tuya_tls_connect_destroy.
[08-01 09:59:38 ty D][7051][tuya_svc_devos_activate_token.c:23] token activate parse meta
cleared tcp_ps_flag.

[09:59:38.358]收←◆[08-01 09:59:38 ty D][7051][tuya_svc_devos_activate.c:230] cloud_reset:0 local_reset:1
[08-01 09:59:38 ty D][7051][tuya_devos_stride.c:129] write stride to flash:0

[09:59:38.801]收←◆[08-01 09:59:38 ty D][7051][ws_db_gw.c:374] gw_di write ret:0

[09:59:39.046]收←◆[08-01 09:59:38 ty D][7051][ws_db_gw.c:507] schema write success
[08-01 09:59:38 ty D][7051][tuya_devos_utils.c:1185] create dev_cntl Success 
[08-01 09:59:38 ty D][7051][tuya_app_main.c:188] SOC TUYA-Cloud Status:1
[08-01 09:59:38 ty D][7051][tuya_bt_link.c:221] receive post active event
[08-01 09:59:38 ty N][7051][tuya_ble_svc.c:591] upd login key, bound stat:1
[08-01 09:59:38 ty D][7067][tuya_ble_sdk.c:572] adv_stat:1, conn_stat:0, adv_scan_stat:255
[08-01 09:59:38 ty D][7067][tuya_ble_sdk.c:588] ble pre stat:2, curr stat:1
[08-01 09:59:38 ty D][7067][tuya_ble_svc.c:247] upd adv para, send conn_req beacon.
[08-01 09:59:38 ty D][7067][tuya_ble_svc.c:1744] ble get conn stat:3
[08-01 09:59:38 ty D][7051][tuya_wifi_netcfg.c:451] gw_wsm.stat[2]
[08-01 09:59:38 ty D][7051][tuya_svc_devos.c:900] set netcfgstat, stage:3, status:9
[08-01 09:59:38 ty D][7051][tuya_ble_svc.c:1744] ble get conn stat:3
[08-01 09:59:38 ty N][7051][tuya_svc_devos.c:931] get netcfg stat:{"type":0,
[09:59:39.121]收←◆"stage":3,"status":9}
[08-01 09:59:38 ty D][7051][tuya_ble_svc.c:1744] ble get conn stat:3
[08-01 09:59:38 ty D][7051][tuya_ble_svc.c:1500] tuya_ble_sdk_send. cmd:0x801f encrpyt:15
[08-01 09:59:38 ty D][7051][tuya_ble_svc.c:1744] ble get conn stat:3
[08-01 09:59:38 ty N][7051][tuya_ai_battery.c:346] active event
[08-01 09:59:38 ty N][7038][tuya_ai_battery.c:187] --- aaa tal sw timer callback
[08-01 09:59:38 ty D][7038][tuya_ai_battery.c
[09:59:39.162]收←◆:534] battery low = 0, charging = 0
[08-01 09:59:38 ty N][7038][tuya_ai_battery.c:494] __tuya_ai_toy_battery_callback, capacity: 40
[08-01 09:59:38 ty D][7038][smart_frame.c:4366] rept chan:4
[08-01 09:59:38 ty D][7038][smart_frame.c:428] dp<2> check. need_update:1 pv_stat:0 trig_t:0 dp_rept_type:0 force_send:1 prop_tp:1
[08-01 09:59:38 ty D][7038][smart_frame.c:450] dp_cntl value:0, dp_data value:40
[08-01 09:59:38 ty D][7038][smart_frame.c:582] is_need_update:1, is_dp_passive:0, pv_stat:1, uling_cnt:0
[08-01 09:59:38 ty D][7038][smart_frame.c:428] dp<5> check. need_update:1 pv_stat:0 trig_t:0 dp_rept_type:0 force_send:1 prop_tp:3
[08-01 09:59:38 ty D][7038][smart_frame.c:582] is_need_update:1, is_dp_passive:0, pv_stat:1, uling_cnt:0
[08-01 09:59:38 ty D][7038][smart_frame.c:2923] ble dp rept_type:0, data:{"2":40,"5":"none"}
[08-01 09:59:38 ty D][7038][tuya_ble_dp.c:685] rpt dp by large trans:{"dps":{"2":40,"5":"none"},"BLE_CHAN_INFO":{"R_SN":1,"FLAG":0}}
[08-01 09:59:38 ty N][7067][tuya_ble_svc.c:1439] ble adv updated
[08-01 09:59:38 ty D][7067][tuya_ble_mutli_tsf_protocol.c:216] pkg max len:243, sunpkg_offset:3, send_data:81
[08-01 09:59:38 ty I][7067][tkl_bluetooth.c:302] send notify ok
[08-01 09:59:38 ty D][7067][tuya_ble_svc.c:1400] ble_send_data_to_app finish. len:81, send_ret:0x0
[08-01 09:59:38 ty D][7067][tuya_ble_data_handler.c:967] start to send subpack cmd:801f, subcmd:d, subpack_len:65
[08-01 09:59:38 ty D][7067][tuya_ble_svc.c:1744] ble get conn stat:3
[08-01 09:59:38 ty D][7067][tuya_ble_svc.c:1500] tuya_ble_sdk_send. cmd:0x801f encrpyt:15
[08-01 09:59:38 ty D][7067][tuya_ble_svc.c:1744] ble get conn stat:3
[08-01 09:59:38 ty D][7067][tuya_ble_data_handler.c:1014] send subpack, subpack_no:1, subpack_len:65, subpack_sent:
[09:59:39.242]收←◆65, pkg_offset:2, pkg_data_len:65
[08-01 09:59:38 ty D][7067][tuya_ble_mutli_tsf_protocol.c:216] pkg max len:243, sunpkg_offset:3, send_data:113
[08-01 09:59:38 ty I][7067][tkl_bluetooth.c:302] send notify ok
[08-01 09:59:38 ty D][7067][tuya_ble_svc.c:1400] ble_send_data_to_app finish. len:113, send_ret:0x0

[09:59:39.277]收←◆[08-01 09:59:39 ty D][7051][ws_db_gw.c:457] gw_ai write ret:0
[08-01 09:59:39 ty D][7051][simple_flash_protected.c:397] protected write [gw_wsm][163]

[09:59:39.388]收←◆[08-01 09:59:39 ty D][7051][simple_flash_protected.c:452] protected write ret:0

[09:59:39.629]收←◆[08-01 09:59:39 ty D][7051][ws_db_gw.c:257] gw_wsm write ret:0
[08-01 09:59:39 ty D][7051][tuya_bt_link.c:174] active event, type:0, stage:1
[08-01 09:59:39 ty D][7051][tuya_bt_link.c:117] bt netcfg fin
[08-01 09:59:39 ty D][7051][tuya_bt_link.c:190] upd adv by act event
[08-01 09:59:39 ty N][7051][tuya_ble_svc.c:591] upd login key, bound stat:1
[08-01 09:59:39 ty D][7067][tuya_ble_sdk.c:572] adv_stat:1, conn_stat:0, adv_scan_stat:255
[08-01 09:59:39 ty D][7067][tuya_ble_sdk.c:588] ble pre stat:1, curr stat:1
[08-01 09:59:39 ty D][7067][tuya_ble_svc.c:247] upd adv para, send conn_req beacon.
[08-01 09:59:39 ty D][7067][tuya_ble_svc.c:1744] ble get conn stat:3
[08-01 09:59:39 ty E][7051][base_event.c:156] ret:-2
[08-01 09:59:39 ty D][7051][tuya_wifi_netcfg.c:358] active event, type:0, stage:1 info->linkage:2
[08-01 09:59:39 ty D][7051][tuya_svc_devos.c:900] set netcfgstat, stage:3, status:9
[08-01 09:59:39 ty D][7051][tuya_ble_svc.c:1744] ble get conn stat:3
[08-01 09:59:
[09:59:39.714]收←◆39 ty N][7051][tuya_svc_devos.c:931] get netcfg stat:{"type":0,"stage":3,"status":9}
[08-01 09:59:39 ty D][7051][tuya_ble_svc.c:1744] ble get conn stat:3
[08-01 09:59:39 ty D][7051][tuya_ble_svc.c:1500] tuya_ble_sdk_send. cmd:0x801f encrpyt:15
[08-01 09:59:39 ty D][7051][tuya_ble_svc.c:1744] ble get conn stat:3
[08-01 09:59:39 ty D][7051][tuya_wifi_netcfg.c:415] after activated mthd:0 start_mode:4 nc_tp [9] md [3]
[08-01 09:59:39 ty D][7051][tuya_svc_devos.c:890] state change from 2 to 3
[08-01 09:59:39 ty D][7051][simple_flash_protected
[09:59:39.760]收←◆.c:397] protected write [gw_wsm][163]
[08-01 09:59:39 ty N][7067][tuya_ble_svc.c:1439] ble adv updated
[08-01 09:59:39 ty D][7067][tuya_ble_mutli_tsf_protocol.c:216] pkg max len:243, sunpkg_offset:3, send_data:81
[08-01 09:59:39 ty I][7067][tkl_bluetooth.c:302] send notify ok
[08-01 09:59:39 ty D][7067][tuya_ble_svc.c:1400] ble_send_data_to_app finish. len:81, send_ret:0x0
[08-01 09:59:39 ty N][7067][tuya_svc_devos.c:106] already bind
[08-01 09:59:39 ty D][7067][tuya_app_main.c:188] SOC TUYA-Cloud Status:3
[08-01 09:59:39 ty I][7067][mqc_app.c:542] mqc app start ...
[08-01 09:59:39 ty D][7067][mqc_app.c:589] MQTT Protocol URL:m6.tuyacn.com:8886 Port:8883
[08-01 09:59:39 ty I][7067][tal_thread.c:200] thread_create name:mqtt_thread,stackDepth:5120,totalstackDepth:165376,priority:4
[08-01 09:59:39 ty D][7067][mqc_app.c:633] mqtt send topic:smart/device/out/6c8fe182e372413fc5f8rt
[08-01 09:59:39 ty D][7067][mqc_app.c:635] mqtt-media send topic:d/m/o/6c8fe182e372413fc5f8rt
[08-01 09:59:39 ty N][7067][tuya_svc_mqtt_client.c:185] [mqtts://m6.tuyacn.com:8886] mqtt state change 0 -> 1
[08-01 09:59:39 ty D][709b][tal_thread.c:224] Thread:mqtt_thread Exec Start. Set to Running Stat 0x60709b30
[08-01 09:59:39 ty N][709b][tuya_svc_mqtt_client.c:954] connect to mqtt broker mqtts://m6.tuyacn.com:8886 port 8886
[08-01 09:59:39 ty N][709b][tuya_svc_mqtt_client.c:966] mqtt client ip:192.168.1.125, link-tp:2
[08-01 09:59:39 ty D][7067][mqc_app.c:112] mq_pro:64 cnt:4
[08-01 09:59:39 ty D][7067][mqc_app.c:112] mq_pro:19 cnt:5
[08-01 09:59:39 ty D][7067][mqc_app.c:112] mq_pro:22 cnt:6
[08-01 09:59:39 ty D][7067][mqc_app.c:112] mq_pro:55 cnt:7
[08-01 09:59:39 ty D][7067][mqc_app.c:112] mq_pro:15 cnt:8
[08-01 09:59:39 ty D][709b][uni_network.c:301] unw_gethostbyname m6.tuyacn.com, prio 1
[08-01 09:59:39 ty D][709b][uni_network.c:317] use dynamic dns ip:47.103.59.184 for domain:m6.tuyacn.com
tkl_net_socket_create type(0), fd(0)!
[08-01 09:59:39 ty D][709b][tcp_transporter.c:75] bind ip:c0a8017d port:43365 ok
[08-01 09:59:39 ty D][7051][simple_flash_protected.c:452] protected wri
[09:59:39.780]收←◆te ret:0
[08-01 09:59:39 ty D][7067][tuya_svc_upgrade.c:1424] upgrade active success
[08-01 09:59:39 ty D][7067][tuya_svc_online_log.c:205] mqtt log topic init log/realtime/6c8fe182e372413fc5f8rt
[08-01 09:59:39 ty D][7067][tuya_svc_online_log.c:206] mqtt log topic init log/runstat/6c8fe182e372413fc5f8rt
[08-01 09:59:39 ty D][7067][tuya_svc_online_log.c:313] svc online log active success
[08-01 09:59:39 ty D][7067][ty_meta_report.c:190] need_report 1 mode 0
[08-01 09:59:39 ty N][7067][tuya_svc_devos_daemons.c:314] Main Module: v1.0.0 (1.0.1)
[08-01 09:59:39 ty D][7067][mqc_app.c:112] mq_pro:11 cnt:9
[08-01 09:59:39 ty D][7067][mqc_app.c:112] mq_pro:41 cnt:10
[08-01 09:59:39 ty D][7067][mqc_app.c:112] mq_pro:27 cnt:11
[08-01 09:59:39 ty D][7067][tuya_devos_localkey_update.c:272] localkey.init------>localkey[O]
fs flash conf:
	read_size:
[09:59:39.905]收←◆ 256
	prog_size: 256
	block_size: 4096
	block_count: 256
	cache_size: 4096
	lookahead_size: 4096
	block_cycles: 500
lfs_flashbd_createcfg(0x2801fec8 {.context=0x2801fbc0, .read=0x221258d, .prog=0x22125f9, .erase=0x2212669, .sync=0x22126b1, .read_size=256, .prog_size=256, .block_size=4096, .block_count=256}, 0x2032014)
mount littlefs / ok
[08-01 09:59:39 ty D][7067][tuya_ai_display.c:279] tkl_fs_mount
[08-01 09:59:39 ty E][7067][astro_timer.c:326] astro timer read fail:-6
[08-01 09:59:39 ty E][7067][astro_timer.c:861] read fail:-6
[08-01 09:59:39 ty D][7067][astro_timer.c:154] update time tp:60000, delay:117s
[08-01 09:59:39 ty D][7067][mqc_app.c:112] mq_pro:100 cnt:12
[08-01 09:59:39 ty D][7067][tuya_bt_link.c:238] __bt_run_event
[08-01 09:59:39 ty D][7067][tuya_wifi_protect.c:1634] wifi protect ap info init
[08-01 09:59:39 ty I][7067][tal_thread.c:200] thread_create name:lan_sock_loop,stackDepth:4096,totalstackDepth:169472,priority:3
[08-01 09:59:39 ty D][7067][tuya_lan_sock.c:312] init sock loop success
[08-01 09:59:39 ty D][7067][tuya_wifi_link.c:222] reg wifi lan enable
[08-01 09:59:39 ty D][7067][tuya_svc_lan.c:2391] lan init success
[08-01 09:59:39 ty D][7067][tuya_ble_svc.c:658] meta rpt for ble v2 crpt
[08-01 09:59:39 ty D][7067][ty_meta_report.c:190] need_report 1 mode 0
[08-01 09:59:39 ty D][7067][ty_meta_report.c:190] need_report 1 mode 0
[08-01 09:59:39 ty D][7067][tuya_devos_localkey_update.c:246] Localkey update run
[08-01 09:59:39 ty D][7067][ty_meta_report.c:190] need_report 1 mode 0
[08-01 09:59:39 ty D][7e50][tal_thread.c:224] Thread:lan_sock_loop Exec Start. Set to Running Stat 0x607e50f8
[08-01 09:59:39 ty D][709b][tuya_tls.c:1022] MAX SECURITY_LEVEL:1, TUYA SECURITY_LEVEL:1, mode:1
[08-01 09:59:39 ty D][709b][tuya_tls.c:1031] TUYA_TLS Begin Connect m6.tuyacn.com:8886
[08-01 09:59:39 ty D][709b][tuya_tls.c:779] mbedtls authmode: MBEDTLS_SSL_VERIFY_REQUIRED
[08-01 09:59:39 ty D][709b][tuya_tls.c:792] load tuya cert.
[08-01 09:59:39 ty D][709b][tuya_cert_manager.c:213] p_url:m6.tuyacn.com:8886, rcs.urlx:h6-ay.iot-dns.com
[08-01 09:59:39 ty D][709b][tuya_cert_manager.c:236] tuya public url
[08-01 09:59:39 ty D][709b][tuya_cert_manager.c:1100] parse crt <0> len <540> ret <0>
[08-01 09:59:39 ty D][709b][tuya_tls.c:1122] socket fd is set. set to inner send/recv to handshake

[09:59:40.761]收←◆tkl_net_socket_create type(0), fd(1)!
[08-01 09:59:40 ty D][7038][tuya_lan_sock.c:334] reg post queue 1
tkl_net_socket_create type(1), fd(2)!
[08-01 09:59:40 ty D][7038][tuya_lan_sock.c:334] reg post queue 2
[08-01 09:59:40 ty N][7038][tuya_svc_lan.c:973] udp ip: 192.168.1.125

[09:59:40.932]收←◆[08-01 09:59:40 ty D][709b][tuya_tls.c:752] mbedtls_cert_pkey_free.
[08-01 09:59:40 ty D][709b][tuya_tls.c:1184] handshake finish for m6.tuyacn.com. set send/recv to user set
[08-01 09:59:40 ty D][709b][tuya_tls.c:1189] TUYA_TLS Success Connect m6.tuyacn.com:8886 Suit:TLS-ECDHE-ECDSA-WITH-AES-128-GCM-SHA256
[08-01 09:59:40 ty N][709b][tuya_svc_mqtt_client.c:1003] setup mqtt transporter success
[08-01 09:59:40 ty N][709b][tuya_svc_mqtt_client.c:185] [mqtts://m6.tuyacn.com:8886] mqtt state change 1 -> 2
[08-01 09:59:40 ty N][709b][tuya_svc_mqtt_client.c:1029] send mqtt connect success
[08-01 09:59:40 ty N][709b][tuya_svc_mqtt_client.c:185] [mqtts://m6.tuyacn.com:8886] mqtt state change 2 -> 3

[09:59:40.952]收←◆[08-01 09:59:40 ty D][7051][ws_db_gw.c:257] gw_wsm write ret:0
[08-01 09:59:40 ty D][7051][tuya_ble_cryption.c:500] write encrpt flag to flash:1

[09:59:41.052]收←◆[08-01 09:59:40 ty N][709b][tuya_svc_mqtt_client.c:1059] mqtt connect success
[08-01 09:59:40 ty N][709b][tuya_svc_mqtt_client.c:185] [mqtts://m6.tuyacn.com:8886] mqtt state change 3 -> 4
[08-01 09:59:40 ty N][709b][tuya_svc_mqtt_client.c:796] mqtt topics cnt 1
[08-01 09:59:40 ty N][709b][tuya_svc_mqtt_client.c:810] send mqtt subscribe success
[08-01 09:59:40 ty N][709b][tuya_svc_mqtt_client.c:185] [mqtts://m6.tuyacn.com:8886] mqtt state change 4 -> 5

[09:59:41.117]收←◆[08-01 09:59:40 ty D][7051][tuya_ble_svc.c:658] meta rpt for ble v2 crpt
[08-01 09:59:40 ty D][7051][ty_meta_report.c:190] need_report 0 mode 0
[08-01 09:59:40 ty E][7051][tuya_bt_link.c:160] tuya_ble_save_beacon_key err -1
[08-01 09:59:40 ty N][7051][tuya_ble_svc.c:1573] bt rpt conn stat:9
[08-01 09:59:40 ty D][7051][tuya_ble_svc.c:1744] ble get conn stat:3
[08-01 09:59:40 ty D][7051][tuya_ble_svc.c:1500] tuya_ble_sdk_send. cmd:0x22 encrpyt:12
[08-01 09:59:40 ty D][7051][tuya_ble_svc.c:1744] ble get conn stat:3
[08-01 09:59:40 ty D][7067][tuya_ble_mutli_tsf_protocol.c:216] pkg max len:243, sunpkg_offset:3, send_data:33
[08-01 09:59:40 ty I][7067][tkl_bluetooth.c:302] send notify ok
[08-01 09:59:40 ty N][709b][tuya_svc_mqtt_client.c:1100] mqtt subscribe success
[08-01 09:59:40 ty N][709b][tuya_svc_mqtt_client.c:185] [mqtts://m6.tuyacn.com:8886] mqtt state change 5 -> 6
[08-01 09:59:40 ty D][7051][mqc_app.c:831] Send MQTT Msg.P:18 N:565 Q:1 Data:{"reqType":"sntp"}
[08-01 09:59:40 ty D][7051][tuya_svc_mqtt_client.c:441] packet id: 2
[08-01 09:59:40 ty D][7067][tuya_ble_svc.c:1400] ble_send_data_to_app finish. len:33, send_ret:0x0
[08-01 09:59:40 ty D][7067][mqc_app.c:421] mqtt connect success
[08-01 09:59:40 ty D][7067][tuya_svc_netmgr_linkage.c:104] link[2][1] is_up[1] active_link[2][1] status[2]
[08-01 09:59:40 ty N][7067][tuya_wifi_status.c:167] cur stat:7  0x219625d -->>
[08-01 09:59:40 ty N][7067][tuya_wifi_status.c:169] wifi netstat changed to:7  -->>
[08-01 09:59:40 ty N][7067][tuya_wifi_status.c:173] report wifi netstat[7] to callback  -->>
recv language 0
[08-01 09:59:40 ty D][7067][tuya_ai_toy.c:722] network status = 7, region AY, language 0
[08-01 09:59:40 ty D][7067][tuya_ai_toy.c:830] report volume dp to cloud
[08-01 09:59:40 ty D][7067][smart_frame.c:4366] rept chan:1
[08-01 09:59:40 ty D][7067][smart_frame.c:428] dp<3> check. need_update:1 pv_stat:0 trig_t:0 dp_rept_type:0 force_send:0 prop_tp:1
[08-01 09:59:40 ty D][7067][smart_frame.c:450]
[09:59:41.197]收←◆ dp_cntl value:0, dp_data value:10
[08-01 09:59:40 ty D][7067][smart_frame.c:582] is_need_update:1, is_dp_passive:0, pv_stat:2, uling_cnt:0
[08-01 09:59:40 ty D][7067][smart_frame.c:2801] dp rept_type:0, data:{"3":10}
[08-01 09:59:40 ty D][7067][mqc_app.c:831] Send MQTT Msg.P:4 N:566 Q:1 Data:{"dps":{"3":10}}
[08-01 09:59:40 ty D][7067][tuya_svc_mqtt_client.c:441] packet id: 3
[08-01 09:59:40 ty D][7067][tuya_led.c:170] pinname:1
----------------------------------------------------------------------------------------
get connected ap in
[09:59:41.237]收←◆fo
ssid: joinet
bssid: b0:95:8e:03:a0:0f
security: 16, chan: 11
psk: ********************************, pmf: 1
pwd: ****************
ip: 192.168.1.125
netmask: 255.255.255.0
gw: 192.168.1.1
dns1: 192.168.1.1
----------------------------------------------------------------------------------------
[08-01 09:59:40 ty D][7067][tuya_wifi_connect.c:80] ap_info_v2 read success
[08-01 09:59:40 ty I][7038][ble_gap.c:5141] ble_gap_terminate:

[08-01 09:59:40 ty I][7038][ble_gap.c:5117] GAP procedure initiated: terminate connection; conn_handle=1 hci_reason=13

[08-01 09:59:40 ty N][7e2c][tuya_ai_client.c:89] ***** ai client state 0 -> 1 *****
[08-01 09:59:40 ty D][7038][tuya_ble_svc.c:1609] <tuya_ble_monitor_timer_cb> cloud connected, stop adv!
[08-01 09:59:40 ty D][7038][tuya_ble_svc.c:1586] nw stat change:1->2, rpt to app.
[08-01 09:59:40 ty D][7038][tuya_ble_svc.c:1559] tuya_ble_send_dev_nw_stat:2, force:0
[08-01 09:59:40 ty D][7038][tuya_ble_svc.c:1744] ble get conn stat:3
[08-01 09:59:40 ty D][7038][tuya_ble_svc.c:1500] tuya_ble_sdk_send. cmd:0x1e encrpyt:15
[08-01 09:59:40 ty D][7038][tuya_ble_svc.c:1744] ble get conn stat:3
[08-01 09:59:40 ty D][709b][smart_frame.c:2342] msg_data:{"dps":{"3":10}}, mqtt async dp cb:0
[08-01 09:59:40 ty N][7e2c][tuya_ai_protocol.c:234] ai proto init success, sl:4
[08-01 09:59:40 ty D][7e2c][mqc_app.c:831] Send MQTT Msg.P:9000 N:567 Q:0 Data:{"bizType":"EVENT","bizId":"5225e4b3-2a5c-4926-aba0-7bbc-08ee56dc","data":{"type":"thingGetServerInfo"}}
[08-01 09:59:40 ty D][709b][smart_frame.c:224] set short dp rate rule, dpID:3, curr_t:1754013580, rept_cnt:1.
[08-01 09:59:40 ty D][709b][smart_frame.c:232] set long dp rate rule, dpID:3, curr_t:1754013580, rept_cnt:0.
[08-01 09:59:40 ty D][709b][smart_frame.c:241] set all dp rate rule, dpID:3, curr_t:1754013580, rept_cnt:0.
[08-01 09:59:41 ty I][70bf][tkl_bluetooth.c:318] BLE_GAP_EVENT_SUBSCRIBE
[08-01 09:59:41 ty N][70bf][tkl_bluetooth.c:262] BLE_GAP_EVENT_DISCONNECT(0x216)

[08-01 09:59:41 ty D][70bf][tuya_ble_svc.c:1172] rev ble event 6
[08-01 09:59:41 ty N][70bf][tuya_ble_svc.c:810] Ble Disonnected
[08-01 09:59:41 ty N][70bf][tuya_ble_data_handler.c:71] ble reset sn
[08-01 09:59:41 ty N][70bf][tuya_ble_data_handler.c:85] ble clear pair rand
[08-01 09:59:41 ty N][70bf][tuya_ble_svc.c:1738] ble set conn stat:2

[09:59:41.342]收←◆[08-01 09:59:41 ty D][709b][mqc_app.c:374] Rev MQTT:{"data":{"t":1754013581268,"reqType":"sntp"},"protocol":19,"s":1224706,"t":1754013581,"type":"update"}

[09:59:41.387]收←◆[08-01 09:59:41 ty D][7067][tuya_wifi_connect.c:55] ap_info_v2 write success
[08-01 09:59:41 ty D][7067][smart_frame.c:2749] sync chan:1
[08-01 09:59:41 ty D][7067][tuya_app_main.c:278] network status changed!
[08-01 09:59:41 ty D][7067][tuya_app_main.c:280] linkage status changed, current status is up
[08-01 09:59:41 ty D][7067][tuya_app_main.c:282] mqtt is connected!
[08-01 09:59:41 ty D][7067][tuya_ble_sdk.c:572] adv_stat:255, conn_stat:0, adv_scan_stat:255
[08-01 09:59:41 ty D][7067][tuya_ble_sdk.c:588] ble pre stat:1, curr stat:1
[08-01 09:59:41 ty D][7067][tuya_ble_mutli_tsf_protocol.c:216] pkg max len:243, sunpkg_offset:3, send_data:33
[08-01 09:59:41 ty E][7067][tuya_ble_svc.c:1393] bt hal send fail.-28689
[08-01 09:59:41 ty D][7067][tuya_ble_svc.c:1400] ble_send_data_to_app finish. len:33, send_ret:0xffff8fef
[08-01 09:59:41 ty D][7067][tuya_ble_sdk.c:572] adv_stat:0, conn_stat:0, adv_scan_stat:255
[08-01 09:59:41 ty D][7067][tuya_ble_sdk.c:588] ble pre stat:1, curr stat:0
[08-01 09:59:41 ty D][7067][tal_wifi.c:795] <tal_wifi_lpen> disable_cnt:2
[08-01 09:59:41 ty D][7067][tal_sleep.c:69] <tal_cpu_lp> disable_cnt:1
[08-01 09:59:41 ty E][7051][tuya_bt_link.c:160] tuya_ble_save_beacon_key err -1

[09:59:41.452]收←◆[08-01 09:59:41 ty D][709b][mqc_app.c:374] Rev MQTT:{"data":{"bizType":"EVENT","data":{"data":{"data":{"clientId":"KSMiKpY1r3P4Rl5A0wFYXeX2XQeEj1XFtbbz9TbNCSxhybQN5CQ7p5jFZTAEOGVo","tcpport":8884,"credential":"J97A9mUx0FsR/HxEYznjhzNQPjaXOqf1mGZsgYzTF4s=","hosts":["47.117.152.38","47.117.189.148"],"expire":1754017181,"derivedIv":"JWRZMV0oRbIEbwbS","derivedAlgorithm":"AES-CBC","username":"6c8fe182e372413fc5f8rt"},"success":true,"errorCode":"","time":1754013581430},"type":"cloudReturnServerInfo"},"bizId":"5225e4b3-2a5c-4926-aba0-7bbc-08ee56dc"},"protocol":9000,"s":1396738,"t":1754013581}
[08-01 09:59:41 ty N][7e2c][tuya_ai_client.c:201] connect refresh success,expire:1754017181 current:1754013581 next 3590 s
[08-01 09:59:41 ty N][7e2c][tuya_ai_client.c:89] ***** ai client state 1 -> 2 *****
[08-01 09:59:41 ty N][7e2c][tuya_ai_protocol.c:1752] connect to host :47.117.152.38, port: 8884
[08-01 09:59:41 ty D][7e2c][uni_network.c:297] use ip 47.117.152.38 for domain 47.117.152.38
tkl_net_socket_create type(0), fd(3)!
[08-01 09:59:41 ty D][7e2c][tcp_transporter.c:75] bind ip:c0a8017d port:49313 ok
[08-01 09:59:41 ty N][7e2c][tuya_ai_client.c:89] ***** ai client state 2 -> 3 *****
[08-01 09:59:41 ty N][7e2c][tuya_ai_client.c:89] ***** ai client state 3 -> 4 *****
[08-01 09:59:41 ty N][7e2c][tuya_ai_client.c:89] ***** ai client state 4 -> 5 *****

[09:59:41.532]收←◆[08-01 09:59:41 ty N][7e2c][tuya_ai_protocol.c:1593] auth success
[08-01 09:59:41 ty N][7e2c][tuya_ai_protocol.c:1609] connection id:037e95d9-9997-459a-81ca-746c318b6b17
[08-01 09:59:41 ty N][7e2c][tuya_ai_client.c:89] ***** ai client state 5 -> 6 *****
[08-01 09:59:41 ty N][7e2c][tuya_ai_toy.c:775] connected to server
[08-01 09:59:41 ty D][707d][tuya_devos_health.c:71] feed watchdog

[09:59:41.762]收←◆[08-01 09:59:41 ty D][7e50][tuya_lan_sock.c:127] reg lan sock 1,read:0x21cc609

[09:59:41.917]收←◆[08-01 09:59:41 ty D][7067][tuya_svc_online_log.c:161] load env success T5
[08-01 09:59:41 ty D][7067][tuya_svc_online_log.c:164] env T5 same. need not to update

[09:59:42.083]收←◆[08-01 09:59:41 ty D][7e2c][tuya_ai_toy.c:1136] toy alert type=4
[08-01 09:59:41 ty D][7a16][tuya_simple_player.c:313] [1-0x28017fd8] TUYA_SIMPLE_CMD_PLAY, state:0, local:///ai_toy_alert
[08-01 09:59:41 ty D][79ed][tuya_adecode.c:332] [0x60784a38-ToneDecoder] TUYA_ADECODE_CMD_RESET, state:5
[08-01 09:59:41 ty D][7849][tuya_amix.c:101] [0x607820b8] 1
[08-01 09:59:41 ty D][7849][tuya_amix.c:112] reset track:0x60795b68, success
[08-01 09:59:41 ty D][7849][tuya_amix.c:170] on cmd result:0
[08-01 09:59:41 ty D][79ed][tuya_aqueue.c:276] send finish. ret:0
[08-01 09:59:41 ty D][79ed][tuya_adecode.c:555] on cmd [0], result:0
[08-01 09:59:41 ty D][7a16][tuya_aqueue.c:276] send finish. ret:0
[08-01 09:59:41 ty D][7a16][tuya_astream.c:459] use the stream type:2
[08-01 09:59:41 ty D][7a16][tuya_astream.c:362] __bin_stream_open enter
[08-01 09:59:41 ty D][7a16][tuya_amix_fifo.c:68] tuya amix fifo create success:65536, 0x607e3870
[08-01 09:59:41 ty D][7a16][tuya_astream.c:369] __bin_stream_open exit
[08-01 09:59:41 ty D][79ed][tuya_adecode.c:348] [0x60784a38-ToneDecoder] TUYA_ADECODE_CMD_SET_SOURCE, state:0, codec type:1, channel:0, rate:0, bits:0
[08-01 09:59:41 ty D][79ed][tuya_adecode.c:555] on cmd [1], result:0
[08-01 09:59:41 ty D][7a16][tuya_aqueue.c:276] send finish. ret:0
[08-01 09:59:41 ty D][7e2c][tuya_aqueue.c:276] send finish. ret:0
[08-01 09:59:41 ty D][7e2c][tuya_simple_player.c:156] __simple_play exit
[08-01 09:59:41 ty D][7e2c][tuya_astream.c:407] ringbuf write done!
[08-01 09:59:41 ty E][7e2c][tuya_simple_player.c:299] feed exit:0
set status 寰呭懡
[08-01 09:59:41 ty D][7e2c][tuya_ai_toy.c:782] lowpower_timer start
[08-01 09:59:41 ty N][7e2c][tuya_ai_biz.c:930] ai biz init success
[08-01 09:59:41 ty D][7e2c][tuya_ai_chat_protocol.c:421] tuya ai ready...
[08-01 09:59:41 ty D][7a16][tuya_simple_player.c:527] on cmd [0] result:0
[08-01 09:59:41 ty D][7a16][tuya_simple_player.c:410] [1-0x28017fd8] TUYA_SIMPLE_CMD_RESUME, state:3
[08-01 09:59:41 ty D][79ed][tuya_adecode.c:384] [0x60784a38-ToneDecoder] TUYA_ADECODE_CMD_START, state:1
[08-01 09:59:41 ty D][7849][tuya_amix.c:101] [0x607820b8] 0
[08-01 09:59:41 ty D][7849][tuya_amix.c:106] wake up thread to work
[08-01 09:59:41 ty D][7849][tuya_amix.c:170] on cmd result:0
[08-01 09:59:41 ty D][79ed][tuya_adecode.c:555] on cmd [2], result:0
[08-01 09:59:41 ty D][7a16][tuya_aqueue.c:276] send finish. ret:0
[08-01 09:59:41 ty D][7a16][tuya_ai_toy.c:179] player event: 2, src: 1, url: local:///ai_toy_alert
[08-01 09:59:41 ty D][7a16][tuya_ai_toy.c:226] player start event 0
[08-01 09:59:41 ty D][7a16][tuya_simple_player.c:258] __simple_get_status
[08-01 09:59:41 ty D][7a16][tuya_simple_player.c:527] on cmd [3] result:0
[08-01 09:59:41 ty D][79ed][tuya_adecode.c:511] not need create resample

[09:59:42.764]收←◆[08-01 09:59:42 ty D][7e50][tuya_lan_sock.c:127] reg lan sock 2,read:0x21ce3e9

[09:59:43.385]收←◆[08-01 09:59:43 ty D][7067][smart_frame.c:2653] Start To Sync Dev:6c8fe182e372413fc5f8rt, dp_rept_chan:1
[08-01 09:59:43 ty D][7067][smart_frame.c:3109] Pack local dp, reset_flow_ctl:1,dpnum:4.
[08-01 09:59:43 ty D][7067][smart_frame.c:3135] <__sf_pack_local_obj_data> reset_flow_ctl, dpId:2.
[08-01 09:59:43 ty D][7067][smart_frame.c:3135] <__sf_pack_local_obj_data> reset_flow_ctl, dpId:5.
[08-01 09:59:43 ty D][7067][smart_frame.c:3254] dp time:NULL
[08-01 09:59:43 ty D][7067][smart_frame.c:3259] final pack:{"2":40,"5":"none"}
[08-01 09:59:43 ty D][7067][smart_frame.c:2801] dp rept_type:0, data:{"2":40,"5":"none"}
[08-01 09:59:43 ty D][7067][smart_frame.c:2819] rept form:sync
[08-01 09:59:43 ty D][7067][mqc_app.c:831] Send MQTT Msg.P:4 N:568 Q:1 Data:{"dps":{"2":40,"5":"none"},"type":"sync"}
[08-01 09:59:43 ty D][7067][tuya_svc_mqtt_client.c:441] packet id: 4
[08-01 09:59:43 ty D][7067][smart_frame.c:2701] dp sync rslt:0x0, 0x0
[08-01 09:59:43 ty D][7067][smart_frame.c:2740] Sync Finish

[09:59:43.430]收←◆[08-01 09:59:43 ty D][709b][smart_frame.c:2342] msg_data:{"dps":{"2":40,"5":"none"},"type":"sync"}, mqtt async dp cb:0
[08-01 09:59:43 ty D][709b][smart_frame.c:224] set short dp rate rule, dpID:2, curr_t:1754013583, rept_cnt:1.
[08-01 09:59:43 ty D][709b][smart_frame.c:232] set long dp rate rule, dpID:2, curr_t:1754013583, rept_cnt:0.
[08-01 09:59:43 ty D][709b][smart_frame.c:241] set all dp rate rule, dpID:2, curr_t:1754013583, rept_cnt:0.
[08-01 09:59:43 ty D][709b][smart_frame.c:224] set short dp rate rule, dpID:5, curr_t:1754013583, rept_cnt:1.
[08-01 09:59:43 ty D][709b][smart_frame.c:232] set long dp rate rule, dpID:5, curr_t:1754013583, rept_cnt:0.
[08-01 09:59:43 ty D][709b][smart_frame.c:241] set all dp rate rule, dpID:5, curr_t:1754013583, rept_cnt:0.

[09:59:44.774]收←◆[08-01 09:59:44 ty D][7051][ty_meta_report.c:44] report meta to cloud
[08-01 09:59:44 ty D][7051][iot_httpc.c:979] Post Data: {"metas":{"secureVersion":"1.0.0","btScyChannel":"{\"enable\":1,\"version\":\"1.0\"}","timerCapability":1,"supportLocalKeyChange":true},"t":1754013584}
[08-01 09:59:44 ty D][7051][iot_httpc.c:991] Post URL: https://a6.tuyacn.com/d.json?a=tuya.device.meta.save&devId=6c8fe182e372413fc5f8rt&et=3&t=1754013584&v=1.0&sign=7bff2fe73f720d3f81acb5c66b7bd0a1
[08-01 09:59:44 ty D][7051][httpc.c:635] Connect: a6.tuyacn.com Port: 443  -->>
[08-01 09:59:44 ty D][7051][uni_network.c:301] unw_gethostbyname a6.tuyacn.com, prio 1
[08-01 09:59:44 ty D][7051][uni_network.c:317] use dynamic dns ip:8.153.105.238 for domain:a6.tuyacn.com
tkl_net_socket_create type(0), fd(4)!
[08-01 09:59:44 ty D][7051][tcp_transporter.c:75] bind ip:c0a8017d port:0 ok

[09:59:44.804]收←◆[08-01 09:59:44 ty D][79ed][tuya_adecode.c:562] fifo is done

[09:59:44.824]收←◆[08-01 09:59:44 ty D][7051][tuya_tls.c:1022] MAX SECURITY_LEVEL:1, TUYA SECURITY_LEVEL:1, mode:1
[08-01 09:59:44 ty D][7051][tuya_tls.c:1031] TUYA_TLS Begin Connect a6.tuyacn.com:443
[08-01 09:59:44 ty D][7051][tuya_tls.c:779] mbedtls authmode: MBEDTLS_SSL_VERIFY_REQUIRED
[08-01 09:59:44 ty D][7051][tuya_tls.c:792] load tuya cert.
[08-01 09:59:44 ty D][7051][tuya_cert_manager.c:213] p_url:a6.tuyacn.com, rcs.urlx:h6-ay.iot-dns.com
[08-01 09:59:44 ty D][7051][tuya_cert_manager.c:236] tuya public url
[08-01 09:59:44 ty D][7051][tuya_cert_manager.c:1100] parse crt <0> len <540> ret <0>
[08-01 09:59:44 ty D][7051][tuya_tls.c:1122] socket fd is set. set to inner send/recv to handshake

[09:59:45.030]收←◆[08-01 09:59:44 ty D][79ed][tuya_adecode.c:399] [0x60784a38-ToneDecoder] TUYA_ADECODE_CMD_FINISH, state:4

[09:59:45.095]收←◆[08-01 09:59:44 ty D][79ed][tuya_simple_player.c:590] enter callback event = 1

[08-01 09:59:44 ty D][79ed][tuya_simple_player.c:595] [1-0x28017fd8]:TUYA_ADECODE_EVENTS_COMPLETE:play complete

[08-01 09:59:44 ty D][79ed][tuya_simple_player.c:626] leave callback event = 1

[08-01 09:59:44 ty D][79ed][tuya_adecode.c:555] on cmd [4], result:0
[08-01 09:59:44 ty D][7a16][tuya_simple_player.c:424] [1-0x28017fd8] TUYA_SIMPLE_CMD_FINISH, state:2, loop:0
[08-01 09:59:44 ty D][7a16][tuya_astream.c:376] __bin_stream_close enter
[08-01 09:59:44 ty D][7a16][tuya_amix_fifo.c:75] tuya amix fifo destroy: 0x607e3870
[08-01 09:59:44 ty D][7a16][tuya_astream.c:381] __bin_stream_close exit
[08-01 09:59:44 ty D][7a16][tuya_ai_toy.c:179] player event: 6, src: 1, url: local:///ai_toy_alert
[08-01 09:59:44 ty D][7a16][tuya_ai_toy.c:184] alert player stop event
[08-01 09:59:44 ty D][7a16][tuya_simple_player.c:527] on cmd [4] result:0

[09:59:45.897]收←◆[08-01 09:59:45 ty D][7051][tuya_tls.c:752] mbedtls_cert_pkey_free.
[08-01 09:59:45 ty D][7051][tuya_tls.c:1184] handshake finish for a6.tuyacn.com. set send/recv to user set
[08-01 09:59:45 ty D][7051][tuya_tls.c:1189] TUYA_TLS Success Connect a6.tuyacn.com:443 Suit:TLS-ECDHE-ECDSA-WITH-CHACHA20-POLY1305-SHA256
[08-01 09:59:45 ty D][7051][httpc.c:637] Connect: a6.tuyacn.com Port: 443  --<< ,r:0

[09:59:46.037]收←◆[08-01 09:59:45 ty D][7051][iot_httpc.c:619] Decode Rev:{"result":true,"t":1754013586,"success":true}
[08-01 09:59:46 ty D][7051][tls_transporter.c:93] tls transporter close socket fd:4
[08-01 09:59:46 ty D][7051][tcp_transporter.c:173] tcp transporter close socket fd:4
[08-01 09:59:46 ty D][7051][tls_transporter.c:101] tls transporter close tls handler:0x607eafd0
[08-01 09:59:46 ty D][7051][tuya_tls.c:1266] TUYA_TLS Disconnect ENTER
[08-01 09:59:46 ty D][7051][tuya_tls.c:1291] TUYA_TLS Disconnect Success
[08-01 09:59:46 ty D][7051][tuya_tls.c:984] tuya_tls_connect_destroy.

[09:59:46.112]收←◆cleared tcp_ps_flag.

[09:59:46.366]收←◆[08-01 09:59:46 ty E][7051][uf_flash_file_app.c:338] uf_open netcfg_log err 8

[09:59:47.392]收←◆[08-01 09:59:47 ty D][7e50][tuya_svc_lan.c:1765] new client connect. nums:1 cfd:4 ip:0xc0a8013a
[08-01 09:59:47 ty D][7e50][tuya_lan_sock.c:334] reg post queue 4
[08-01 09:59:47 ty D][7e50][tuya_lan_sock.c:127] reg lan sock 4,read:0x21cdaad
[08-01 09:59:47 ty D][7e50][tuya_svc_lan.c:1700] fd:4, wk_stat = 2, type = 3

[09:59:47.457]收←◆[08-01 09:59:47 ty D][7e50][tuya_svc_lan.c:1700] fd:4, wk_stat = 2, type = 5
[08-01 09:59:47 ty D][7e50][tuya_svc_lan.c:1278] hmac randB lo 32 <0x60700430>
ec b3 f5 a6 d2 ec 11 8a 72 2f b0 ce 5b 13 10 8f 03 ed d9 43 6a 9b 0a d8 36 7b db 2e 25 e7 bb aa 

[08-01 09:59:47 ty D][7e50][tuya_svc_lan.c:1279] hmac randB in 32 <0x60700340>
ec b3 f5 a6 d2 ec 11 8a 72 2f b0 ce 5b 13 10 8f 03 ed d9 43 6a 9b 0a d8 36 7b db 2e 25 e7 bb aa 

[08-01 09:59:47 ty D][7e50][tuya_svc_lan.c:1700] fd:4, wk_stat = 2, type = 16
[08-01 09:59:47 ty D][7e50][smart_frame.c:3109] Pack local dp, reset_flow_ctl:0,dpnum:4.
[08-01 09:59:47 ty D][7e50][smart_frame.c:3259] final pack:{"dps":{"2":40,"3":10,"5":"none"}}
[08-01 09:59:47 ty D][7e50][tuya_svc_lan.c:1368] Send Query To App:{"dps":{"2":40,"3":10,"5":"none"}}

[09:59:49.517]收←◆[08-01 09:59:49 ty D][709b][mqc_app.c:374] Rev MQTT:{"data":{"reqType":"sigQry"},"protocol":22,"t":1754013589}
[08-01 09:59:49 ty D][709b][tuya_devos_mqc.c:138] Rev sigQry Req

[09:59:49.567]收←◆[08-01 09:59:49 ty D][709b][tuya_wifi_link.c:802] Get Rssi:-44
[08-01 09:59:49 ty D][709b][tuya_devos_utils.c:688] Get Rssi:-44
[08-01 09:59:49 ty D][709b][mqc_app.c:831] Send MQTT Msg.P:23 N:569 Q:0 Data:{"reqType":"sigQry","data":{"signal":-44}}

[09:59:49.764]收←◆[08-01 09:59:49 ty D][7051][iot_httpc.c:979] Post Data: {"type":"[\"timezone\",\"rateRule\",\"seniorAbility\",\"localMeshKey\"]","t":1754013589}
[08-01 09:59:49 ty D][7051][iot_httpc.c:991] Post URL: https://a6.tuyacn.com/d.json?a=tuya.device.dynamic.config.get&devId=6c8fe182e372413fc5f8rt&et=3&t=1754013589&v=2.0&sign=c2747b0c46ed8618fa7b7599e24f64dc
[08-01 09:59:49 ty D][7051][httpc.c:635] Connect: a6.tuyacn.com Port: 443  -->>
[08-01 09:59:49 ty D][7051][uni_network.c:301] unw_gethostbyname a6.tuyacn.com, prio 1
[08-01 09:59:49 ty D][7051][uni_network.c:317] use dynamic dns ip:8.153.105.238 for domain:a6.tuyacn.com
tkl_net_socket_create type(0), fd(5)!
[08-01 09:59:49 ty D][7051][tcp_transporter.c:75] bind ip:c0a8017d port:0 ok

[09:59:49.809]收←◆[08-01 09:59:49 ty D][7051][tuya_tls.c:1022] MAX SECURITY_LEVEL:1, TUYA SECURITY_LEVEL:1, mode:1
[08-01 09:59:49 ty D][7051][tuya_tls.c:1031] TUYA_TLS Begin Connect a6.tuyacn.com:443
[08-01 09:59:49 ty D][7051][tuya_tls.c:779] mbedtls authmode: MBEDTLS_SSL_VERIFY_REQUIRED
[08-01 09:59:49 ty D][7051][tuya_tls.c:792] load tuya cert.
[08-01 09:59:49 ty D][7051][tuya_cert_manager.c:213] p_url:a6.tuyacn.com, rcs.urlx:h6-ay.iot-dns.com
[08-01 09:59:49 ty D][7051][tuya_cert_manager.c:236] tuya public url
[08-01 09:59:49 ty D][7051][tuya_cert_manager.c:1100] parse crt <0> len <540> ret <0>
[08-01 09:59:49 ty D][7051][tuya_tls.c:1122] socket fd is set. set to inner send/recv to handshake

[09:59:50.886]收←◆[08-01 09:59:50 ty D][7051][tuya_tls.c:752] mbedtls_cert_pkey_free.
[08-01 09:59:50 ty D][7051][tuya_tls.c:1184] handshake finish for a6.tuyacn.com. set send/recv to user set
[08-01 09:59:50 ty D][7051][tuya_tls.c:1189] TUYA_TLS Success Connect a6.tuyacn.com:443 Suit:TLS-ECDHE-ECDSA-WITH-CHACHA20-POLY1305-SHA256
[08-01 09:59:50 ty D][7051][httpc.c:637] Connect: a6.tuyacn.com Port: 443  --<< ,r:0

[09:59:51.027]收←◆[08-01 09:59:50 ty D][7051][iot_httpc.c:619] Decode Rev:{"result":{"localMeshKey":{"ackId":"1","localMeshKey":"@/#6{6~]kxfi2VX0"},"seniorAbility":{},"timezone":{"ackId":"0-0","config":{"dstIntervals":[],"stdTimeZone":"+08:00"},"time":1754013590,"validTime":1800}},"t":1754013591,"success":true}
[08-01 09:59:51 ty D][7051][tls_transporter.c:93] tls transporter close socket fd:5
[08-01 09:59:51 ty D][7051][tcp_transporter.c:173] tcp transporter close socket fd:5
[08-01 09:59:51 ty D][7051][tls_transporter.c:101] tls transporter close tls handler:0x607eafd0
[08-01 09:59:51 ty D][7051][tuya_tls.c:1266] TUYA_TLS Disconnect ENTER
[08-01 09:59:51 ty D][7051][tuya_tls.c:1291] TUYA_TLS Disconnect Success
[08-01 09:59:51 ty D][7051][tuya_tls.c:984] tuya_tls_connect_destroy.
[08-01 09:59:51 ty D][7051][tuya_svc_devos_daemons.c:144] timezone: +08:00, +08:00
[08-01 09:59:51 ty D][7051][tuya_svc_devos_daemons.c:167] summer_time_zone:[], []
[08-01 09:59:51 ty N][7051][tuya_devos_utils.c:109] reset dp rate rule finish.
[08-01 09:59:51 ty D][7051][iot_httpc.c:979] Post Data: {"ackList":[{"type":"timezone","ackId":"0-0"}],"t":1754013591}
[08-01 09:59:51 ty D][7051][iot_httpc.c:991] Post URL: https://a6.tuyacn.com/d.json?a=tuya.device.dynamic.config.ack&devId=6c8fe182e372413fc5f8rt&et=3&t=1754013591&v=2.0&sign=a53507a9bbd006722b75be669a4abcd7
[08-01 09:59:51 ty D][7051][httpc.c:635] Connect: a6.tuyacn.com Port: 443  -->>
[08-01 09:59:51 ty D][7051][uni_network.c:301] unw_gethostbyname a6.tuyacn.com, prio 1
[08-01 09:59:51 ty D][7051][uni_network.c:317] use dynamic dns ip:8.153.105.238 for domain:a6.tuyacn.com
tkl_net_socket_create type(0), fd(5)!
[08-01 09:59:51 ty D][7051][tcp_transporter.c:75] bind ip:c0a8017d port:0 ok

[09:59:51.052]收←◆cleared tcp_ps_flag.
[08-01 09:59:51 ty D][7051][tuya_tls.c:1022] MAX SECURITY_LEVEL:1, TUYA SECURITY_LEVEL:1, mode:1
[08-01 09:59:51 ty D][7051][tuya_tls.c:1031] TUYA_TLS Begin Connect a6.tuyacn.com:443
[08-01 09:59:51 ty D][7051][tuya_tls.c:779] mbedtls authmode: MBEDTLS_SSL_VERIFY_REQUIRED
[08-01 09:59:51 ty D][7051][tuya_tls.c:792] load tuya cert.
[08-01 09:59:51 ty D][7051][tuya_cert_manager.c:213] p_url:a6.tuyacn.com, rcs.urlx:h6-ay.iot-dns.com
[08-01 09:59:51 ty D][7051][tuya_cert_manager.c:236] tuya public url
[08-01 09:59:51 ty D][7051][tuya_cert_manager.c:1100] parse crt <0> len <540> ret <0>
[08-01 09:59:51 ty D][7051][tuya_tls.c:1122] socket fd is set. set to inner send/recv to handshake

[09:59:51.528]收←◆[08-01 09:59:51 ty D][707d][tuya_devos_health.c:71] feed watchdog

[09:59:51.573]收←◆[08-01 09:59:51 ty N][7554][tuya_key.c:430] get key interrupt
[08-01 09:59:51 ty D][7554][tal_sleep.c:69] <tal_cpu_lp> disable_cnt:0
-- cpu sleep set enable:1, mode:0

[09:59:51.949]收←◆[08-01 09:59:51 ty D][7554][tuya_ai_toy.c:912] key process type: NORMAL_KEY
[08-01 09:59:51 ty D][7554][tuya_ai_toy.c:939] ai_MP3_play_process:NORMAL_KEY
[08-01 09:59:51 ty D][7554][tuya_ai_toy.c:942] 60

[08-01 09:59:51 ty N][7554][speaker_play.c:231] MP3_File_Path2 :/sdcard/CS-61.mp3 

tkl_fs_is_exist path:/sdcard/1.mp3 exist 
[08-01 09:59:51 ty D][7a16][tuya_simple_player.c:313] [1-0x28017fd8] TUYA_SIMPLE_CMD_PLAY, state:0, /sdcard/CS-61.mp3
[08-01 09:59:51 ty D][79ed][tuya_adecode.c:332] [0x60784a38-ToneDecoder] TUYA_ADECODE_CMD_RESET, state:5
[08-01 09:59:51 ty D][7849][tuya_amix.c:101] [0x607820b8] 1
[08-01 09:59:51 ty D][7849][tuya_amix.c:112] reset track:0x60795b68, success
[08-01 09:59:51 ty D][7849][tuya_amix.c:170] on cmd result:0
[08-01 09:59:51 ty D][79ed][tuya_aqueue.c:276] send finish. ret:0
[08-01 09:59:51 ty D][79ed][tuya_adecode.c:555] on cmd [0], result:0
[08-01 09:59:51 ty D][7a16][tuya_aqueue.c:276] send finish. ret:0
[08-01 09:59:51 ty N][781e][audio_recorder.c:615] cpu0 mem usage sram: 65224, psram: 2137472

tkl_fs_is_exist path:/sdcard/CS-61.mp3 exist 
[08-01 09:59:51 ty D][7a16][tuya_astream.c:459] use the stream type:1
tkl_fopen file success, path:/sdcard/CS-61.mp3 fd = 1

[09:59:52.024]收←◆[08-01 09:59:52 ty D][79ed][tuya_adecode.c:348] [0x60784a38-ToneDecoder] TUYA_ADECODE_CMD_SET_SOURCE, state:0, codec type:1, channel:0, rate:0, bits:0
[08-01 09:59:52 ty D][79ed][tuya_adecode.c:555] on cmd [1], result:0
[08-01 09:59:52 ty D][7a16][tuya_aqueue.c:276] send finish. ret:0
[08-01 09:59:52 ty D][7554][tuya_aqueue.c:276] send finish. ret:0
[08-01 09:59:52 ty D][7554][tuya_simple_player.c:156] __simple_play exit
[08-01 09:59:52 ty D][7554][speaker_play.c:241] tuya_speaker_service_tone_play ret =----------------------------: 0
[08-01 09:59:52 ty D][7554][tuya_ai_toy.c:944] app_speaker_play3:success
[08-01 09:59:52 ty D][7a16][tuya_simple_player.c:527] on cmd [0] result:0
[08-01 09:59:52 ty D][7a16][tuya_simple_player.c:410] [1-0x28017fd8] TUYA_SIMPLE_CMD_RESUME, state:3
[08-01 09:59:52 ty D][79ed][tuya_adecode.c:384] [0x60784a38-ToneDecoder] TUYA_ADECODE_CMD_START, state:1
[08-01 09:59:52 ty D][79ed][tuya_adecode.c:555] on cmd [2], result:0
[08-01 09:59:52 ty D][7849][tuya_amix.c:101] [0x607820b8] 0
[08-01 09:59:52 ty D][7849][tuya_amix.c:106] wake up thread to work
[08-01 09:59:52 ty D][7849][tuya_amix.c:170] on cmd result:0
[08-01 09:59:52 ty D][7a16][tuya_aqueue.c:276] send finish. ret:0
[08-01 09:59:52 ty D][7a16][tuya_ai_toy.c:179] player event: 2, src: 1, url: /sdcard/CS-61.mp3
[08-01 09:59:52 ty D][7a16][tuya_ai_toy.c:226] player start event 0
[08-01 09:59:52 ty D][7a16][tuya_simple_player.c:258] __simple_get_status
[08-01 09:59:52 ty D][7a16][tuya_simple_player.c:527] on cmd [3] result:0
[08-01 09:59:52 ty D][7554][tuya_ai_toy.c:912] key process type: RELEASE_KEY

[09:59:52.149]收←◆[08-01 09:59:52 ty D][7051][tuya_tls.c:752] mbedtls_cert_pkey_free.
[08-01 09:59:52 ty D][7051][tuya_tls.c:1184] handshake finish for a6.tuyacn.com. set send/recv to user set
[08-01 09:59:52 ty D][7051][tuya_tls.c:1189] TUYA_TLS Success Connect a6.tuyacn.com:443 Suit:TLS-ECDHE-ECDSA-WITH-CHACHA20-POLY1305-SHA256
[08-01 09:59:52 ty D][7051][httpc.c:637] Connect: a6.tuyacn.com Port: 443  --<< ,r:0
[08-01 09:59:52 ty D][79ed][tuya_afilter_resample.c:179] resampler:rate 48000 -> 16000, format 3 -> 3, channels 1 -> 1
[08-01 09:59:52 ty D][79ed][tuya_afilter_resample.c:270] fit buf success, 1024
[08-01 09:59:52 ty D][79ed][tuya_afilter_resample.c:270] fit buf success, 26

[09:59:52.169]收←◆[08-01 09:59:52 ty D][79ed][tuya_afilter_resample.c:270] fit buf success, 2330
[08-01 09:59:52 ty D][79ed][tuya_afilter_resample.c:270] fit buf success, 1032

[09:59:52.279]收←◆[08-01 09:59:52 ty D][7051][iot_httpc.c:619] Decode Rev:{"t":1754013592,"success":true}
[08-01 09:59:52 ty D][7051][tls_transporter.c:93] tls transporter close socket fd:5
[08-01 09:59:52 ty D][7051][tcp_transporter.c:173] tcp transporter close socket fd:5
[08-01 09:59:52 ty D][7051][tls_transporter.c:101] tls transporter close tls handler:0x607eafd0
[08-01 09:59:52 ty D][7051][tuya_tls.c:1266] TUYA_TLS Disconnect ENTER
[08-01 09:59:52 ty D][7051][tuya_tls.c:1291] TUYA_TLS Disconnect Success
[08-01 09:59:52 ty D][7051][tuya_tls.c:984] tuya_tls_connect_destroy.
[08-01 09:59:52 ty D][7051][iot_httpc.c:2273] dynamic cfg post data:{"ackList":[{"type":"timezone","ackId":"0-0"}],"t":1754013591}, ret:0.
bk_value:0, ty_value:0
bk_value:0, ty_value:0
[08-01 09:59:52 ty D][7051][iot_httpc.c:979] Post Data: {"data":"0","t":1754013592}
[08-01 09:59:52 ty D][7051][iot_httpc.c:991] Post URL: https://a6.tuyacn.com/d.json?a=atop.online.debug.log&devId=6c8fe182e372413fc5f8rt&et=3&t=1754013592&sign=33778b0eb6d53d83cf8db7b4b93e7838
[08-01 09:59:52 ty D][7051][httpc.c:635] Connect: a6.tuyacn.com Port: 443  -->>
[08-01 09:59:52 ty D][7051][uni_network.c:301] unw_gethostbyname a6.tuyacn.com, prio 1
[08-01 09:59:52 ty D][7051][uni_network.c:317] use dynamic dns ip:8.153.105.238 for domain:a6.tuyacn.com
tkl_net_socket_create type(0), fd(5)!
[08-01 09:59:52 ty D][7051][tcp_transporter.c:75] bind ip:c0a8017d port:0 ok
cleared tcp_ps_flag.

[09:59:52.325]收←◆[08-01 09:59:52 ty D][7051][tuya_tls.c:1022] MAX SECURITY_LEVEL:1, TUYA SECURITY_LEVEL:1, mode:1
[08-01 09:59:52 ty D][7051][tuya_tls.c:1031] TUYA_TLS Begin Connect a6.tuyacn.com:443
[08-01 09:59:52 ty D][7051][tuya_tls.c:779] mbedtls authmode: MBEDTLS_SSL_VERIFY_REQUIRED
[08-01 09:59:52 ty D][7051][tuya_tls.c:792] load tuya cert.
[08-01 09:59:52 ty D][7051][tuya_cert_manager.c:213] p_url:a6.tuyacn.com, rcs.urlx:h6-ay.iot-dns.com
[08-01 09:59:52 ty D][7051][tuya_cert_manager.c:236] tuya public url
[08-01 09:59:52 ty D][7051][tuya_cert_manager.c:1100] parse crt <0> len <540> ret <0>
[08-01 09:59:52 ty D][7051][tuya_tls.c:1122] socket fd is set. set to inner send/recv to handshake

[09:59:53.687]收←◆[08-01 09:59:53 ty D][7051][tuya_tls.c:752] mbedtls_cert_pkey_free.
[08-01 09:59:53 ty D][7051][tuya_tls.c:1184] handshake finish for a6.tuyacn.com. set send/recv to user set
[08-01 09:59:53 ty D][7051][tuya_tls.c:1189] TUYA_TLS Success Connect a6.tuyacn.com:443 Suit:TLS-ECDHE-ECDSA-WITH-CHACHA20-POLY1305-SHA256
[08-01 09:59:53 ty D][7051][httpc.c:637] Connect: a6.tuyacn.com Port: 443  --<< ,r:0

[09:59:53.817]收←◆[08-01 09:59:53 ty D][7051][iot_httpc.c:619] Decode Rev:{"result":true,"t":1754013593,"success":true}
[08-01 09:59:53 ty D][7051][tls_transporter.c:93] tls transporter close socket fd:5
[08-01 09:59:53 ty D][7051][tcp_transporter.c:173] tcp transporter close socket fd:5
[08-01 09:59:53 ty D][7051][tls_transporter.c:101] tls transporter close tls handler:0x607eafd0
[08-01 09:59:53 ty D][7051][tuya_tls.c:1266] TUYA_TLS Disconnect ENTER
[08-01 09:59:53 ty D][7051][tuya_tls.c:1291] TUYA_TLS Disconnect Success
[08-01 09:59:53 ty D][7051][tuya_tls.c:984] tuya_tls_connect_destroy.
[08-01 09:59:53 ty D][7051][tuya_svc_devos_daemons.c:57] put rst log finish

[09:59:53.853]收←◆cleared tcp_ps_flag.

[09:59:53.988]收←◆[08-01 09:59:53 ty D][79ed][tuya_adecode.c:562] fifo is done

[09:59:54.188]收←◆[08-01 09:59:54 ty D][79ed][tuya_adecode.c:399] [0x60784a38-ToneDecoder] TUYA_ADECODE_CMD_FINISH, state:4

[09:59:54.253]收←◆[08-01 09:59:54 ty D][79ed][tuya_simple_player.c:590] enter callback event = 1

[08-01 09:59:54 ty D][79ed][tuya_simple_player.c:595] [1-0x28017fd8]:TUYA_ADECODE_EVENTS_COMPLETE:play complete

[08-01 09:59:54 ty D][79ed][tuya_simple_player.c:626] leave callback event = 1

[08-01 09:59:54 ty D][79ed][tuya_adecode.c:555] on cmd [4], result:0
[08-01 09:59:54 ty D][7a16][tuya_simple_player.c:424] [1-0x28017fd8] TUYA_SIMPLE_CMD_FINISH, state:2, loop:0
[08-01 09:59:54 ty D][7a16][tuya_ai_toy.c:179] player event: 6, src: 1, url: /sdcard/CS-61.mp3
[08-01 09:59:54 ty D][7a16][tuya_ai_toy.c:188] toy->state 0
[08-01 09:59:54 ty D][7a16][tuya_simple_player.c:258] __simple_get_status
[08-01 09:59:54 ty D][7a16][tuya_ai_toy.c:222] player stop event
[08-01 09:59:54 ty D][7a16][tuya_simple_player.c:527] on cmd [4] result:0

[09:59:54.761]收←◆[08-01 09:59:54 ty D][7051][iot_httpc.c:979] Post Data: {"subId":null,"t":1754013594}
[08-01 09:59:54 ty D][7051][iot_httpc.c:991] Post URL: https://a6.tuyacn.com/d.json?a=tuya.device.upgrade.silent.get&devId=6c8fe182e372413fc5f8rt&et=3&t=1754013594&v=4.4&sign=110beecf341700810fb0b9e69c036427
[08-01 09:59:54 ty D][7051][httpc.c:635] Connect: a6.tuyacn.com Port: 443  -->>
[08-01 09:59:54 ty D][7051][uni_network.c:301] unw_gethostbyname a6.tuyacn.com, prio 1
[08-01 09:59:54 ty D][7051][uni_network.c:317] use dynamic dns ip:8.153.105.238 for domain:a6.tuyacn.com
tkl_net_socket_create type(0), fd(5)!
[08-01 09:59:54 ty D][7051][tcp_transporter.c:75] bind ip:c0a8017d port:0 ok

[09:59:54.816]收←◆[08-01 09:59:54 ty D][7051][tuya_tls.c:1022] MAX SECURITY_LEVEL:1, TUYA SECURITY_LEVEL:1, mode:1
[08-01 09:59:54 ty D][7051][tuya_tls.c:1031] TUYA_TLS Begin Connect a6.tuyacn.com:443
[08-01 09:59:54 ty D][7051][tuya_tls.c:779] mbedtls authmode: MBEDTLS_SSL_VERIFY_REQUIRED
[08-01 09:59:54 ty D][7051][tuya_tls.c:792] load tuya cert.
[08-01 09:59:54 ty D][7051][tuya_cert_manager.c:213] p_url:a6.tuyacn.com, rcs.urlx:h6-ay.iot-dns.com
[08-01 09:59:54 ty D][7051][tuya_cert_manager.c:236] tuya public url
[08-01 09:59:54 ty D][7051][tuya_cert_manager.c:1100] parse crt <0> len <540> ret <0>
[08-01 09:59:54 ty D][7051][tuya_tls.c:1122] socket fd is set. set to inner send/recv to handshake

[09:59:55.877]收←◆[08-01 09:59:55 ty D][7051][tuya_tls.c:752] mbedtls_cert_pkey_free.
[08-01 09:59:55 ty D][7051][tuya_tls.c:1184] handshake finish for a6.tuyacn.com. set send/recv to user set
[08-01 09:59:55 ty D][7051][tuya_tls.c:1189] TUYA_TLS Success Connect a6.tuyacn.com:443 Suit:TLS-ECDHE-ECDSA-WITH-CHACHA20-POLY1305-SHA256
[08-01 09:59:55 ty D][7051][httpc.c:637] Connect: a6.tuyacn.com Port: 443  --<< ,r:0

[09:59:55.992]收←◆[08-01 09:59:55 ty D][7051][iot_httpc.c:619] Decode Rev:{"t":1754013595,"success":true}
[08-01 09:59:55 ty D][7051][tls_transporter.c:93] tls transporter close socket fd:5
[08-01 09:59:55 ty D][7051][tcp_transporter.c:173] tcp transporter close socket fd:5
[08-01 09:59:55 ty D][7051][tls_transporter.c:101] tls transporter close tls handler:0x607eb430
[08-01 09:59:55 ty D][7051][tuya_tls.c:1266] TUYA_TLS Disconnect ENTER
[08-01 09:59:55 ty D][7051][tuya_tls.c:1291] TUYA_TLS Disconnect Success
[08-01 09:59:55 ty D][7051][tuya_tls.c:984] tuya_tls_connect_destroy.
[08-01 09:59:55 ty E][7051][tuya_svc_upgrade.c:903] result null
[08-01 09:59:55 ty D][7051][tuya_svc_upgrade.c:992] silent get firmware fail
[08-01 09:59:55 ty D][7051][tuya_svc_upgrade.c:461] next detect timer: 21570s

[09:59:56.028]收←◆cleared tcp_ps_flag.
