
== Rtl8710c IoT Platform ==
Chip VID: 5, Ver: 3
ROM Version: v3.0

== Boot Loader ==
Dec  5 2019:14:02:18

fwx SELE[fffffff8]
fw SELE Bitidx 3, fw1 valid 1, sn 0, fw2 valid 1, sn 1
fw2 USE, return sn 1

Boot Loader <==


== RAM Start ==

Build @ 14:39:51, Mar 14 2022

interface 0 is initialized

interface 1 is initialized

[WIFI DEBUG]tuya[01-01 18:1_os_adapt_fl2:15 TUYA Iash_write er][lr:0x9b04br

[WIFI Dd8b] mqc appEBUG]get co init ...

untry code:[01-01 18:120



Init:15 TUYA I][ializing WIlr:0x9b0574cFI ...b] thread_create name:sys_timer,stackDepth:4096,totalstackDepth:4096,priority:5

[01-01 18:12:15 TUYA I][lr:0x9b0574cb] thread_create name:cmmod,stackDepth:4096,totalstackDepth:8192,priority:4

[01-01 18:12:15 TUYA D][lr:0x9b04bcad] mq_pro:5 cnt:1

[01-01 18:12:15 TUYA D][lr:0x9b04bcad] mq_pro:31 cnt:2

[01-01 18:12:15 TUYA D][lr:0x9b0778eb] svc online log init success

[01-01 18:12:15 TUYA D][lr:0x9b057353] Thread:sys_timer Exec Start. Set to Running Stat

[01-01 18:12:15 TUYA D][lr:0x9b07047b] read m:1 f:0 l:0

[01-01 18:12:15 TUYA I][lr:0x9b0574cb] thread_create name:wk_th-0,stackDepth:5120,totalstackDepth:13312,priority:3

[01-01 18:12:15 TUYA E][lr:0x9b05b30f] wd_protected_read fails gw_bi -23

[01-01 18:12:15 TUYA D][lr:0x9b05b583] gw base read finish:-23

[01-01 18:12:15 TUYA D][lr:0x9b072d1f] ty bt cmmod regist ok:1

dev id key: 16

d4 1d 8c d9 8f 00 b2 04 e9 80 09 98 ec f8 42 7e 

[BT NOTICE]tuya_os_adapt_param_init mode:1

[BT DEBUG]tuya_os_adapt_bt_stack_init

[BT DEBUG]current_bt_mode:255, new bt_param->mode:1

[BT DEBUG]###init ble slave###

[01-01 18:12:15 TUYA D][lr:0x9b057353] Thread:cmmod Exec Start. Set to Running Stat

[01-01 18:12:15 TUYA D][lr:0x9b057353] Thread:wk_th-0 Exec Start. Set to Running Stat



WIFI initialized

[WIFI DEBUG]get country code:0



init_thread(65), Available heap 0x1BT BUILD Da71e8te: Mar 14 2022, 14:39:42 

BT RESET LOG...

read wifi mac:cc:8c:bf:a7:36:ad[BT NOTICE]BLE MAC: 0xcc-0x8c-0xbf-0xa7-0x36-0xad

BT Reset ok

bt_iqk_efuse_valid: has data



hci_tp_phy_efuse[0]=0,

bt_dump_iqk:    DUMP,

the IQK_xx  data is 0xfe,

the IQK_yy  data is 0x5,

the QDAC   data is 0x20,

the IDAC   data is 0x1c,

the QDAC2  data is 0x1e,

the IDAC2  data is 0x1b,

hci_read_rom_check: rom_version 0x0003, bt_hci_chip_id 0x0004



BT ADDRESS:

cc:8c:bf:a7:36:ad:



 WRITE  physical FLATK=tx_flatk=ff 


We use fw_buf=1002e008, fw_len = 1fb8, config_buf = 10012bd8, config_len= 32

Set baudrate to 921600



hci_tp_config:BT INIT success 7

Start upperStack



[BLE peripheral] GAP stack ready


[BT DEBUG]###init ble slave succ###

[01-01 18:12:15 TUYA N][lr:0x9b04868f] ble sdk re_inited

[01-01 18:12:15 TUYA D][lr:0x9b073711] bt active init

[01-01 18:12:15 TUYA N][lr:0x9b072e3b] ty bt sdk init success finish

[01-01 18:12:15 TUYA D][lr:0x9b01a2c3] < TUYA IOT SDK V:2.3.3 BS:40.00_PT:2.2_LAN:3.4_CAD:1.0.5_CD:1.0.0 >

< BUILD AT:2022_03_02_16_20_08 BY ci_manage FOR ty_iot_sdk AT rtl8720cf_ameba >

IOT DEFS < WIFI_GW:1 DEBUG:1 KV_FILE:0 SHUTDOWN_MODE:0 LITTLE_END:1 TLS_MODE:2 ENABLE_CLOUD_OPERATION:0 OPERATING_SYSTEM:2 ENABLE_SYS_RPC:0 RELIABLE_TRANSFER:0 ENABLE_LAN_ENCRYPTION:1 ENABLE_LAN_LINKAGE:0 ENABLE_LAN_DEV:0 >



[01-01 18:12:15 TUYA D][lr:0x9b01a2cd] rtl8720cf_common_user_config_ty:2.6.3

[01-01 18:12:15 TUYA N][lr:0x9b06e5fb] key_addr: 0x1d8000   block_sz 4096

[01-01 18:12:15 TUYA N][lr:0x9b06e683] get key:

0xc7 0xe5 0xf4 0xe6 0x54 0x8d 0xd2 0xd4 0x8b 0x47 0x74 0xd 0x9a 0xb2 0x67 0x72 

[01-01 18:12:15 TUYA N][lr:0x9b043a07] have actived over 15 min, not enter mf_init

[01-01 18:12:15 TUYA N][lr:0x9b0192d3] mf_init succ

[01-01 18:12:16 TUYA N][lr:0x9b01b45b] mqc_app_register_cb PRO_MQ_INFOEM_DOWNLOAD :64

[01-01 18:12:16 TUYA N][lr:0x9b021ae3] file_download_init OK

[01-01 18:12:16 TUYA N][lr:0x9b01dd61] recv jump_pack ok.

[01-01 18:12:16 TUYA N][lr:0x9b01dc2d] get_dev_info ok memrory left:61984

[01-01 18:12:17 TUYA N][lr:0x9b01c11d] VER:2.3.43,mcu tp :9

[01-01 18:12:17 TUYA N][lr:0x9b01c137] cfg_mode:2.first_mode:3.firmware_key:keyjkajwawthq4f5.product_key:dkrxtkqb4qkkmc3r



[01-01 18:12:17 TUYA N][lr:0x9b05a97d] Last reset reason: 0

read wifi mac:cc:8c:bf:a7:36:ad[01-01 18:12:17 TUYA N][lr:0x9b05aa4d] serial_no:cc8cbfa736ad

[01-01 18:12:17 TUYA N][lr:0x9b05aaa1] gw_cntl.gw_wsm.stat:0

[01-01 18:12:17 TUYA N][lr:0x9b05ee59] gw_cntl->gw_wsm.nc_tp:1

[01-01 18:12:17 TUYA N][lr:0x9b05ee63] gw_cntl->gw_wsm.md:0

[01-01 18:12:17 TUYA N][lr:0x9b05ad5b] gw_cntl.gw_if.abi:0 input:0

[01-01 18:12:17 TUYA N][lr:0x9b05ad65] gw_cntl.gw_if.product_key:dkrxtkqb4qkkmc3r, input:dkrxtkqb4qkkmc3r

[01-01 18:12:17 TUYA N][lr:0x9b05ad71] gw_cntl.gw_if.tp:9, input:9

[01-01 18:12:17 TUYA N][lr:0x9b05ad7d] gw_cntl.gw_if.firmware_key:keyjkajwawthq4f5, input:keyjkajwawthq4f5

[01-01 18:12:17 TUYA N][lr:0x9b072e9d] ty bt upd product:dkrxtkqb4qkkmc3r 0

[WIFI NOTICE]tuya_os_adapt_wifi_set_work_mode:2 now mode:2

[BT DEBUG]tuya_os_adapt_bt_stack_deinit

[BT DEBUG]###deinit ble slave###

[BT DEBUG]bt state.gap_init_state:1

[BT DEBUG]bte_deinit

[01-01 18:12:17 TUYA N][lr:0x9b0487cb] Ble Disonnected

[01-01 18:12:17 TUYA N][lr:0x9b048c19] ble reset sn

[01-01 18:12:17 TUYA N][lr:0x9b048c3d] ble clear pair rand

[01-01 18:12:17 TUYA N][lr:0x9b01a109] ble status is:2

[01-01 18:12:17 TUYA N][lr:0x9b0194e7] do not support

[01-01 18:12:17 TUYA N][lr:0x9b0487e5] ble set conn stat:2

[01-01 18:12:17 TUYA N][lr:0x9b0487cb] Ble Disonnected

[01-01 18:12:17 TUYA N][lr:0x9b048c19] ble reset sn

[01-01 18:12:17 TUYA N][lr:0x9b048c3d] ble clear pair rand

[01-01 18:12:17 TUYA N][lr:0x9b0487e5] ble set conn stat:2



LwIP_DHCP: dhcp stop.


Deinitializing WIFI ...[01-01 18:12:17 TUYA E][lr:0x9b01d7c5] data is invalid :2 ,0



WIFI deinitialized[WIFI DEBUG]get country code:0



Initializing WIFI ...


WIFI initialized

[WIFI DEBUG]get country code:0

[BT DEBUG]tuya_os_adapt_bt_stack_init

[BT DEBUG]current_bt_mode:255, new bt_param->mode:1

[BT DEBUG]###init ble slave###

BT BUILD Date: Mar 14 2022, 14:39:42 

BT RESET LOG...

read wifi mac:cc:8c:bf:a7:36:ad[BT NOTICE]BLE MAC: 0xcc-0x8c-0xbf-0xa7-0x36-0xad

BT Reset ok

bt_iqk_efuse_valid: has data



hci_tp_phy_efuse[0]=0,

bt_dump_iqk:    DUMP,

the IQK_xx  data is 0xfe,

the IQK_yy  data is 0x5,

the QDAC   data is 0x20,

the IDAC   data is 0x1c,

the QDAC2  data is 0x1e,

the IDAC2  data is 0x1b,

hci_read_rom_check: rom_version 0x0003, bt_hci_chip_id 0x0004



BT ADDRESS:

cc:8c:bf:a7:36:ad:



 WRITE  physical FLATK=tx_flatk=ff 


We use fw_buf=100318b0, fw_len = 1fb8, config_buf = 1002d5b0, config_len= 32

Set baudrate to 921600



hci_tp_config:BT INIT success 7

Start upperStack



[BLE peripheral] GAP stack ready


[BT DEBUG]###init ble slave succ###

[WIFI NOTICE]tuya_os_adapt_wifi_set_work_mode:1 now mode:2



WIFI Mode Change: STA-->PROMISC[01-01 18:12:19 TUYA N][lr:0x9b01c79b] wifi status is :1

read wifi mac:cc:8c:bf:a7:36:ad[01-01 18:12:19 TUYA N][lr:0x9b0485b9] update bound stat:0

dev id key: 16

c2 28 8e 8c 5f c9 43 9a 88 13 32 41 36 2b cd 0f 

[BT DEBUG]wait ble init 0

[BT DEBUG]already in stop

[BT NOTICE]le_adv_start(), start adv

[BT DEBUG]reset adv ok

[01-01 18:12:19 TUYA N][lr:0x9b048353] ble adv && resp changed

[01-01 18:12:19 TUYA N][lr:0x9b01b5dd] send heat beat ,get heap size 53168

[01-01 18:12:19 TUYA N][lr:0x9b01dd61] recv jump_pack ok.

[01-01 18:12:19 TUYA N][lr:0x9b01cec3] debug level :4,pdata :1

[01-01 18:12:19 TUYA D][lr:0x9b01edeb] ty_uart_fr_send_syn

[01-01 18:12:19 TUYA D][lr:0x9b01f295] port = 0

[01-01 18:12:19 TUYA D][lr:0x9b01edff] ty_uart_fr_send_syn

[01-01 18:12:19 TUYA D][lr:0x9b01efe1] proce fun

[01-01 18:12:27 TUYA D][lr:0x9b079f4d] protected read [gw_wsm]

[01-01 18:12:27 TUYA D][lr:0x9b079fb3] protected read ret:0 length:130

[01-01 18:12:27 TUYA D][lr:0x9b05b8f5] gw_wsm read success

[01-01 18:12:27 TUYA D][lr:0x9b05e2c1] short timer timeout, mthd:2, nc_tp:0

[01-01 18:12:27 TUYA D][lr:0x9b05b273] write buf:{"nc_tp":0,"ssid":null,"passwd":null,"md":0,"random":0,"wfb64":1,"stat":0,"token":null,"region":null,"reg_key":null,"dns_prio":0 }

[01-01 18:12:27 TUYA D][lr:0x9b07a017] protected write [gw_wsm][130]

[01-01 18:12:27 TUYA D][lr:0x9b07a113] protected write ret:0

[01-01 18:12:27 TUYA D][lr:0x9b05b759] gw_wsm write success

[BT DEBUG]app_handle_conn_state_evt: conn_id 0 old_state 0 new_state 1, disc_cause 0x0

[BT DEBUG]app_handle_conn_state_evt: conn_id 0 old_state 1 new_state 2, disc_cause 0x0

[BT DEBUG]remote_bd:39-a7-17-ce-e4-74

[BT DEBUG]remote_addr_type 1, conn_interval 0x18, conn_latency 0x0, conn_supervision_timeout 0x64

[01-01 18:12:27 TUYA D][lr:0x9b0487b7] rev ble event 1

[01-01 18:12:27 TUYA N][lr:0x9b048801] Ble Connected

[01-01 18:12:27 TUYA N][lr:0x9b048c19] ble reset sn

[01-01 18:12:27 TUYA N][lr:0x9b01a109] ble status is:1

[01-01 18:12:27 TUYA D][lr:0x9b01948b] user_ble_status_proc:0

[01-01 18:12:27 TUYA N][lr:0x9b0194e7] do not support

[01-01 18:12:27 TUYA N][lr:0x9b048817] ble set conn stat:1

[BT DEBUG]app_handle_conn_mtu_info_evt: conn_id 0, mtu_size 185

[01-01 18:12:28 TUYA D][lr:0x9b0487b7] rev ble event 2

[01-01 18:12:28 TUYA D][lr:0x9b048843] Dev Rev BT Package

bt_rev_raw 20

00 21 30 01 bf 71 34 e9 aa 80 a1 b2 d0 0a 2e bd ef c2 42 ea 

[01-01 18:12:28 TUYA D][lr:0x9b048f7f] recive sub_pkg desc:1, no:1, pack_len:17, total_len:17

[01-01 18:12:28 TUYA D][lr:0x9b048f21] ble data pkg is multi-pack, receive...

[01-01 18:12:28 TUYA D][lr:0x9b0487b7] rev ble event 2

[01-01 18:12:28 TUYA D][lr:0x9b048843] Dev Rev BT Package

bt_rev_raw 17

01 5c 50 7c 0c 4a e8 92 fe 0d 15 d9 1c 22 1a e4 27 

[01-01 18:12:28 TUYA D][lr:0x9b048f7f] recive sub_pkg desc:3, no:2, pack_len:16, total_len:33

ble rev data 33

01 bf 71 34 e9 aa 80 a1 b2 d0 0a 2e bd ef c2 42 ea 5c 50 7c 0c 4a e8 92 fe 0d 15 d9 1c 22 1a e4 27 

[01-01 18:12:28 TUYA D][lr:0x9b04b4e5] got key, mode:1

ble decryped data 16

00 00 00 01 00 00 00 00 00 00 00 00 92 69 00 00 

[01-01 18:12:28 TUYA D][lr:0x9b0488c9] ble get conn stat:1

[01-01 18:12:28 TUYA D][lr:0x9b049125] Parse BT Cmd:0x0 

[01-01 18:12:28 TUYA N][lr:0x9b049155] tuya_ble_handle_dev_infor_req state:0, pkg_len:20

[01-01 18:12:28 TUYA D][lr:0x9b04885b] default resp generated.

[01-01 18:12:28 TUYA D][lr:0x9b0488c9] ble get conn stat:1

[01-01 18:12:28 TUYA D][lr:0x9b04b4e5] got key, mode:1

[01-01 18:12:28 TUYA D][lr:0x9b071d79] pkg max len:20, sunpkg_offset:4, send_data:16

tuya_hal_bt_send 20

00 81 01 30 01 f1 71 eb 52 db 0f 33 f3 ed 09 73 cd 1a f8 10 

[01-01 18:12:28 TUYA D][lr:0x9b071d79] pkg max len:20, sunpkg_offset:1, send_data:19

tuya_hal_bt_send 20

01 7b 11 e7 cd 75 7e 10 b2 4e a5 bf 7e 97 95 21 de 24 3c 38 

[01-01 18:12:28 TUYA D][lr:0x9b071d79] pkg max len:20, sunpkg_offset:1, send_data:19

tuya_hal_bt_send 20

02 62 6c 92 99 b0 89 e1 26 72 7e d9 ee 0e 98 3a 78 cf c8 aa 

[01-01 18:12:28 TUYA D][lr:0x9b071d79] pkg max len:20, sunpkg_offset:1, send_data:19

tuya_hal_bt_send 20

03 2b ad 03 0d 57 be be 7a af d7 6d a5 ef 22 d8 d5 38 85 5f 

[01-01 18:12:29 TUYA D][lr:0x9b071d79] pkg max len:20, sunpkg_offset:1, send_data:19

tuya_hal_bt_send 20

04 52 b7 fb d8 8c 8d 19 10 f1 8b 8b f5 00 64 eb 61 36 22 21 

[01-01 18:12:29 TUYA D][lr:0x9b071d79] pkg max len:20, sunpkg_offset:1, send_data:19

tuya_hal_bt_send 20

05 1a 1b b3 05 6a b5 af 5b 7d 87 4a 8d cd 5f 9e a6 d5 df 4d 

[01-01 18:12:29 TUYA D][lr:0x9b071d79] pkg max len:20, sunpkg_offset:1, send_data:18

tuya_hal_bt_send 19

06 2f 55 fe 84 46 0a 75 f2 c0 de f0 3a 17 5e 56 ba c1 02 

[01-01 18:12:29 TUYA D][lr:0x9b04842f] ble_send_data_to_app finish. len:129, send_ret:0x0

[01-01 18:12:29 TUYA D][lr:0x9b072cb1] Rev BT user Data. type:0

[01-01 18:12:29 TUYA D][lr:0x9b0487b7] rev ble event 2

[01-01 18:12:29 TUYA D][lr:0x9b048843] Dev Rev BT Package

bt_rev_raw 20

00 51 30 02 41 4f 49 50 52 51 54 36 53 4d 47 32 47 50 38 38 

[01-01 18:12:29 TUYA D][lr:0x9b048f7f] recive sub_pkg desc:1, no:1, pack_len:17, total_len:17

[01-01 18:12:29 TUYA D][lr:0x9b048f21] ble data pkg is multi-pack, receive...

[01-01 18:12:29 TUYA D][lr:0x9b0487b7] rev ble event 2

[01-01 18:12:29 TUYA D][lr:0x9b048843] Dev Rev BT Package

bt_rev_raw 20

01 9f 56 2d ac 68 90 7b 4d 76 7a 91 36 c9 73 ea c0 e2 a6 e8 

[01-01 18:12:29 TUYA D][lr:0x9b048f7f] recive sub_pkg desc:2, no:2, pack_len:19, total_len:36

[01-01 18:12:29 TUYA D][lr:0x9b048f21] ble data pkg is multi-pack, receive...

[01-01 18:12:29 TUYA D][lr:0x9b0487b7] rev ble event 2

[01-01 18:12:29 TUYA D][lr:0x9b048843] Dev Rev BT Package

bt_rev_raw 20

02 49 a3 98 62 13 8a 55 75 35 ac 02 18 6a d5 e8 e3 61 37 30 

[01-01 18:12:29 TUYA D][lr:0x9b048f7f] recive sub_pkg desc:2, no:3, pack_len:19, total_len:55

[01-01 18:12:29 TUYA D][lr:0x9b048f21] ble data pkg is multi-pack, receive...

[01-01 18:12:29 TUYA D][lr:0x9b0487b7] rev ble event 2

[01-01 18:12:29 TUYA D][lr:0x9b048843] Dev Rev BT Package

bt_rev_raw 20

03 5c a3 36 b8 ab 50 41 e6 bd 88 73 19 dd d2 58 66 5d 28 07 

[01-01 18:12:29 TUYA D][lr:0x9b048f7f] recive sub_pkg desc:2, no:4, pack_len:19, total_len:74

[01-01 18:12:29 TUYA D][lr:0x9b048f21] ble data pkg is multi-pack, receive...

[01-01 18:12:29 TUYA D][lr:0x9b0487b7] rev ble event 2

[01-01 18:12:29 TUYA D][lr:0x9b048843] Dev Rev BT Package

bt_rev_raw 8

04 37 33 fa 8e 8f fb 42 

[01-01 18:12:29 TUYA D][lr:0x9b048f7f] recive sub_pkg desc:3, no:5, pack_len:7, total_len:81

ble rev data 81

02 41 4f 49 50 52 51 54 36 53 4d 47 32 47 50 38 38 9f 56 2d ac 68 90 7b 4d 76 7a 91 36 c9 73 ea c0 e2 a6 e8 49 a3 98 62 13 8a 55 75 35 ac 02 18 6a d5 e8 e3 61 37 30 5c a3 36 b8 ab 50 41 e6 bd 

88 73 19 dd d2 58 66 5d 28 07 37 33 fa 8e 8f fb 42 

ble decryped data 64

00 00 00 02 00 00 00 00 00 01 00 2c 32 34 36 30 31 32 32 37 32 36 35 61 34 62 63 32 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 08 37 00 00 00 00 00 00 



[01-01 18:12:29 TUYA D][lr:0x9b0488c9] ble get conn stat:1

[01-01 18:12:29 TUYA D][lr:0x9b049125] Parse BT Cmd:0x1 

[01-01 18:12:29 TUYA D][lr:0x9b049313] conn monitor timer stopped

[01-01 18:12:29 TUYA N][lr:0x9b01a109] ble status is:3

[01-01 18:12:29 TUYA D][lr:0x9b01948b] user_ble_status_proc:0

[01-01 18:12:29 TUYA N][lr:0x9b0194e7] do not support

[01-01 18:12:29 TUYA N][lr:0x9b0493af] ble set conn stat:3

[01-01 18:12:29 TUYA N][lr:0x9b0493bb] PAIR_REQ ok:0

[01-01 18:12:29 TUYA D][lr:0x9b048bab] start ble monitor

[01-01 18:12:29 TUYA N][lr:0x9b049361] ble_time_req start...

[01-01 18:12:29 TUYA D][lr:0x9b04937b] no need to query time. network stat:0, work stat:0

[01-01 18:12:29 TUYA D][lr:0x9b04885b] default resp generated.

[01-01 18:12:29 TUYA D][lr:0x9b0488c9] ble get conn stat:3

[01-01 18:12:29 TUYA D][lr:0x9b071d79] pkg max len:20, sunpkg_offset:3, send_data:17

tuya_hal_bt_send 20

00 21 31 02 3f 25 c8 6c 58 18 ba 5f 50 27 84 d0 7e f9 c6 98 

[01-01 18:12:29 TUYA D][lr:0x9b071d79] pkg max len:20, sunpkg_offset:1, send_data:16

tuya_hal_bt_send 17

01 9c f7 c2 e6 10 99 e0 d6 43 ce 89 c2 f3 42 a0 b2 

[01-01 18:12:29 TUYA D][lr:0x9b04842f] ble_send_data_to_app finish. len:33, send_ret:0x0

[01-01 18:12:29 TUYA D][lr:0x9b072cb1] Rev BT user Data. type:1

[01-01 18:12:29 TUYA D][lr:0x9b0487b7] rev ble event 2

[01-01 18:12:29 TUYA D][lr:0x9b048843] Dev Rev BT Package

bt_rev_raw 20

00 71 30 02 48 44 34 51 30 53 4e 37 4c 34 39 30 4c 52 35 31 

[01-01 18:12:29 TUYA D][lr:0x9b048f7f] recive sub_pkg desc:1, no:1, pack_len:17, total_len:17

[01-01 18:12:29 TUYA D][lr:0x9b048f21] ble data pkg is multi-pack, receive...

[01-01 18:12:29 TUYA D][lr:0x9b0487b7] rev ble event 2

[01-01 18:12:29 TUYA D][lr:0x9b048843] Dev Rev BT Package

bt_rev_raw 20

01 9a ad 1b 7e 4d 8a a8 df 13 46 1f 06 db d3 88 cf 8b fe 1f 

[01-01 18:12:29 TUYA D][lr:0x9b048f7f] recive sub_pkg desc:2, no:2, pack_len:19, total_len:36

[01-01 18:12:29 TUYA D][lr:0x9b048f21] ble data pkg is multi-pack, receive...

[01-01 18:12:29 TUYA D][lr:0x9b0487b7] rev ble event 2

[01-01 18:12:29 TUYA D][lr:0x9b048843] Dev Rev BT Package

bt_rev_raw 20

02 93 37 22 dc 27 b0 ff a6 e5 0d a4 a7 d8 6c ac 01 3f 79 01 

[01-01 18:12:29 TUYA D][lr:0x9b048f7f] recive sub_pkg desc:2, no:3, pack_len:19, total_len:55

[01-01 18:12:29 TUYA D][lr:0x9b048f21] ble data pkg is multi-pack, receive...

[01-01 18:12:29 TUYA D][lr:0x9b0487b7] rev ble event 2

[01-01 18:12:29 TUYA D][lr:0x9b048843] Dev Rev BT Package

bt_rev_raw 20

03 93 dc 41 16 9d 2d ec 1f 1c 5f c5 c0 49 12 95 dc 8d b8 09 

[01-01 18:12:29 TUYA D][lr:0x9b048f7f] recive sub_pkg desc:2, no:4, pack_len:19, total_len:74

[01-01 18:12:29 TUYA D][lr:0x9b048f21] ble data pkg is multi-pack, receive...

[01-01 18:12:29 TUYA D][lr:0x9b0487b7] rev ble event 2

[01-01 18:12:29 TUYA D][lr:0x9b048843] Dev Rev BT Package

bt_rev_raw 20

04 2b 4b de 85 85 53 85 64 c6 17 a9 1a 7a 88 35 48 ac 37 59 

[01-01 18:12:29 TUYA D][lr:0x9b048f7f] recive sub_pkg desc:2, no:5, pack_len:19, total_len:93

[01-01 18:12:29 TUYA D][lr:0x9b048f21] ble data pkg is multi-pack, receive...

[01-01 18:12:29 TUYA D][lr:0x9b0487b7] rev ble event 2

[01-01 18:12:29 TUYA D][lr:0x9b048843] Dev Rev BT Package

bt_rev_raw 20

05 e3 83 c0 12 f5 02 3f 0f ed 9c eb 6f 95 ea 58 e0 aa 85 2b 

[01-01 18:12:29 TUYA D][lr:0x9b048f7f] recive sub_pkg desc:2, no:6, pack_len:19, total_len:112

[01-01 18:12:29 TUYA D][lr:0x9b048f21] ble data pkg is multi-pack, receive...

[01-01 18:12:29 TUYA D][lr:0x9b0487b7] rev ble event 2

[01-01 18:12:29 TUYA D][lr:0x9b048843] Dev Rev BT Package

bt_rev_raw 2

06 66 

[01-01 18:12:29 TUYA D][lr:0x9b048f7f] recive sub_pkg desc:3, no:7, pack_len:1, total_len:113

ble rev data 113

02 48 44 34 51 30 53 4e 37 4c 34 39 30 4c 52 35 31 9a ad 1b 7e 4d 8a a8 df 13 46 1f 06 db d3 88 cf 8b fe 1f 93 37 22 dc 27 b0 ff a6 e5 0d a4 a7 d8 6c ac 01 3f 79 01 93 dc 41 16 9d 2d ec 1f 1c 

5f c5 c0 49 12 95 dc 8d b8 09 2b 4b de 85 85 53 85 64 c6 17 a9 1a 7a 88 35 48 ac 37 59 e3 83 c0 12 f5 02 3f 0f ed 9c eb 6f 95 ea 58 e0 aa 85 2b 66 

ble decryped data 96

00 00 00 03 00 00 00 00 00 21 00 43 7b 22 70 77 64 22 3a 22 7a 68 69 68 61 6e 67 36 36 36 22 2c 22 74 6f 6b 65 6e 22 3a 22 41 59 67 46 6f 50 6c 65 64 4c 34 30 30 42 22 2c 22 73 73 69 64 22 3a 

22 31 30 64 2d 7a 68 69 68 61 6e 67 22 7d 00 29 36 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

[01-01 18:12:29 TUYA D][lr:0x9b0488c9] ble get conn stat:3

[01-01 18:12:29 TUYA D][lr:0x9b049125] Parse BT Cmd:0x21 

[01-01 18:12:29 TUYA D][lr:0x9b04913f] BT Cmd:33 Has No def operate

[01-01 18:12:29 TUYA D][lr:0x9b072cb1] Rev BT user Data. type:33

[01-01 18:12:29 TUYA N][lr:0x9b072203] Rev Net Cfg:{"pwd":"zhihang666","token":"AYgFoPledL400B","ssid":"10d-zhihang"}

[01-01 18:12:29 TUYA D][lr:0x9b0488c9] ble get conn stat:3

[01-01 18:12:29 TUYA D][lr:0x9b048951] tuya_ble_sdk_send. cmd:0x21 encrpyt:2

bt_ack_uncrypt 1

00 

[01-01 18:12:29 TUYA D][lr:0x9b0488c9] ble get conn stat:3

[01-01 18:12:29 TUYA D][lr:0x9b071d79] pkg max len:20, sunpkg_offset:3, send_data:17

tuya_hal_bt_send 20

00 21 32 02 a0 28 54 95 7f e4 90 e5 77 8b 44 34 57 38 8a 19 

[01-01 18:12:29 TUYA N][lr:0x9b072283] cfg ssid:10d-zhihang, passwd:zhihang666, token:AYgFoPledL400B

[01-01 18:12:29 TUYA D][lr:0x9b05e893] concurrent Netcfg Finish type:0x10004 ssid:10d-zhihang passwd:zhihang666 cur_netcfg_type:0

[01-01 18:12:29 TUYA D][lr:0x9b071d79] pkg max len:20, sunpkg_offset:1, send_data:16

tuya_hal_bt_send 17

01 da 5d 0c 2b be 54 0a b0 c0 48 5d 78 39 80 e4 4d 

[01-01 18:12:29 TUYA D][lr:0x9b04842f] ble_send_data_to_app finish. len:33, send_ret:0x0

[01-01 18:12:29 TUYA D][lr:0x9b066df9] ----stop netcfgType

[01-01 18:12:29 TUYA D][lr:0x9b066c01] netcfg module stop type:0x10001

[01-01 18:12:29 TUYA D][lr:0x9b0401df] smart cfg stop type:65537

[01-01 18:12:29 TUYA D][lr:0x9b0677bf] ----stop netcfgType

[01-01 18:12:29 TUYA D][lr:0x9b0677f9] ++++sinffer ret:0

[01-01 18:12:29 TUYA D][lr:0x9b06762f] ----unregister netcfgType:0x10001

[01-01 18:12:29 TUYA E][lr:0x9b066deb] timer is not run,wait

[01-01 18:12:29 TUYA D][lr:0x9b066c01] netcfg module stop type:0x10004

[01-01 18:12:29 TUYA N][lr:0x9b0485b9] update bound stat:1

[01-01 18:12:29 TUYA N][lr:0x9b03ec3d] stop smt cfg mthd:2, ret:0

[01-01 18:12:29 TUYA D][lr:0x9b049a77] read beacon key err:-6.

[01-01 18:12:29 TUYA D][lr:0x9b048b89] timer has started

[WIFI NOTICE]tuya_os_adapt_wifi_set_work_mode:2 now mode:1



WIFI Mode No Need To Change: STA -->STA


[Driver]: set ssid [10d-zhihang] 

[01-01 18:12:32 TUYA D][lr:0x9b05d1a7] feed watchdog

[01-01 18:12:32 TUYA D][lr:0x9b04b2e7] open binding periond window!!

[01-01 18:12:32 TUYA D][lr:0x9b048a3f] nw stat change:0->0, rpt to app.

[01-01 18:12:32 TUYA D][lr:0x9b048ab5] tuya_ble_send_dev_nw_stat:0

[01-01 18:12:32 TUYA D][lr:0x9b0488c9] ble get conn stat:3

[01-01 18:12:32 TUYA D][lr:0x9b048951] tuya_ble_sdk_send. cmd:0x1e encrpyt:5

bt_ack_uncrypt 1

00 

[01-01 18:12:32 TUYA D][lr:0x9b0488c9] ble get conn stat:3

WPA2 join!!!


[Driver]: start auth to 94:00:b0:71:42:e1



[Driver]: auth success, start assoc



[Driver]: association success(res=3)



[Driver]: set pairwise key to hw: alg:4(WEP40-1 WEP104-5 TKIP-2 AES-4)



[Driver]: set group key to hw: alg:4(WEP40-1 WEP104-5 TKIP-2 AES-4) keyid:1

[01-01 18:12:33 TUYA D][lr:0x9b05d783] wf connect success!

[01-01 18:12:33 TUYA I][lr:0x9b0574cb] thread_create name:lpc_task,stackDepth:3072,totalstackDepth:26112,priority:3

[01-01 18:12:34 TUYA D][lr:0x9b05d7c7] gw_wsm stat:0

dev id key: 16

e4 1c 92 79 b3 0f b4 3a 62 95 2a a6 16 9c f8 24 

[BT DEBUG]wait ble init 0

[BT DEBUG]already in stop

[01-01 18:12:34 TUYA D][lr:0x9b057353] Thread:lpc_task Exec Start. Set to Running Stat

[01-01 18:12:34 TUYA D][lr:0x9b062001] Setup TCP Server On Port:6668

[BT DEBUG]le_adv_start(), start err.[BT DEBUG]app_handle_conn_state_evt: conn_id 0 old_state 2 new_state 0, disc_cause 0x113

[BT NOTICE]le_adv_start(), start adv

[01-01 18:12:34 TUYA D][lr:0x9b0487b7] rev ble event 0

[01-01 18:12:34 TUYA N][lr:0x9b0487cb] Ble Disonnected

[01-01 18:12:34 TUYA N][lr:0x9b048c19] ble reset sn

[01-01 18:12:34 TUYA N][lr:0x9b048c3d] ble clear pair rand

[01-01 18:12:34 TUYA N][lr:0x9b01a109] ble status is:2

[01-01 18:12:34 TUYA D][lr:0x9b01948b] user_ble_status_proc:0

[01-01 18:12:34 TUYA N][lr:0x9b0194e7] do not support

[01-01 18:12:34 TUYA N][lr:0x9b0487e5] ble set conn stat:2

[BT DEBUG]reset adv ok

[01-01 18:12:34 TUYA N][lr:0x9b048353] ble adv && resp changed

[01-01 18:12:34 TUYA D][lr:0x9b06034d] wifi netstat changed to:5  -->>

[01-01 18:12:34 TUYA N][lr:0x9b01c79b] wifi status is :5

[01-01 18:12:34 TUYA D][lr:0x9b01c009] upload_net_state...:5

[01-01 18:12:34 TUYA D][lr:0x9b01ec57] __ur_put_msg_in_que_ret!

[01-01 18:12:34 TUYA D][lr:0x9b060367] wifi netstat changed to:5  <<--

[01-01 18:12:34 TUYA D][lr:0x9b01f295] port = 0

[01-01 18:12:34 TUYA D][lr:0x9b01ea15] uart_tx_ctrl.asyn_ctrl.timout_retrans_en 0  rt=1

[01-01 18:12:34 TUYA D][lr:0x9b071d79] pkg max len:20, sunpkg_offset:3, send_data:17

tuya_hal_bt_send 20

00 21 33 05 7d 80 fd 13 22 de 54 05 6f 8c 81 c7 88 f4 4a 72 

[01-01 18:12:34 TUYA D][lr:0x9b01f14d] data_len=0 len=7

[01-01 18:12:34 TUYA D][lr:0x9b01f159] frame_len=7

[01-01 18:12:34 TUYA D][lr:0x9b01ecb7] timout_retrans_ent=1 wait_ack 3

[01-01 18:12:34 TUYA D][lr:0x9b01eafb] DelQueueMember 

[01-01 18:12:34 TUYA D][lr:0x9b071d79] pkg max len:20, sunpkg_offset:1, send_data:16

tuya_hal_bt_send 17

01 6a e4 4e d7 f6 47 5a 6d 64 d4 e0 cf 9a db b6 c2 

[01-01 18:12:34 TUYA D][lr:0x9b01e821] ty_uart_stop_aysn_timeout_retrans

[01-01 18:12:34 TUYA D][lr:0x9b01efcf] proce fun cmd 3

[01-01 18:12:34 TUYA D][lr:0x9b01fcaf] proc=0x0

[01-01 18:12:34 TUYA D][lr:0x9b01f021] proce fun,cmd 3

[01-01 18:12:34 TUYA D][lr:0x9b04842f] ble_send_data_to_app finish. len:33, send_ret:0x0

[01-01 18:12:34 TUYA D][lr:0x9b01efe1] proce fun



Interface 0 IP address : 172.16.210.123[WIFI DEBUG]__dhcp_thread delete********

[WIFI DEBUG]__hwl_enter_powersave********

[01-01 18:12:34 TUYA D][lr:0x9b06034d] wifi netstat changed to:6  -->>

[01-01 18:12:34 TUYA N][lr:0x9b01c79b] wifi status is :6

[01-01 18:12:34 TUYA N][lr:0x9b01b5dd] send heat beat ,get heap size 44376

[01-01 18:12:34 TUYA D][lr:0x9b01ec57] __ur_put_msg_in_que_ret!

[01-01 18:12:34 TUYA D][lr:0x9b01f295] port = 0

[01-01 18:12:34 TUYA D][lr:0x9b01ea15] uart_tx_ctrl.asyn_ctrl.timout_retrans_en 0  rt=1

[01-01 18:12:34 TUYA D][lr:0x9b01c009] upload_net_state...:6

[01-01 18:12:34 TUYA D][lr:0x9b01ec57] __ur_put_msg_in_que_ret!

[01-01 18:12:34 TUYA D][lr:0x9b01edeb] ty_uart_fr_send_syn

[01-01 18:12:34 TUYA D][lr:0x9b01f295] port = 0

[01-01 18:12:34 TUYA D][lr:0x9b01edff] ty_uart_fr_send_syn

[01-01 18:12:34 TUYA D][lr:0x9b060367] wifi netstat changed to:6  <<--

[01-01 18:12:34 TUYA D][lr:0x9b01f14d] data_len=1 len=8

[01-01 18:12:34 TUYA D][lr:0x9b01f159] frame_len=8

[01-01 18:12:34 TUYA D][lr:0x9b01ecb7] timout_retrans_ent=1 wait_ack 0

[01-01 18:12:34 TUYA D][lr:0x9b01eafb] DelQueueMember 

[01-01 18:12:34 TUYA D][lr:0x9b01e821] ty_uart_stop_aysn_timeout_retrans

[01-01 18:12:34 TUYA D][lr:0x9b01efcf] proce fun cmd 0

[01-01 18:12:34 TUYA D][lr:0x9b01fcaf] proc=0x9b01dd55

[01-01 18:12:34 TUYA D][lr:0x9b01f021] proce fun,cmd 0

[01-01 18:12:34 TUYA N][lr:0x9b01dd61] recv jump_pack ok.

[01-01 18:12:34 TUYA D][lr:0x9b01efe1] proce fun

[01-01 18:12:34 TUYA D][lr:0x9b01f14d] data_len=2 len=9

[01-01 18:12:34 TUYA D][lr:0x9b01f159] frame_len=9

[01-01 18:12:34 TUYA D][lr:0x9b01ecb7] timout_retrans_ent=0 wait_ack 0

[01-01 18:12:34 TUYA D][lr:0x9b01e821] ty_uart_stop_aysn_timeout_retrans

[01-01 18:12:34 TUYA D][lr:0x9b01efcf] proce fun cmd 52

[01-01 18:12:34 TUYA D][lr:0x9b01f295] port = 0

[01-01 18:12:35 TUYA D][lr:0x9b01ea15] uart_tx_ctrl.asyn_ctrl.timout_retrans_en 0  rt=1

[01-01 18:12:35 TUYA D][lr:0x9b01fc91] proc=0x9b01ce7d

[01-01 18:12:35 TUYA D][lr:0x9b01f005] proce fun,cmd 52 son cmd 8

[01-01 18:12:35 TUYA N][lr:0x9b01cec3] debug level :4,pdata :1

[01-01 18:12:35 TUYA D][lr:0x9b01edeb] ty_uart_fr_send_syn

[01-01 18:12:35 TUYA D][lr:0x9b01f295] port = 0

[01-01 18:12:35 TUYA D][lr:0x9b01edff] ty_uart_fr_send_syn

[01-01 18:12:35 TUYA D][lr:0x9b01efe1] proce fun

[01-01 18:12:35 TUYA D][lr:0x9b01f14d] data_len=0 len=7

[01-01 18:12:35 TUYA D][lr:0x9b01f159] frame_len=7

[01-01 18:12:35 TUYA D][lr:0x9b01ecb7] timout_retrans_ent=1 wait_ack 3

[01-01 18:12:35 TUYA D][lr:0x9b01eafb] DelQueueMember 

[01-01 18:12:35 TUYA D][lr:0x9b01e821] ty_uart_stop_aysn_timeout_retrans

[01-01 18:12:35 TUYA D][lr:0x9b01efcf] proce fun cmd 3

[01-01 18:12:35 TUYA D][lr:0x9b01fcaf] proc=0x0

[01-01 18:12:35 TUYA D][lr:0x9b01f021] proce fun,cmd 3

[01-01 18:12:35 TUYA D][lr:0x9b01efe1] proce fun

[01-01 18:12:35 TUYA D][lr:0x9b04d101] load tls_ca_cnt fail. no ca in local db

[01-01 18:12:35 TUYA D][lr:0x9b045d85] http_iot_dns_get_cloud_url start

[01-01 18:12:35 TUYA D][lr:0x9b045de9] sign_buffer:env=400B&region=AY&ts=20&uuid=24601227265a4bc2

[01-01 18:12:35 TUYA D][lr:0x9b045e27] sign_base64_encode:BNcs+wQnM7nh6QI83bQ+OoFGx2ZbPNCPPZEGaUWo5JM=

[01-01 18:12:35 TUYA D][lr:0x9b045eef] http_dns region AY, send: {"region":"AY","env":"400B","uuid":"24601227265a4bc2","ts":20,"sign":"BNcs+wQnM7nh6QI83bQ+OoFGx2ZbPNCPPZEGaUWo5JM=","config":[{"key":"httpUrl","need_ca":false},{"key":"mqttUrl","need_ca":false},{"key":"httpsPSKUrl","need_ca":false},{"key":"mqttsPSKUrl","need_ca":false},{"key":"ghostUrl","need_ca":true}]}

[01-01 18:12:35 TUYA D][lr:0x9b045f15] get url config:https://h3.iot-dns.com/v2/url_config

[01-01 18:12:35 TUYA D][lr:0x9b058e49] set_dns_region:1

[01-01 18:12:35 TUYA D][lr:0x9b064961] Connect: h3.iot-dns.com Port: 443  -->>

[01-01 18:12:35 TUYA D][lr:0x9b058d25] unw_gethostbyname h3.iot-dns.com, prio 2



[01-01 18:12:35 TUYA D][lr:0x9b058e0b] use system dns ip 42.192.31.176 for domain h3.iot-dns.com



[01-01 18:12:35 TUYA D][lr:0x9b058a93] cache dns [h3.iot-dns.com]<->[42.192.31.176]

[01-01 18:12:35 TUYA D][lr:0x9b0649cd] ----got ipaddr:42,192,31,176

[01-01 18:12:35 TUYA D][lr:0x9b064a63] Connect: h3.iot-dns.com Port: 443  --<< ,r:0

[01-01 18:12:35 TUYA D][lr:0x9b04d783] ----enable_cert:0,DEFAULT_LOAD_CERT:0

[01-01 18:12:35 TUYA D][lr:0x9b048a3f] nw stat change:0->1, rpt to app.

[01-01 18:12:35 TUYA D][lr:0x9b048ab5] tuya_ble_send_dev_nw_stat:1

[01-01 18:12:35 TUYA D][lr:0x9b0488c9] ble get conn stat:2

[01-01 18:12:35 TUYA N][lr:0x9b0488ef] ble_sdk_send skip, no connect:2

[01-01 18:12:35 TUYA D][lr:0x9b04d827] TUYA_TLS Begin Connect h3.iot-dns.com:443  CustomNet:TRUE Enable_Cert:FALSE Default:FALSE 

[01-01 18:12:35 TUYA D][lr:0x9b04d919] socket fd is set. set to inner send/recv to handshake

[01-01 18:12:35 TUYA N][lr:0x9b04d49f] ret = 0

[01-01 18:12:35 TUYA D][lr:0x9b04d947] handshake finish for h3.iot-dns.com. set send/recv to user set

[01-01 18:12:35 TUYA D][lr:0x9b04d977] TUYA_TLS Success Connect h3.iot-dns.com:443  CustomNet:TRUE Suit:TLS-PSK-WITH-AES-128-CBC-SHA256

[01-01 18:12:35 TUYA D][lr:0x9b045471] return chunked:0

[01-01 18:12:35 TUYA D][lr:0x9b04db23] TUYA_TLS Disconnect ENTER

[01-01 18:12:35 TUYA D][lr:0x9b04db8f] TUYA_TLS Disconnect Success

[01-01 18:12:35 TUYA D][lr:0x9b0460bf] httpUrl:[http://a.tuyacn.com/d.json][42.192.25.216]

[01-01 18:12:35 TUYA D][lr:0x9b0460c9] mqttUrl:[m2.tuyacn.com:1883][42.192.31.13]

[01-01 18:12:35 TUYA D][lr:0x9b04617d] httpsPSKUrl:[https://a3.tuyacn.com/d.json][121.5.96.248]

[01-01 18:12:35 TUYA D][lr:0x9b04618b] mq_psk_url:[m2.tuyacn.com:8886][42.192.31.13]

[01-01 18:12:35 TUYA D][lr:0x9b0461e9] ghostUrl:[baal.tuyacn.com:443][42.192.35.108]

[01-01 18:12:35 TUYA D][lr:0x9b058e49] set_dns_region:1

[01-01 18:12:35 TUYA D][lr:0x9b058a93] cache dns [http://a.tuyacn.com/d.json]<->[42.192.25.216]

[01-01 18:12:35 TUYA D][lr:0x9b058a93] cache dns [https://a3.tuyacn.com/d.json]<->[121.5.96.248]

[01-01 18:12:35 TUYA D][lr:0x9b058a93] cache dns [m2.tuyacn.com:1883]<->[42.192.31.13]

[01-01 18:12:35 TUYA D][lr:0x9b058a93] cache dns [m2.tuyacn.com:8886]<->[42.192.31.13]

[01-01 18:12:35 TUYA D][lr:0x9b058a93] cache dns [baal.tuyacn.com:443]<->[42.192.35.108]

[01-01 18:12:35 TUYA D][lr:0x9b04d125] tls_ca_cnt:0 and parse:0

[01-01 18:12:35 TUYA D][lr:0x9b046247] end

[01-01 18:12:35 TUYA N][lr:0x9b072731] bt rpt conn stat:0

[01-01 18:12:35 TUYA D][lr:0x9b0488c9] ble get conn stat:2

[01-01 18:12:35 TUYA N][lr:0x9b0488ef] ble_sdk_send skip, no connect:2

[01-01 18:12:35 TUYA D][lr:0x9b047243] modules:[{\"otaChannel\":9,\"softVer\":\"2.3.43\",\"online\":true}]

[01-01 18:12:35 TUYA D][lr:0x9b047339] options:{\"isFK\":false,\"otaChannel\":0,\"sdkFullVer\":\"TuyaOS2.3.3_ty_iot_sdk_2.3.3-beta.307_rtl8720cf_ameba_default_2.3.7\"}

[01-01 18:12:36 TUYA D][lr:0x9b045095] Post Data: {"token":"gFoPledL","softVer":"2.6.3","productKey":"dkrxtkqb4qkkmc3r","protocolVer":"2.2","baselineVer":"40.00","productKeyStr":"keyjkajwawthq4f5","devId":"6c738622b73223fdb00px4","hid":"cc8cbfa736ad","modules":"[{\"otaChannel\":9,\"softVer\":\"2.3.43\",\"online\":true}]","devAttribute":4675,"cadVer":"1.0.5","cdVer":"1.0.0","options":"{\"isFK\":false,\"otaChannel\":0,\"sdkFullVer\":\"TuyaOS2.3.3_ty_iot_sdk_2.3.3-beta.307_rtl8720cf_ameba_default_2.3.7\"}","t":21}

[01-01 18:12:36 TUYA D][lr:0x9b045123] Post URL: https://a3.tuyacn.com/d.json?a=tuya.device.active&et=1&t=21&uuid=24601227265a4bc2&v=4.4&sign=7363c2dd7c06af76f6a504a343a34858

[01-01 18:12:36 TUYA D][lr:0x9b064961] Connect: a3.tuyacn.com Port: 443  -->>

[01-01 18:12:36 TUYA D][lr:0x9b058d25] unw_gethostbyname a3.tuyacn.com, prio 2



[01-01 18:12:36 TUYA D][lr:0x9b058dbf] use dynamic dns ip:121.5.96.248 for domain:a3.tuyacn.com

[01-01 18:12:36 TUYA D][lr:0x9b0649cd] ----got ipaddr:121,5,96,248

[01-01 18:12:36 TUYA D][lr:0x9b064a63] Connect: a3.tuyacn.com Port: 443  --<< ,r:0

[01-01 18:12:36 TUYA D][lr:0x9b04d783] ----enable_cert:0,DEFAULT_LOAD_CERT:0

[01-01 18:12:36 TUYA D][lr:0x9b04d827] TUYA_TLS Begin Connect a3.tuyacn.com:443  CustomNet:TRUE Enable_Cert:FALSE Default:FALSE 

[01-01 18:12:36 TUYA D][lr:0x9b04d919] socket fd is set. set to inner send/recv to handshake

[01-01 18:12:36 TUYA N][lr:0x9b04d49f] ret = 0

[01-01 18:12:36 TUYA D][lr:0x9b04d947] handshake finish for a3.tuyacn.com. set send/recv to user set

[01-01 18:12:36 TUYA D][lr:0x9b04d977] TUYA_TLS Success Connect a3.tuyacn.com:443  CustomNet:TRUE Suit:TLS-PSK-WITH-AES-128-CBC-SHA256

[01-01 18:12:36 TUYA D][lr:0x9b04588f] Decode Rev:{"result":{"schema":"[{\"type\":\"obj\",\"mode\":\"rw\",\"property\":{\"type\":\"bool\"},\"id\":2},{\"type\":\"obj\",\"mode\":\"rw\",\"property\":{\"range\":[\"standby\",\"smart\",\"wall_follow\",\"spiral\",\"chargego\",\"random\"],\"type\":\"enum\"},\"id\":3},{\"type\":\"obj\",\"mode\":\"rw\",\"property\":{\"range\":[\"forward\",\"backward\",\"turn_left\",\"turn_right\",\"stop\",\"exit\"],\"type\":\"enum\"},\"id\":4},{\"type\":\"obj\",\"mode\":\"ro\",\"property\":{\"range\":[\"standby\",\"cleaning\",\"goto_charge\",\"charging\",\"fault\",\"clean_done\",\"charge_done\",\"smart_clean\",\"wall_clean\",\"spot_clean\",\"random_clean\",\"sleep\",\"charging_dc\"],\"type\":\"enum\"},\"id\":5},{\"mode\":\"ro\",\"property\":{\"min\":0,\"max\":100,\"scale\":0,\"step\":1,\"type\":\"value\"},\"id\":6,\"type\":\"obj\"},{\"mode\":\"ro\",\"property\":{\"min\":0,\"max\":100,\"scale\":0,\"step\":1,\"type\":\"value\"},\"id\":7,\"type\":\"obj\"},{\"mode\":\"ro\",\"property\":

[12-14 03:06:30 TUYA D][lr:0x9b04db23] TUYA_TLS Disconnect ENTER

[12-14 03:06:30 TUYA D][lr:0x9b04db8f] TUYA_TLS Disconnect Success

[12-14 03:06:30 TUYA D][lr:0x9b05f1e5] cloud_reset:1 local_reset:1

[12-14 03:06:30 TUYA D][lr:0x9b01dc59] tuya_gw_reset_cb:4

[12-14 03:06:30 TUYA D][lr:0x9b05f277] __tmm_gw_actv_work: reset stride flag.

[12-14 03:06:30 TUYA D][lr:0x9b05a63b] write stride to flash:0

[12-14 03:06:30 TUYA D][lr:0x9b05bba5] gw_di write success

[12-14 03:06:30 TUYA D][lr:0x9b05c56f] schema write success

[12-14 03:06:30 TUYA D][lr:0x9b05cf67] create dev_cntl Success 

[12-14 03:06:30 TUYA D][lr:0x9b05c125] gw_ai write success

[12-14 03:06:30 TUYA D][lr:0x9b05b273] write buf:{"nc_tp":9,"ssid":"MTBkLXpoaWhhbmc=","passwd":"emhpaGFuZzY2Ng==","md":0,"random":0,"wfb64":1,"stat":2,"token":"gFoPledL","region":"AY","reg_key":"400B","dns_prio":0 }

[12-14 03:06:30 TUYA D][lr:0x9b07a017] protected write [gw_wsm][166]

[12-14 03:06:31 TUYA D][lr:0x9b07a113] protected write ret:0

[12-14 03:06:31 TUYA D][lr:0x9b05b759] gw_wsm write success

[12-14 03:06:31 TUYA N][lr:0x9b01b995] gw status changed to 1

[12-14 03:06:31 TUYA D][lr:0x9b01edeb] ty_uart_fr_send_syn

[12-14 03:06:31 TUYA D][lr:0x9b01f295] port = 0

[12-14 03:06:31 TUYA D][lr:0x9b01edff] ty_uart_fr_send_syn

[12-14 03:06:31 TUYA D][lr:0x9b0674e9] ----destroy Transporter,session:->10014018

[12-14 03:06:31 TUYA N][lr:0x9b01b995] gw status changed to 3

[12-14 03:06:31 TUYA N][lr:0x9b072ed1] ty bt upd localkey

[12-14 03:06:31 TUYA N][lr:0x9b04857b] upd login key len:6

[12-14 03:06:31 TUYA I][lr:0x9b04be2f] mqc app start ...

[12-14 03:06:31 TUYA D][lr:0x9b04bf13] MQTT Protocol URL:m2.tuyacn.com:8886 Port:8886

[12-14 03:06:31 TUYA D][lr:0x9b04bf51] TLS disable

[12-14 03:06:31 TUYA D][lr:0x9b04b8c9] TLS Mode:2

[12-14 03:06:31 TUYA D][lr:0x9b055ba3] subcribe_topic:smart/device/in/6c5433128499745189izy3, client_id:6c5433128499745189izy3, user_name:6c5433128499745189izy3, passwd:138da311446273d0

[12-14 03:06:31 TUYA D][lr:0x9b055d31] domain<0> m2.tuyacn.com:8886 HAVE PORT

[12-14 03:06:31 TUYA D][lr:0x9b055d53] PARSE m2.tuyacn.com:8886

[12-14 03:06:31 TUYA D][lr:0x9b055df1] wakeup_domain_tbl<0> m2.tuyacn.com:1883 HAVE PORT

[12-14 03:06:31 TUYA D][lr:0x9b055e11] PARSE m2.tuyacn.com:1883

[12-14 03:06:31 TUYA D][lr:0x9b04c05f] mqtt send topic:smart/device/out/6c5433128499745189izy3

[12-14 03:06:31 TUYA D][lr:0x9b04c07d] mqtt-media send topic:d/m/o/6c5433128499745189izy3

[12-14 03:06:31 TUYA I][lr:0x9b0574cb] thread_create name:mq_cntl_task,stackDepth:4096,totalstackDepth:30208,priority:4

[12-14 03:06:31 TUYA D][lr:0x9b04bcad] mq_pro:64 cnt:9

[12-14 03:06:31 TUYA D][lr:0x9b04bcad] mq_pro:22 cnt:10

[12-14 03:06:31 TUYA D][lr:0x9b04bcad] mq_pro:55 cnt:11

[12-14 03:06:31 TUYA D][lr:0x9b057353] Thread:mq_cntl_task Exec Start. Set to Running Stat

[12-14 03:06:31 TUYA D][lr:0x9b058d25] unw_gethostbyname m2.tuyacn.com, prio 2



[12-14 03:06:31 TUYA D][lr:0x9b0773a7] timer:{"lastFetchTime":0,"cnt":0}

[12-14 03:06:31 TUYA D][lr:0x9b04bcad] mq_pro:13 cnt:12

[12-14 03:06:31 TUYA D][lr:0x9b04bcad] mq_pro:15 cnt:13

[12-14 03:06:31 TUYA D][lr:0x9b054859] upgrade active success

[12-14 03:06:31 TUYA D][lr:0x9b077949] mqtt log topic init log/realtime/6c5433128499745189izy3

[12-14 03:06:31 TUYA D][lr:0x9b077953] mqtt log topic init log/runstat/6c5433128499745189izy3

[12-14 03:06:31 TUYA D][lr:0x9b07796d] svc online log active success

[12-14 03:06:31 TUYA D][lr:0x9b058dbf] use dynamic dns ip:42.192.31.13 for domain:m2.tuyacn.com

[12-14 03:06:31 TUYA D][lr:0x9b055f0b] select mqtt host:m2.tuyacn.com

[12-14 03:06:31 TUYA N][lr:0x9b055f57] mqtt get serve ip success

[12-14 03:06:31 TUYA E][lr:0x9b05fe63] astro timer read fail:-6

[12-14 03:06:31 TUYA E][lr:0x9b060235] read fail:-6

[12-14 03:06:31 TUYA D][lr:0[BT DEBUG]ax9b05f8ab] upp_handle_cpdate time tonn_state_ep:60000, delvt: conn_iday:86s

 0 old_state 0[12-14 03:06 new_state :31 TUYA D][1, disc_caulr:0x9b0560bse 0x0

f] serverIP 717233933 port:8886

dev id key: 16
[BT DEBUG]a

ad c6 ac 8e 04 bc 62 pp_handle_co40 17 58 84nn_state_evt c8 05 e9 6: conn_id 0 6 8f 

[BTold_state 1  DEBUG]waitnew_state 2, ble init 0 disc_cause 

[BT DEBUG0x0

[BT DE]already inBUG]remote_b stop

d:39-a7-17-ce-e4-74

[BT DEBUG]remote_addr_type 1, conn_interval 0x18, conn_latency 0x0, conn_supervision_timeout 0x64

[12-13 16:54:16 TUYA D][lr:0x9b0487b7] rev ble event 1

[12-13 16:54:16 TUYA N][lr:0x9b048801] Ble Connected

[12-13 16:54:16 TUYA N][lr:0x9b048c19] ble reset sn

[12-13 16:54:16 TUYA N][lr:0x9b01a109] ble status is:3

[12-13 16:54:16 TUYA D][lr:0x9b01948b] user_ble_status_proc:0

[12-13 16:54:16 TUYA D][lr:0x9b05618d] mqtt over TLS is enabled. Host:m2.tuyacn.com Port:8886

[12-13 16:54:16 TUYA D][lr:0x9b04d783] ----enable_cert:0,DEFAULT_LOAD_CERT:0

[12-13 16:54:16 TUYA D][lr:0x9b04d827] TUYA_TLS Begin Connect m2.tuyacn.com:8886  CustomNet:TRUE Enable_Cert:FALSE Default:FALSE 

[12-13 16:54:16 TUYA N][lr:0x9b0194e7] do not support

[12-13 16:54:16 TUYA N][lr:0x9b048817] ble set conn stat:3

[12-13 16:54:16 TUYA D][lr:0x9b04d919] socket fd is set. set to inner send/recv to handshake

[12-13 16:54:16 TUYA N][lr:0x9b072731] bt rpt conn stat:9

[12-13 16:54:16 TUYA D][lr:0x9b0488c9] ble get conn stat:3

[12-13 16:54:16 TUYA D][lr:0x9b048951] tuya_ble_sdk_send. cmd:0x22 encrpyt[BT DEBUG]le_adv_start(), start err.:1

bt_ack_uncrypt 2

00 09 

[12-13 16:54:16 TUYA D][lr:0x9b0488c9] ble get conn stat:3

[12-13 16:54:16 TUYA D][lr:0x9b04b4e5] got key, mode:1

[12-13 16:54:16 TUYA D][lr:0x9b045095] Post Data: {"t":1670921656}

[12-13 16:54:16 TUYA N][lr:0x9b04d49f] ret = 0

[12-13 16:54:16 TUYA D][lr:0x9b045123] Post UR[BT DEBUG]app_handle_conn_mtu_info_evt: conn_id 0, mtu_size 185

L: https://a3.tuyacn.com/d.json?a=tuya.device.beacon.key.fetch&devId=6c5433128499745189izy3&et=1&t=1670921656&v=1.0&sign=28ebcd21b65701f79e276b8729363148

[12-13 16:54:16 TUYA D][lr:0x9b064961] Connect: a3.tuyacn.com Port: 443  -->>

[12-13 16:54:16 TUYA D][lr:0x9b058d25] unw_gethostbyname a3.tuyacn.com, prio 2



[12-13 16:54:16 TUYA D][lr:0x9b04d947] handshake finish for m2.tuyacn.com. set send/recv to user set

[12-13 16:54:16 TUYA D][lr:0x9b04d977] TUYA_TLS Success Connect m2.tuyacn.com:8886  CustomNet:TRUE Suit:TLS-PSK-WITH-AES-128-CBC-SHA256

[12-13 16:54:16 TUYA N][lr:0x9b055f57] mqtt create success, begin to connect

[12-13 16:54:16 TUYA D][lr:0x9b04b8c9] TLS Mode:2

[12-13 16:54:16 TUYA D][lr:0x9b058dbf] use dynamic dns ip:121.5.96.248 for domain:a3.tuyacn.com

[12-13 16:54:16 TUYA D][lr:0x9b0649cd] ----got ipaddr:121,5,96,248

[12-13 16:54:16 TUYA D][lr:0x9b056311] cnt 1

[12-13 16:54:16 TUYA D][lr:0x9b064a63] Connect: a3.tuyacn.com Port: 443  --<< ,r:0

[12-13 16:54:16 TUYA D][lr:0x9b04d783] ----enable_cert:1,DEFAULT_LOAD_CERT:0

[12-13 16:54:16 TUYA D][lr:0x9b04d827] TUYA_TLS Begin Connect a3.tuyacn.com:443  CustomNet:TRUE Enable_Cert:TRUE Default:FALSE 

[12-13 16:54:16 TUYA D][lr:0x9b04d919] socket fd is set. set to inner send/recv to handshake

[12-13 16:54:16 TUYA D][lr:0x9b0564bb] mqtt subscribe success

[12-13 16:54:16 TUYA D][lr:0x9b04d947] handshake finish for a3.tuyacn.com. set send/recv to user set

[12-13 16:54:16 TUYA D][lr:0x9b04d977] TUYA_TLS Success Connect a3.tuyacn.com:443  CustomNet:TRUE Suit:TLS-PSK-WITH-AES-128-CBC-SHA256

[12-13 16:54:16 TUYA D][lr:0x9b04588f] Decode Rev:{"result":"E18D696F3577F177737DE3E668A275DC","t":1670921657,"success":true}

[12-13 16:54:17 TUYA D][lr:0x9b04db23] TUYA_TLS Disconnect ENTER

[12-13 16:54:17 TUYA D][lr:0x9b04db8f] TUYA_TLS Disconnect Success

[12-13 16:54:17 TUYA D][lr:0x9b049acf] start to write flash, beacon_key:"E18D696F3577F177737DE3E668A275DC"

[12-13 16:54:17 TUYA D][lr:0x9b061185] udp ip: 172.16.210.123

[12-13 16:54:17 TUYA D][lr:0x9b048b89] timer has started

[12-13 16:54:17 TUYA D][lr:0x9b04ba2d] mqtt connect success

[12-13 16:54:17 TUYA D][lr:0x9b0621bb] new client connect. nums:1 cfd:3 ip:0xac10d2cb

[12-13 16:54:17 TUYA D][lr:0x9b0623f9] fd:3, wk_stat = 2, type = 3

[12-13 16:54:17 TUYA D][lr:0x9b0616fb] lan version over 3.4

[12-13 16:54:17 TUYA D][lr:0x9b061717] local_key

[12-13 16:54:17 TUYA D][lr:0x9b0614a9] send length:64, id:3, sequence_out:22789

[12-13 16:54:17 TUYA D][lr:0x9b0623f9] fd:3, wk_stat = 2, type = 5

[12-13 16:54:17 TUYA D][lr:0x9b0616fb] lan version over 3.4

[12-13 16:54:17 TUYA D][lr:0x9b061717] local_key

[12-13 16:54:17 TUYA D][lr:0x9b0623f9] fd:3, wk_stat = 2, type = 10

[12-13 16:54:17 TUYA D][lr:0x9b0616fb] lan version over 3.4

[12-13 16:54:17 TUYA D][lr:0x9b061717] session_key

[12-13 16:54:17 TUYA D][lr:0x9b069817] Pack local dp, reset_flow_ctl:0,dpnum:24.

[12-13 16:54:17 TUYA D][lr:0x9b0698f5] Nothing To Pack

[12-13 16:54:17 TUYA D][lr:0x9b061be7] nothing to report

[12-13 16:54:17 TUYA D][lr:0x9b0614a9] send length:32, id:3, sequence_out:22790

[12-13 16:54:17 TUYA D][lr:0x9b0623f9] fd:3, wk_stat = 2, type = 64

[12-13 16:54:17 TUYA D][lr:0x9b0616fb] lan version over 3.4

[12-13 16:54:17 TUYA D][lr:0x9b061717] session_key

[12-13 16:54:17 TUYA E][lr:0x9b060c4d] undefined lan protocol: name:subdev_online_stat_query

[12-13 16:54:17 TUYA D][lr:0x9b0614a9] send length:32, id:3, sequence_out:22791

[12-13 16:54:17 TUYA D][lr:0x9b0487b7] rev ble event 2

[12-13 16:54:17 TUYA D][lr:0x9b048843] Dev Rev BT Package

bt_rev_raw 20

00 21 30 04 52 39 35 49 35 34 47 38 4d 42 42 46 50 41 35 39 

[12-13 16:54:17 TUYA D][lr:0x9b048f7f] recive sub_pkg desc:1, no:1, pack_len:17, total_len:17

[12-13 16:54:17 TUYA D][lr:0x9b048f21] ble data pkg is multi-pack, receive...

[12-13 16:54:17 TUYA D][lr:0x9b0487b7] rev ble event 2

[12-13 16:54:17 TUYA D][lr:0x9b048843] Dev Rev BT Package

bt_rev_raw 17

01 81 7c ee 69 fa 3f 1d d6 65 c9 bf d6 b4 96 6e d0 

[12-13 16:54:17 TUYA D][lr:0x9b048f7f] recive sub_pkg desc:3, no:2, pack_len:16, total_len:33

ble rev data 33

04 52 39 35 49 35 34 47 38 4d 42 42 46 50 41 35 39 81 7c ee 69 fa 3f 1d d6 65 c9 bf d6 b4 96 6e d0 

ble decryped data 16

00 00 00 04 00 00 00 00 00 00 00 00 c2 56 00 00 

[12-13 16:54:17 TUYA D][lr:0x9b0488c9] ble get conn stat:3

[12-13 16:54:17 TUYA D][lr:0x9b049125] Parse BT Cmd:0x0 

[12-13 16:54:17 TUYA N][lr:0x9b049155] tuya_ble_handle_dev_infor_req state:1, pkg_len:20

[12-13 16:54:17 TUYA D][lr:0x9b04885b] default resp generated.

[12-13 16:54:17 TUYA D][lr:0x9b0488c9] ble get conn stat:3

[BT DEBUG]start out of time,state:0

[BT DEBUG]reset adv ok

[12-13 16:54:18 TUYA N][lr:0x9b048353] ble adv && resp changed

[12-13 16:54:18 TUYA D][lr:0x9b0776df] load env success rtl8720cf_ameba

[12-13 16:54:18 TUYA D][lr:0x9b0776f3] env rtl8720cf_ameba same. need not to update

ssid 10d-zhihang,passwd:zhihang666,sec_type:400004,chan:7

[12-13 16:54:18 TUYA D][lr:0x9b079831] ap_info_v2 read success

[12-13 16:54:18 TUYA D][lr:0x9b071d79] pkg max len:20, sunpkg_offset:3, send_data:17

tuya_hal_bt_send 20

00 21 34 01 8c b8 88 50 09 f3 cf 0b 46 f8 7e a4 5f d4 aa 92 

[12-13 16:54:18 TUYA D][lr:0x9b071d79] pkg max len:20, sunpkg_offset:1, send_data:16

tuya_hal_bt_send 17

01 5c 12 43 75 e4 c6 0e e0 dd 42 c7 a8 a1 81 78 b8 

[12-13 16:54:18 TUYA D][lr:0x9b04842f] ble_send_data_to_app finish. len:33, send_ret:0x0

[12-13 16:54:18 TUYA D][lr:0x9b06034d] wifi netstat changed to:7  -->>

[12-13 16:54:18 TUYA N][lr:0x9b01c79b] wifi status is :7

[12-13 16:54:18 TUYA D][lr:0x9b01c009] upload_net_state...:7

[12-13 16:54:18 TUYA D][lr:0x9b01ec57] __ur_put_msg_in_que_ret!

[12-13 16:54:18 TUYA D][lr:0x9b060367] wifi netstat changed to:7  <<--

[12-13 16:54:18 TUYA E][lr:0x9b07a51b] uf_open netcfg_log err 8

[12-13 16:54:18 TUYA D][lr:0x9b01f295] port = 0

[12-13 16:54:18 TUYA D][lr:0x9b01ea15] uart_tx_ctrl.asyn_ctrl.timout_retrans_en 0  rt=1

[12-13 16:54:18 TUYA D][lr:0x9b04bae7] custom async cb op_ret: 0

[12-13 16:54:18 TUYA D][lr:0x9b04c7d9] pub finish:0

[12-13 16:54:18 TUYA D][lr:0x9b07007d] upolad: mqtt | 2.3.3 | 12-13 08:53:40 | erc:0 | [9:-64 | 50:-1]

[12-13 16:54:19 TUYA D][lr:0x9b071d79] pkg max len:20, sunpkg_offset:4, send_data:16

tuya_hal_bt_send 20

00 81 01 35 04 b9 f3 d9 15 cc a3 e7 a3 65 c0 1f 6a bb 72 02 

[12-13 16:54:19 TUYA D][lr:0x9b01f14d] data_len=0 len=7

[12-13 16:54:19 TUYA D][lr:0x9b01f159] frame_len=7

[12-13 16:54:19 TUYA D][lr:0x9b01ecb7] timout_retrans_ent=1 wait_ack 3

[12-13 16:54:19 TUYA D][lr:0x9b01eafb] DelQueueMember 

[12-13 16:54:19 TUYA D][lr:0x9b071d79] pkg max len:20, sunpkg_offset:1, send_data:19

tuya_hal_bt_send 20

01 6c d3 e7 77 08 ab ef 32 9f ec 5b c6 a4 11 42 9f 94 b6 55 

[12-13 16:54:19 TUYA D][lr:0x9b01e821] ty_uart_stop_aysn_timeout_retrans

[12-13 16:54:19 TUYA D][lr:0x9b01efcf] proce fun cmd 3

[12-13 16:54:19 TUYA D][lr:0x9b01fcaf] proc=0x0

[12-13 16:54:19 TUYA D][lr:0x9b01f021] proce fun,cmd 3

[12-13 16:54:19 TUYA D][lr:0x9b071d79] pkg max len:20, sunpkg_offset:1, send_data:19

tuya_hal_bt_send 20

02 48 8e 18 ab c7 e1 8b 31 18 95 de 61 26 3e 75 d8 56 1f 03 

[12-13 16:54:19 TUYA D][lr:0x9b01efe1] proce fun

[12-13 16:54:19 TUYA D][lr:0x9b01f14d] data_len=7 len=14

[12-13 16:54:19 TUYA D][lr:0x9b01f159] frame_len=14

[12-13 16:54:19 TUYA D][lr:0x9b01ecb7] timout_retrans_ent=0 wait_ack 0

[12-13 16:54:19 TUYA D][lr:0x9b071d79] pkg max len:20, sunpkg_offset:1, send_data:19

tuya_hal_bt_send 20

03 9c 9e e0 ae e9 60 b4 7c 60 c7 ba 45 73 f5 d8 80 27 68 ab 

[12-13 16:54:19 TUYA D][lr:0x9b01e821] ty_uart_stop_aysn_timeout_retrans

[12-13 16:54:19 TUYA D][lr:0x9b01efcf] proce fun cmd 7

[12-13 16:54:19 TUYA D][lr:0x9b01fcaf] proc=0x9b01dee9

[12-13 16:54:19 TUYA D][lr:0x9b01f021] proce fun,cmd 7

[12-13 16:54:19 TUYA D][lr:0x9b071d79] pkg max len:20, sunpkg_offset:1, send_data:19

[12-13 16:54:19 TUYA D][lr:0x9b048a0f] cloud connected, stop adv!

[12-13 16:54:19 TUYA D][lr:0x9b048a3f] nw stat change:1->2, rpt to app.

[12-13 16:54:19 TUYA D][lr:0x9b048ab5] tuya_ble_send_dev_nw_stat:2

[12-13 16:54:19 TUYA D][lr:0x9b0488c9] ble get conn stat:3

[12-13 16:54:19 TUYA D][lr:0x9b048951] tuya_ble_sdk_send. cmd:0x1e encrpyt:5

bt_ack_uncrypt 1

02 

[12-13 16:54:19 TUYA D][lr:0x9b0488c9] ble get conn stat:3

tuya_hal_bt_send 20

04 21 f3 ed [BT DEBUG]tcd 48 50 eb uya_os_adap08 73 a3 96 t_bt_stop_ad69 79 30 afv(), stop er 64 98 09 4r1 

[12-13 16:54:19 TUYA D][lr:0x9b01bda9] ty_datapoint_upload_proc len=7,up_type=0

13 00 00 03 01 00 ff 

[12-13 16:54:19 TUYA D][lr:0x9b01ba37] all_len :7

[12-13 16:54:19 TUYA D][lr:0x9b01ba85] dp_data->type :0,offset:7

[12-13 16:54:19 TUYA D][lr:0x9b071d79] pkg max len:20, sunpkg_offset:1, send_data:19

tuya_hal_bt_send 20

05 a8 23 7b b6 6e c7 0c 53 14 f6 cb 5c 97 9e a6 de 61 52 1e 

[12-13 16:54:19 TUYA D][lr:0x9b069f13] rept chan:3

[12-13 16:54:19 TUYA D][lr:0x9b068197] is_need_update:1, is_dp_passive:0

[12-13 16:54:19 TUYA D][lr:0x9b0688d3] Send dp:19, RAW:{"19":"AQD/"}, retrans:1

[12-13 16:54:19 TUYA D][lr:0x9b068e5b] dp rept_type:1, data:{"19":"AQD/"}

[12-13 16:54:19 TUYA D][lr:0x9b071d79] pkg max len:20, sunpkg_offset:1, send_data:18

tuya_hal_bt_send 19

06 ab f7 bf b9 bd a2 b3 5f 01 b6 71 71 a9 40 83 12 a9 16 

[12-13 16:54:19 TUYA D][lr:0x9b04ba69] Send MQTT Msg.P:4 N:25424 Q:1 Data:{"dps":{"19":"AQD/"}}

[12-13 16:54:19 TUYA D][lr:0x9b04842f] ble_send_data_to_app finish. len:129, send_ret:0x0

[12-13 16:54:19 TUYA D][lr:0x9b069a19] Start To Sync Dev:6c5433128499745189izy3, dp_rept_chan:3

[12-13 16:54:19 TUYA D][lr:0x9b069817] Pack local dp, reset_flow_ctl:1,dpnum:24.

[12-13 16:54:19 TUYA D][lr:0x9b0698f5] Nothing To Pack

[12-13 16:54:19 TUYA D][lr:0x9b03e803] Sync Finish

[12-13 16:54:19 TUYA D][lr:0x9b071d79] pkg max len:20, sunpkg_offset:3, send_data:17

tuya_hal_bt_send 20

00 21 36 05 1e 32 3e 5c 0b f7 14 6e 4d 8a 0f 7e f4 05 f3 54 

[12-13 16:54:19 TUYA D][lr:0x9b0487b7] rev ble event 2

[12-13 16:54:19 TUYA D][lr:0x9b048843] Dev Rev BT Package

bt_rev_raw 20

00 51 30 05 42 48 37 52 49 31 34 48 4f 35 42 49 35 45 54 49 

[12-13 16:54:19 TUYA D][lr:0x9b048f7f] recive sub_pkg desc:1, no:1, pack_len:17, total_len:17

[12-13 16:54:19 TUYA D][lr:0x9b048f21] ble data pkg is multi-pack, receive...

[12-13 16:54:19 TUYA D][lr:0x9b071d79] pkg max len:20, sunpkg_offset:1, send_data:16

tuya_hal_bt_send 17

01 ec dc e6 93 ba cc ee 4c ee 7a 8c c7 f4 32 c7 3e 

[12-13 16:54:19 TUYA D][lr:0x9b0487b7] rev ble event 2

[12-13 16:54:19 TUYA D][lr:0x9b048843] Dev Rev BT Package

bt_rev_raw 20

01 68 ac e0 1a 50 0a f5 07 dd 36 04 48 bb 2b 82 26 2a 0b 20 

[12-13 16:54:19 TUYA D][lr:0x9b048f7f] recive sub_pkg desc:2, no:2, pack_len:19, total_len:36

[12-13 16:54:19 TUYA D][lr:0x9b048f21] ble data pkg is multi-pack, receive...

[12-13 16:54:19 TUYA D][lr:0x9b04842f] ble_send_data_to_app finish. len:33, send_ret:0x0

[12-13 16:54:19 TUYA D][lr:0x9b06628f] To:0 src:{"dps":{"19":"AQD/"}} pro:4 num:25424

[12-13 16:54:19 TUYA D][lr:0x9b0487b7] rev ble event 2

[12-13 16:54:19 TUYA D][lr:0x9b048843] Dev Rev BT Package

bt_rev_raw 20

02 04 8c b2 80 90 2d 84 76 ac c2 4f 59 6d 47 3d 47 a1 5d e6 

[12-13 16:54:19 TUYA D][lr:0x9b048f7f] recive sub_pkg desc:2, no:3, pack_len:19, total_len:55

[12-13 16:54:19 TUYA D][lr:0x9b048f21] ble data pkg is multi-pack, receive...

[12-13 16:54:19 TUYA D][lr:0x9b0662db] After Pack:{"protocol":4,"t":1670921659,"data":{"dps":{"19":"AQD/"}}} offset:58

[12-13 16:54:19 TUYA D][lr:0x9b061639] Prepare To Send Lan:{"dps":{"19":"AQD/"}}, msg_len:21, out_len:73

[12-13 16:54:19 TUYA D][lr:0x9b0614a9] send length:80, id:3, sequence_out:22792

[12-13 16:54:19 TUYA D][lr:0x9b0487b7] rev ble event 2

[12-13 16:54:19 TUYA D][lr:0x9b048843] Dev Rev BT Package

bt_rev_raw 20

03 06 b1 c0 72 14 c6 5a 1e fb ec 71 b6 53 f6 88 51 6b ba ee 

[12-13 16:54:19 TUYA D][lr:0x9b048f7f] recive sub_pkg desc:2, no:4, pack_len:19, total_len:74

[12-13 16:54:19 TUYA D][lr:0x9b048f21] ble data pkg is multi-pack, receive...

[12-13 16:54:19 TUYA D][lr:0x9b0487b7] rev ble event 2

[12-13 16:54:19 TUYA D][lr:0x9b048843] Dev Rev BT Package

bt_rev_raw 8

04 53 8d 9b c7 01 fc 14 

[12-13 16:54:19 TUYA D][lr:0x9b048f7f] recive sub_pkg desc:3, no:5, pack_len:7, total_len:81

ble rev data 81

05 42 48 37 52 49 31 34 48 4f 35 42 49 35 45 54 49 68 ac e0 1a 50 0a f5 07 dd 36 04 48 bb 2b 82 26 2a 0b 20 04 8c b2 80 90 2d 84 76 ac c2 4f 59 6d 47 3d 47 a1 5d e6 06 b1 c0 72 14 c6 5a 1e fb 

ec 71 b6 53 f6 88 51 6b ba ee 53 8d 9b c7 01 fc 14 

ble decryped data 64

00 00 00 05 00 00 00 00 00 01 00 2c 32 34 36 30 31 32 32 37 32 36 35 61 34 62 63 32 63 61 35 37 34 66 36 63 35 34 33 33 31 32 38 34 39 39 37 34 35 31 38 39 69 7a 79 33 ad fa 00 00 00 00 00 00 



[12-13 16:54:19 TUYA D][lr:0x9b0488c9] ble get conn stat:3

[12-13 16:54:19 TUYA D][lr:0x9b049125] Parse BT Cmd:0x1 

[12-13 16:54:19 TUYA D][lr:0x9b049313] conn monitor timer stopped

[12-13 16:54:19 TUYA N][lr:0x9b049321] PAIR_REQ already bound!

[12-13 16:54:19 TUYA D][lr:0x9b048b89] timer has started

[12-13 16:54:19 TUYA N][lr:0x9b049361] ble_time_req start...

[12-13 16:54:19 TUYA D][lr:0x9b04937b] no need to query time. network stat:2, work stat:2

[12-13 16:54:19 TUYA D][lr:0x9b04885b] default resp generated.

[12-13 16:54:19 TUYA D][lr:0x9b0488c9] ble get conn stat:3

[12-13 16:54:19 TUYA D][lr:0x9b04c33d] Rev MQTT:{"t":1670921660,"protocol":22,"data":{"reqType":"sigQry"}}

[12-13 16:54:19 TUYA D][lr:0x9b077e0f] Rev sigQry Req

[12-13 16:54:19 TUYA D][lr:0x9b05dcb5] Get Rssi:-62

[12-13 16:54:19 TUYA D][lr:0x9b04ba69] Send MQTT Msg.P:23 N:25425 Q:0 Data:{"reqType":"sigQry","data":{"signal":-62}}

[12-13 16:54:19 TUYA D][lr:0x9b071d79] pkg max len:20, sunpkg_offset:3, send_data:17

tuya_hal_bt_send 20

00 21 37 05 96 97 4c 0a c7 23 1d 2c eb 82 1c d5 cf 0b 55 49 

[12-13 16:54:20 TUYA D][lr:0x9b072cb1] Rev BT user Data. type:0

[12-13 16:54:20 TUYA D][lr:0x9b067fa1] set short dp rate rule, dpID:19, curr_t:1670921660, rept_cnt:1.

[12-13 16:54:20 TUYA D][lr:0x9b067fb7] set long dp rate rule, dpID:19, curr_t:1670921660, rept_cnt:0.

[12-13 16:54:20 TUYA D][lr:0x9b067fcd] set all dp rate rule, dpID:19, curr_t:1670921660, rept_cnt:0.

[12-13 16:54:20 TUYA D][lr:0x9b071d79] pkg max len:20, sunpkg_offset:1, send_data:16

tuya_hal_bt_send 17

01 67 1f b7 64 45 ac c1 50 bd de 2e b2 ea 85 39 3c 

[12-13 16:54:20 TUYA D][lr:0x9b01efe1] proce fun

[12-13 16:54:20 TUYA D][lr:0x9b01f14d] data_len=5 len=12

[12-13 16:54:20 TUYA D][lr:0x9b01f159] frame_len=12

[12-13 16:54:20 TUYA D][lr:0x9b01ecb7] timout_retrans_ent=0 wait_ack 0

[12-13 16:54:20 TUYA D][lr:0x9b04842f] ble_send_data_to_app finish. len:33, send_ret:0x0

[12-13 16:54:20 TUYA D][lr:0x9b01e821] ty_uart_stop_aysn_timeout_retrans

[12-13 16:54:20 TUYA D][lr:0x9b01efcf] proce fun cmd 7

[12-13 16:54:20 TUYA D][lr:0x9b0487b7] rev ble event 2

[12-13 16:54:20 TUYA D][lr:0x9b048843] Dev Rev BT Package

bt_rev_raw 20

00 21 30 05 42 48 37 52 49 31 34 48 4f 35 42 49 35 45 54 49 

[12-13 16:54:20 TUYA D][lr:0x9b048f7f] recive sub_pkg desc:1, no:1, pack_len:17, total_len:17

[12-13 16:54:20 TUYA D][lr:0x9b048f21] ble data pkg is multi-pack, receive...

[12-13 16:54:20 TUYA D][lr:0x9b0487b7] rev ble event 2

[12-13 16:54:20 TUYA D][lr:0x9b048843] Dev Rev BT Package

bt_rev_raw 17

01 3e a8 fb 00 51 4c bf d9 08 d2 43 e7 1c 53 9f 06 

[12-13 16:54:20 TUYA D][lr:0x9b048f7f] recive sub_pkg desc:3, no:2, pack_len:16, total_len:33

ble rev data 33

05 42 48 37 52 49 31 34 48 4f 35 42 49 35 45 54 49 3e a8 fb 00 51 4c bf d9 08 d2 43 e7 1c 53 9f 06 

ble decryped data 16

00 00 00 06 00 00 00 00 00 03 00 00 a2 bf 00 00 

[12-13 16:54:20 TUYA D][lr:0x9b0488c9] ble get conn stat:3

[12-13 16:54:20 TUYA D][lr:0x9b049125] Parse BT Cmd:0x3 

[12-13 16:54:20 TUYA D][lr:0x9b04913f] BT Cmd:3 Has No def operate

Dp Query 0



[12-13 16:54:20 TUYA D][lr:0x9b0488c9] ble get conn stat:3

[12-13 16:54:20 TUYA D][lr:0x9b048951] tuya_ble_sdk_send. cmd:0x3 encrpyt:5

bt_ack_uncrypt 1

00 

[12-13 16:54:20 TUYA D][lr:0x9b0488c9] ble get conn stat:3

[12-13 16:54:20 TUYA D][lr:0x9b072945] user dp query, sdk no process.

[12-13 16:54:20 TUYA N][lr:0x9b01c3fd] tuya_ble_query_dp_cb...

[12-13 16:54:20 TUYA D][lr:0x9b01edeb] ty_uart_fr_send_syn

[12-13 16:54:20 TUYA D][lr:0x9b01f295] port = 0

[12-13 16:54:20 TUYA D][lr:0x9b01edff] ty_uart_fr_send_syn

[12-13 16:54:20 TUYA D][lr:0x9b071d79] pkg max len:20, sunpkg_offset:3, send_data:17

tuya_hal_bt_send 20

00 21 38 05 56 db c8 2a 7f b3 b4 1c 2c 62 8c 66 dd 38 a3 8e 

[12-13 16:54:20 TUYA D][lr:0x9b072cb1] Rev BT user Data. type:1

[12-13 16:54:20 TUYA D][lr:0x9b01fcaf] proc=0x9b01dee9

[12-13 16:54:20 TUYA D][lr:0x9b01f021] proce fun,cmd 7

[12-13 16:54:20 TUYA D][lr:0x9b01bda9] ty_datapoint_upload_proc len=5,up_type=0

[12-13 16:54:20 TUYA D][lr:0x9b071d79] pkg max len:20, sunpkg_offset:1, send_data:16

tuya_hal_bt_send 17

01 f6 e4 91 8f 0d 05 36 bb a2 4f 70 5f 3b 45 db d6 

02 01 00 01 00 

[12-13 16:54:20 TUYA D][lr:0x9b01ba37] all_len :5

[12-13 16:54:20 TUYA D][lr:0x9b01ba85] dp_data->type :1,offset:5

[12-13 16:54:20 TUYA D][lr:0x9b01ba53] dp_obj_data obj_dp_cnt:1,malloc len:12

[12-13 16:54:20 TUYA D][lr:0x9b01babb] dev_report_dp_stat_sync up_type:0

[12-13 16:54:20 TUYA D][lr:0x9b04842f] ble_send_data_to_app finish. len:33, send_ret:0x0

[12-13 16:54:20 TUYA D][lr:0x9b069f13] rept chan:3

[12-13 16:54:20 TUYA D][lr:0x9b068151] dp<2> check. need_update:1 pv_stat:0 trig_t:0 dp_rept_type:0 force_send:0

[12-13 16:54:20 TUYA D][lr:0x9b068171] dp_cntl bool:0, dp_data bool:0

[12-13 16:54:20 TUYA D][lr:0x9b068197] is_need_update:1, is_dp_passive:0

[12-13 16:54:20 TUYA D][lr:0x9b068e5b] dp rept_type:0, data:{"2":false}

[12-13 16:54:20 TUYA D][lr:0x9b06628f] To:0 src:{"dps":{"2":false}} pro:4 num:25426

[12-13 16:54:20 TUYA D][lr:0x9b0662db] After Pack:{"protocol":4,"t":1670921660,"data":{"dps":{"2":false}}} offset:56

[12-13 16:54:20 TUYA D][lr:0x9b061639] Prepare To Send Lan:{"dps":{"2":false}}, msg_len:19, out_len:71

[12-13 16:54:20 TUYA D][lr:0x9b0614a9] send length:80, id:3, sequence_out:22793

[12-13 16:54:20 TUYA D][lr:0x9b072cb1] Rev BT user Data. type:3

[12-13 16:54:20 TUYA D][lr:0x9b04ba69] Send MQTT Msg.P:4 N:25426 Q:1 Data:{"dps":{"2":false}}

[12-13 16:54:20 TUYA D][lr:0x9b01efe1] proce fun

[12-13 16:54:20 TUYA D][lr:0x9b01f14d] data_len=5 len=12

[12-13 16:54:20 TUYA D][lr:0x9b01f159] frame_len=12

[12-13 16:54:20 TUYA E][lr:0x9b01f185] crc16:2f check:0

[12-13 16:54:20 TUYA D][lr:0x9b01f14d] data_len=8 len=15

[12-13 16:54:20 TUYA D][lr:0x9b01f159] frame_len=15

[12-13 16:54:20 TUYA D][lr:0x9b01ecb7] timout_retrans_ent=0 wait_ack 0

[12-13 16:54:20 TUYA D][lr:0x9b01e821] ty_uart_stop_aysn_timeout_retrans

[12-13 16:54:20 TUYA D][lr:0x9b01efcf] proce fun cmd 7

[12-13 16:54:20 TUYA D][lr:0x9b01fcaf] proc=0x9b01dee9

[12-13 16:54:20 TUYA D][lr:0x9b01f021] proce fun,cmd 7

[12-13 16:54:20 TUYA D][lr:0x9b01bda9] ty_datapoint_upload_proc len=8,up_type=0

06 02 00 04 00 00 00 2a 

[12-13 16:54:20 TUYA D][lr:0x9b01ba37] all_len :8

[12-13 16:54:20 TUYA D][lr:0x9b01ba85] dp_data->type :2,offset:8

[12-13 16:54:20 TUYA D][lr:0x9b01ba53] dp_obj_data obj_dp_cnt:1,malloc len:12

[12-13 16:54:20 TUYA D][lr:0x9b01babb] dev_report_dp_stat_sync up_type:0

[12-13 16:54:20 TUYA D][lr:0x9b069f13] rept chan:3

[12-13 16:54:20 TUYA D][lr:0x9b068151] dp<6> check. need_update:1 pv_stat:0 trig_t:0 dp_rept_type:0 force_send:0

[12-13 16:54:20 TUYA D][lr:0x9b0681a9] dp_cntl value:0, dp_data value:42

[12-13 16:54:20 TUYA D][lr:0x9b068197] is_need_update:1, is_dp_passive:0

[12-13 16:54:20 TUYA D][lr:0x9b068dd7] msg_data:{"dps":{"2":false}}, mqtt async dp cb:0

[12-13 16:54:20 TUYA D][lr:0x9b067fa1] set short dp rate rule, dpID:2, curr_t:1670921660, rept_cnt:1.

[12-13 16:54:20 TUYA D][lr:0x9b067fb7] set long dp rate rule, dpID:2, curr_t:1670921660, rept_cnt:0.

[12-13 16:54:20 TUYA D][lr:0x9b067fcd] set all dp rate rule, dpID:2, curr_t:1670921660, rept_cnt:0.

[12-13 16:54:20 TUYA D][lr:0x9b068e5b] dp rept_type:0, data:{"6":42}

[12-13 16:54:20 TUYA D][lr:0x9b06628f] To:0 src:{"dps":{"6":42}} pro:4 num:25427

[12-13 16:54:20 TUYA D][lr:0x9b0662db] After Pack:{"protocol":4,"t":1670921660,"data":{"dps":{"6":42}}} offset:53

[12-13 16:54:20 TUYA D][lr:0x9b061639] Prepare To Send Lan:{"dps":{"6":42}}, msg_len:16, out_len:68

[12-13 16:54:20 TUYA D][lr:0x9b0614a9] send length:80, id:3, sequence_out:22794

[12-13 16:54:20 TUYA D][lr:0x9b04ba69] Send MQTT Msg.P:4 N:25427 Q:1 Data:{"dps":{"6":42}}

[12-13 16:54:20 TUYA D][lr:0x9b01efe1] proce fun

[12-13 16:54:20 TUYA D][lr:0x9b01f14d] data_len=8 len=15

[12-13 16:54:20 TUYA D][lr:0x9b01f159] frame_len=15

[12-13 16:54:20 TUYA D][lr:0x9b01ecb7] timout_retrans_ent=0 wait_ack 0

[12-13 16:54:20 TUYA D][lr:0x9b01e821] ty_uart_stop_aysn_timeout_retrans

[12-13 16:54:20 TUYA D][lr:0x9b01efcf] proce fun cmd 7

[12-13 16:54:20 TUYA D][lr:0x9b01fcaf] proc=0x9b01dee9

[12-13 16:54:20 TUYA D][lr:0x9b01f021] proce fun,cmd 7

[12-13 16:54:20 TUYA D][lr:0x9b01bda9] ty_datapoint_upload_proc len=8,up_type=0

[12-13 16:54:20 TUYA D][lr:0x9b068dd7] msg_data:{"dps":{"6":42}}, mqtt async dp cb:0

[12-13 16:54:20 TUYA D][lr:0x9b067fa1] set short dp rate rule, dpID:6, curr_t:1670921660, rept_cnt:1.

[12-13 16:54:20 TUYA D][lr:0x9b067fb7] set long dp rate rule, dpID:6, curr_t:1670921660, rept_cnt:0.

[12-13 16:54:20 TUYA D][lr:0x9b067fcd] set all dp rate rule, dpID:6, curr_t:1670921660, rept_cnt:0.

07 02 00 04 00 00 00 1e 

[12-13 16:54:20 TUYA D][lr:0x9b01ba37] all_len :8

[12-13 16:54:20 TUYA D][lr:0x9b01ba85] dp_data->type :2,offset:8

[12-13 16:54:20 TUYA D][lr:0x9b01ba53] dp_obj_data obj_dp_cnt:1,malloc len:12

[12-13 16:54:20 TUYA D][lr:0x9b01babb] dev_report_dp_stat_sync up_type:0

[12-13 16:54:20 TUYA D][lr:0x9b069f13] rept chan:3

[12-13 16:54:20 TUYA D][lr:0x9b068151] dp<7> check. need_update:1 pv_stat:0 trig_t:0 dp_rept_type:0 force_send:0

[12-13 16:54:20 TUYA D][lr:0x9b0681a9] dp_cntl value:0, dp_data value:30

[12-13 16:54:20 TUYA D][lr:0x9b068197] is_need_update:1, is_dp_passive:0

[12-13 16:54:20 TUYA D][lr:0x9b068e5b] dp rept_type:0, data:{"7":30}

[12-13 16:54:20 TUYA D][lr:0x9b06628f] To:0 src:{"dps":{"7":30}} pro:4 num:25428

[12-13 16:54:20 TUYA D][lr:0x9b0662db] After Pack:{"protocol":4,"t":1670921660,"data":{"dps":{"7":30}}} offset:53

[12-13 16:54:20 TUYA D][lr:0x9b061639] Prepare To Send Lan:{"dps":{"7":30}}, msg_len:16, out_len:68

[12-13 16:54:20 TUYA D][lr:0x9b0614a9] send length:80, id:3, sequence_out:22795

[12-13 16:54:20 TUYA D][lr:0x9b04ba69] Send MQTT Msg.P:4 N:25428 Q:1 Data:{"dps":{"7":30}}

[12-13 16:54:20 TUYA D][lr:0x9b01efe1] proce fun

[12-13 16:54:20 TUYA D][lr:0x9b068dd7] msg_data:{"dps":{"7":30}}, mqtt async dp cb:0

[12-13 16:54:20 TUYA D][lr:0x9b067fa1] set short dp rate rule, dpID:7, curr_t:1670921660, rept_cnt:1.

[12-13 16:54:20 TUYA D][lr:0x9b067fb7] set long dp rate rule, dpID:7, curr_t:1670921660, rept_cnt:0.

[12-13 16:54:20 TUYA D][lr:0x9b067fcd] set all dp rate rule, dpID:7, curr_t:1670921660, rept_cnt:0.

[12-13 16:54:21 TUYA D][lr:0x9b01e7a3] sleep:10 timeout_cnt 5 rv len 44

[12-13 16:54:21 TUYA D][lr:0x9b01e7a3] sleep:10 timeout_cnt 4 rv len 44

[12-13 16:54:21 TUYA D][lr:0x9b01e7a3] sleep:10 timeout_cnt 3 rv len 44

[12-13 16:54:21 TUYA D][lr:0x9b01e7a3] sleep:10 timeout_cnt 2 rv len 44

[12-13 16:54:21 TUYA D][lr:0x9b01e7a3] sleep:10 timeout_cnt 1 rv len 44

[12-13 16:54:21 TUYA D][lr:0x9b054c71] schema[000004b5bt] not updated since activated

[12-13 16:54:22 TUYA D][lr:0x9b048a3f] nw stat change:2->2, rpt to app.

[12-13 16:54:22 TUYA D][lr:0x9b048ab5] tuya_ble_send_dev_nw_stat:2

[12-13 16:54:22 TUYA D][lr:0x9b0488c9] ble get conn stat:3

[12-13 16:54:22 TUYA D][lr:0x9b048951] tuya_ble_sdk_send. cmd:0x1e encrpyt:5

bt_ack_uncrypt 1

02 

[12-13 16:54:22 TUYA D][lr:0x9b0488c9] ble get conn stat:3

[12-13 16:54:22 TUYA D][lr:0x9b071d79] pkg max len:20, sunpkg_offset:3, send_data:17

tuya_hal_bt_send 20

00 21 39 05 15 68 23 34 53 f1 1d b2 18 79 27 5e c2 6b da 8f 

[12-13 16:54:22 TUYA D][lr:0x9b071d79] pkg max len:20, sunpkg_offset:1, send_data:16

tuya_hal_bt_send 17

01 eb 48 85 4f 82 9b 34 b9 c1 66 97 6b 46 27 7c 58 

[12-13 16:54:22 TUYA D][lr:0x9b04842f] ble_send_data_to_app finish. len:33, send_ret:0x0

[12-13 16:54:25 TUYA D][lr:0x9b05c65d] set time by rtc

[12-13 16:54:26 TUYA D][lr:0x9b045095] Post Data: {"data":"0","t":1670921666}

[12-13 16:54:26 TUYA D][lr:0x9b045123] Post URL: https://a3.tuyacn.com/d.json?a=atop.online.debug.log&devId=6c5433128499745189izy3&et=1&t=1670921666&sign=98edcf3603e4b5dc057b54b70db24d24

[12-13 16:54:26 TUYA D][lr:0x9b064961] Connect: a3.tuyacn.com Port: 443  -->>

[12-13 16:54:26 TUYA D][lr:0x9b058d25] unw_gethostbyname a3.tuyacn.com, prio 2



[12-13 16:54:26 TUYA D][lr:0x9b058dbf] use dynamic dns ip:121.5.96.248 for domain:a3.tuyacn.com

[12-13 16:54:26 TUYA D][lr:0x9b0649cd] ----got ipaddr:121,5,96,248

[12-13 16:54:26 TUYA D][lr:0x9b064a63] Connect: a3.tuyacn.com Port: 443  --<< ,r:0

[12-13 16:54:26 TUYA D][lr:0x9b04d783] ----enable_cert:0,DEFAULT_LOAD_CERT:0

[12-13 16:54:26 TUYA D][lr:0x9b04d827] TUYA_TLS Begin Connect a3.tuyacn.com:443  CustomNet:TRUE Enable_Cert:FALSE Default:FALSE 

[12-13 16:54:26 TUYA D][lr:0x9b04d919] socket fd is set. set to inner send/recv to handshake

[12-13 16:54:26 TUYA D][lr:0x9b04d947] handshake finish for a3.tuyacn.com. set send/recv to user set

[12-13 16:54:26 TUYA D][lr:0x9b04d977] TUYA_TLS Success Connect a3.tuyacn.com:443  CustomNet:TRUE Suit:TLS-PSK-WITH-AES-128-CBC-SHA256

[12-13 16:54:26 TUYA D][lr:0x9b04588f] Decode Rev:{"result":true,"t":1670921667,"success":true}

[12-13 16:54:27 TUYA D][lr:0x9b04db23] TUYA_TLS Disconnect ENTER

[12-13 16:54:27 TUYA D][lr:0x9b04db8f] TUYA_TLS Disconnect Success

[12-13 16:54:27 TUYA D][lr:0x9b055211] put rst log finish

[12-13 16:54:27 TUYA D][lr:0x9b045095] Post Data: {"type":"[\"timezone\",\"rateRule\"]","t":1670921667}

[12-13 16:54:27 TUYA D][lr:0x9b045123] Post URL: https://a3.tuyacn.com/d.json?a=tuya.device.dynamic.config.get&devId=6c5433128499745189izy3&et=1&t=1670921667&v=2.0&sign=9219a5966077d2e08631cee90acab067

[12-13 16:54:27 TUYA D][lr:0x9b064961] Connect: a3.tuyacn.com Port: 443  -->>

[12-13 16:54:27 TUYA D][lr:0x9b058d25] unw_gethostbyname a3.tuyacn.com, prio 2



[12-13 16:54:27 TUYA D][lr:0x9b058dbf] use dynamic dns ip:121.5.96.248 for domain:a3.tuyacn.com

[12-13 16:54:27 TUYA D][lr:0x9b0649cd] ----got ipaddr:121,5,96,248

[12-13 16:54:27 TUYA D][lr:0x9b064a63] Connect: a3.tuyacn.com Port: 443  --<< ,r:0

[12-13 16:54:27 TUYA D][lr:0x9b04d783] ----enable_cert:0,DEFAULT_LOAD_CERT:0

[12-13 16:54:27 TUYA D][lr:0x9b04d827] TUYA_TLS Begin Connect a3.tuyacn.com:443  CustomNet:TRUE Enable_Cert:FALSE Default:FALSE 

[12-13 16:54:27 TUYA D][lr:0x9b04d919] socket fd is set. set to inner send/recv to handshake

[12-13 16:54:27 TUYA D][lr:0x9b04d947] handshake finish for a3.tuyacn.com. set send/recv to user set

[12-13 16:54:27 TUYA D][lr:0x9b04d977] TUYA_TLS Success Connect a3.tuyacn.com:443  CustomNet:TRUE Suit:TLS-PSK-WITH-AES-128-CBC-SHA256

[12-13 16:54:27 TUYA D][lr:0x9b04588f] Decode Rev:{"result":{"timezone":{"ackId":"0-0","validTime":1800,"time":1670921667,"config":{"stdTimeZone":"+08:00","dstIntervals":[]}}},"t":1670921667,"success":true}

[12-13 16:54:27 TUYA D][lr:0x9b04db23] TUYA_TLS Disconnect ENTER

[12-13 16:54:27 TUYA D][lr:0x9b04db8f] TUYA_TLS Disconnect Success

[12-13 16:54:27 TUYA D][lr:0x9b04767f] dynamic cfg post data:{"type":"[\"timezone\",\"rateRule\"]","t":1670921667}, ret:0.

[12-13 16:54:27 TUYA D][lr:0x9b05a197] timezone:+08:00

[12-13 16:54:27 TUYA D][lr:0x9b05a207] summer_time_zone:[]

[12-13 16:54:27 TUYA D][lr:0x9b05c125] gw_ai write success

[12-13 16:54:27 TUYA D][lr:0x9b05c927] set dp rate_rule:{"timezone":{"ackId":"0-0","validTime":1800,"time":1670921667,"config":{"stdTimeZone":"+08:00","dstIntervals":[]}}}.

[12-13 16:54:27 TUYA D][lr:0x9b05c753] reset dp rate rule finish.

[12-13 16:54:27 TUYA D][lr:0x9b045095] Post Data: {"ackList":[{"type":"timezone","ackId":"0-0"}],"t":1670921667}

[12-13 16:54:27 TUYA D][lr:0x9b045123] Post URL: https://a3.tuyacn.com/d.json?a=tuya.device.dynamic.config.ack&devId=6c5433128499745189izy3&et=1&t=1670921667&v=2.0&sign=932a7fcccd48f758f2f3c79925918855

[12-13 16:54:27 TUYA D][lr:0x9b064961] Connect: a3.tuyacn.com Port: 443  -->>

[12-13 16:54:27 TUYA D][lr:0x9b058d25] unw_gethostbyname a3.tuyacn.com, prio 2



[12-13 16:54:27 TUYA D][lr:0x9b058dbf] use dynamic dns ip:121.5.96.248 for domain:a3.tuyacn.com

[12-13 16:54:27 TUYA D][lr:0x9b0649cd] ----got ipaddr:121,5,96,248

[12-13 16:54:27 TUYA D][lr:0x9b064a63] Connect: a3.tuyacn.com Port: 443  --<< ,r:0

[12-13 16:54:27 TUYA D][lr:0x9b04d783] ----enable_cert:0,DEFAULT_LOAD_CERT:0

[12-13 16:54:27 TUYA D][lr:0x9b04d827] TUYA_TLS Begin Connect a3.tuyacn.com:443  CustomNet:TRUE Enable_Cert:FALSE Default:FALSE 

[12-13 16:54:27 TUYA D][lr:0x9b04d919] socket fd is set. set to inner send/recv to handshake

[12-13 16:54:27 TUYA D][lr:0x9b04d947] handshake finish for a3.tuyacn.com. set send/recv to user set

[12-13 16:54:27 TUYA D][lr:0x9b04d977] TUYA_TLS Success Connect a3.tuyacn.com:443  CustomNet:TRUE Suit:TLS-PSK-WITH-AES-128-CBC-SHA256

[12-13 16:54:27 TUYA D][lr:0x9b04588f] Decode Rev:{"t":1670921668,"success":true}

[12-13 16:54:28 TUYA D][lr:0x9b04db23] TUYA_TLS Disconnect ENTER

[12-13 16:54:28 TUYA D][lr:0x9b04db8f] TUYA_TLS Disconnect Success

[12-13 16:54:28 TUYA D][lr:0x9b046ea3] dynamic cfg post data:{"ackList":[{"type":"timezone","ackId":"0-0"}],"t":1670921667}, ret:0.

[12-13 16:54:28 TUYA N][lr:0x9b01b5dd] send heat beat ,get heap size 30696

[12-13 16:54:28 TUYA D][lr:0x9b01ec57] __ur_put_msg_in_que_ret!

[12-13 16:54:28 TUYA D][lr:0x9b01f295] port = 0

[12-13 16:54:28 TUYA D][lr:0x9b01ea15] uart_tx_ctrl.asyn_ctrl.timout_retrans_en 0  rt=1

[12-13 16:54:28 TUYA D][lr:0x9b01f14d] data_len=1 len=8

[12-13 16:54:28 TUYA D][lr:0x9b01f159] frame_len=8

[12-13 16:54:28 TUYA D][lr:0x9b01ecb7] timout_retrans_ent=1 wait_ack 0

[12-13 16:54:28 TUYA D][lr:0x9b01eafb] DelQueueMember 

[12-13 16:54:28 TUYA D][lr:0x9b01e821] ty_uart_stop_aysn_timeout_retrans

[12-13 16:54:28 TUYA D][lr:0x9b01efcf] proce fun cmd 0

[12-13 16:54:28 TUYA D][lr:0x9b01fcaf] proc=0x9b01dd55

[12-13 16:54:28 TUYA D][lr:0x9b01f021] proce fun,cmd 0

[12-13 16:54:28 TUYA N][lr:0x9b01dd61] recv jump_pack ok.

[12-13 16:54:28 TUYA D][lr:0x9b01efe1] proce fun

[12-13 16:54:28 TUYA D][lr:0x9b01f14d] data_len=2 len=9

[12-13 16:54:28 TUYA D][lr:0x9b01f159] frame_len=9

[12-13 16:54:28 TUYA D][lr:0x9b01ecb7] timout_retrans_ent=0 wait_ack 0

[12-13 16:54:28 TUYA D][lr:0x9b01e821] ty_uart_stop_aysn_timeout_retrans

[12-13 16:54:28 TUYA D][lr:0x9b01efcf] proce fun cmd 52

[12-13 16:54:28 TUYA D][lr:0x9b01fc91] proc=0x9b01ce7d

[12-13 16:54:28 TUYA D][lr:0x9b01f005] proce fun,cmd 52 son cmd 8

[12-13 16:54:28 TUYA N][lr:0x9b01cec3] debug level :4,pdata :1

[12-13 16:54:28 TUYA D][lr:0x9b01edeb] ty_uart_fr_send_syn

[12-13 16:54:28 TUYA D][lr:0x9b01f295] port = 0

[12-13 16:54:28 TUYA D][lr:0x9b01edff] ty_uart_fr_send_syn

[12-13 16:54:28 TUYA D][lr:0x9b01efe1] proce fun

[12-13 16:54:30 TUYA D][lr:0x9b05d1a7] feed watchdog

[12-13 16:54:31 TUYA N][lr:0x9b076ad5] Update Timer from cloud

[12-13 16:54:31 TUYA D][lr:0x9b045095] Post Data: {"devId":"6c5433128499745189izy3","lastFetchTime":"0","t":1670921671}

[12-13 16:54:31 TUYA D][lr:0x9b045123] Post URL: https://a3.tuyacn.com/d.json?a=tuya.device.timer.count&devId=6c5433128499745189izy3&et=1&t=1670921671&v=4.2&sign=913f1c79a21ee8679e0f52c3bbfe892a

[12-13 16:54:31 TUYA D][lr:0x9b064961] Connect: a3.tuyacn.com Port: 443  -->>

[12-13 16:54:31 TUYA D][lr:0x9b058d25] unw_gethostbyname a3.tuyacn.com, prio 2



[12-13 16:54:31 TUYA D][lr:0x9b058dbf] use dynamic dns ip:121.5.96.248 for domain:a3.tuyacn.com

[12-13 16:54:31 TUYA D][lr:0x9b0649cd] ----got ipaddr:121,5,96,248

[12-13 16:54:31 TUYA D][lr:0x9b064a63] Connect: a3.tuyacn.com Port: 443  --<< ,r:0

[12-13 16:54:31 TUYA D][lr:0x9b04d783] ----enable_cert:0,DEFAULT_LOAD_CERT:0

[12-13 16:54:31 TUYA D][lr:0x9b04d827] TUYA_TLS Begin Connect a3.tuyacn.com:443  CustomNet:TRUE Enable_Cert:FALSE Default:FALSE 

[12-13 16:54:31 TUYA D][lr:0x9b04d919] socket fd is set. set to inner send/recv to handshake

[12-13 16:54:31 TUYA D][lr:0x9b04d947] handshake finish for a3.tuyacn.com. set send/recv to user set

[12-13 16:54:31 TUYA D][lr:0x9b04d977] TUYA_TLS Success Connect a3.tuyacn.com:443  CustomNet:TRUE Suit:TLS-PSK-WITH-AES-128-CBC-SHA256

[12-13 16:54:32 TUYA D][lr:0x9b04588f] Decode Rev:{"result":{"devId":"6c5433128499745189izy3","code":"200","count":0,"lastFetchTime":0},"t":1670921672,"success":true}

[12-13 16:54:32 TUYA D][lr:0x9b04db23] TUYA_TLS Disconnect ENTER

[12-13 16:54:32 TUYA D][lr:0x9b04db8f] TUYA_TLS Disconnect Success

[12-13 16:54:32 TUYA D][lr:0x9b076b9b] time eq skip:0

[12-13 16:54:32 TUYA D][lr:0x9b045095] Post Data: {"subId":null,"t":1670921672}

[12-13 16:54:32 TUYA D][lr:0x9b045123] Post URL: https://a3.tuyacn.com/d.json?a=tuya.device.upgrade.silent.get&devId=6c5433128499745189izy3&et=1&t=1670921672&v=4.4&sign=db79d7dbe43c2baed295ebe54aeb7195

[12-13 16:54:32 TUYA D][lr:0x9b064961] Connect: a3.tuyacn.com Port: 443  -->>

[12-13 16:54:32 TUYA D][lr:0x9b058d25] unw_gethostbyname a3.tuyacn.com, prio 2



[12-13 16:54:32 TUYA D][lr:0x9b058dbf] use dynamic dns ip:121.5.96.248 for domain:a3.tuyacn.com

[12-13 16:54:32 TUYA D][lr:0x9b0649cd] ----got ipaddr:121,5,96,248

[12-13 16:54:32 TUYA D][lr:0x9b064a63] Connect: a3.tuyacn.com Port: 443  --<< ,r:0

[12-13 16:54:32 TUYA D][lr:0x9b04d783] ----enable_cert:1,DEFAULT_LOAD_CERT:0

[12-13 16:54:32 TUYA D][lr:0x9b04d827] TUYA_TLS Begin Connect a3.tuyacn.com:443  CustomNet:TRUE Enable_Cert:TRUE Default:FALSE 

[12-13 16:54:32 TUYA D][lr:0x9b04d919] socket fd is set. set to inner send/recv to handshake

[12-13 16:54:32 TUYA D][lr:0x9b04d947] handshake finish for a3.tuyacn.com. set send/recv to user set

[12-13 16:54:32 TUYA D][lr:0x9b04d977] TUYA_TLS Success Connect a3.tuyacn.com:443  CustomNet:TRUE Suit:TLS-PSK-WITH-AES-128-CBC-SHA256

[12-13 16:54:32 TUYA D][lr:0x9b04588f] Decode Rev:{"t":1670921672,"success":true}

[12-13 16:54:32 TUYA D][lr:0x9b04db23] TUYA_TLS Disconnect ENTER

[12-13 16:54:32 TUYA D][lr:0x9b04db8f] TUYA_TLS Disconnect Success

[12-13 16:54:32 TUYA E][lr:0x9b054257] result null

[12-13 16:54:32 TUYA D][lr:0x9b0541f1] silent get firmware fail

[12-13 16:54:32 TUYA D][lr:0x9b053d9d] next detect timer: 21600s

[12-13 16:54:34 TUYA D][lr:0x9b05508d] schema get:{"schemaId":"000004b5bt","version":""}

[12-13 16:54:34 TUYA D][lr:0x9b045095] Post Data: {"schemaId":"000004b5bt","version":"","t":1670921674}

[12-13 16:54:34 TUYA D][lr:0x9b045123] Post URL: https://a3.tuyacn.com/d.json?a=tuya.device.schema.newest.get&devId=6c5433128499745189izy3&et=1&t=1670921674&v=1.1&sign=00f70f5c6a6d9ba4aaa5f3f3dae30e6a

[12-13 16:54:34 TUYA D][lr:0x9b064961] Connect: a3.tuyacn.com Port: 443  -->>

[12-13 16:54:34 TUYA D][lr:0x9b058d25] unw_gethostbyname a3.tuyacn.com, prio 2



[12-13 16:54:34 TUYA D][lr:0x9b058dbf] use dynamic dns ip:121.5.96.248 for domain:a3.tuyacn.com

[12-13 16:54:34 TUYA D][lr:0x9b0649cd] ----got ipaddr:121,5,96,248

[12-13 16:54:34 TUYA D][lr:0x9b064a63] Connect: a3.tuyacn.com Port: 443  --<< ,r:0

[12-13 16:54:34 TUYA D][lr:0x9b04d783] ----enable_cert:1,DEFAULT_LOAD_CERT:0

[12-13 16:54:34 TUYA D][lr:0x9b04d827] TUYA_TLS Begin Connect a3.tuyacn.com:443  CustomNet:TRUE Enable_Cert:TRUE Default:FALSE 

[12-13 16:54:34 TUYA D][lr:0x9b04d919] socket fd is set. set to inner send/recv to handshake

[12-13 16:54:34 TUYA D][lr:0x9b04d947] handshake finish for a3.tuyacn.com. set send/recv to user set

[12-13 16:54:34 TUYA D][lr:0x9b04d977] TUYA_TLS Success Connect a3.tuyacn.com:443  CustomNet:TRUE Suit:TLS-PSK-WITH-AES-128-CBC-SHA256

[12-13 16:54:34 TUYA D][lr:0x9b04588f] Decode Rev:{"result":{"schema":"","schemaId":"000004b5bt"},"t":1670921674,"success":true}

[12-13 16:54:34 TUYA D][lr:0x9b04db23] TUYA_TLS Disconnect ENTER

[12-13 16:54:34 TUYA D][lr:0x9b04db8f] TUYA_TLS Disconnect Success

[12-13 16:54:34 TUYA D][lr:0x9b0550b7] schema get result:{"schema":"","schemaId":"000004b5bt"}

[12-13 16:54:34 TUYA D][lr:0x9b054c05] schema[000004b5bt] ver not update

[12-13 16:54:37 TUYA D][lr:0x9b04b33f] close binding periond window!!

[12-13 16:54:41 TUYA D][lr:0x9b0549ff] next schema get slot 56289.

[12-13 16:54:43 TUYA N][lr:0x9b01b5dd] send heat beat ,get heap size 30712

[12-13 16:54:43 TUYA D][lr:0x9b01ec57] __ur_put_msg_in_que_ret!

[12-13 16:54:43 TUYA D][lr:0x9b01f295] port = 0

[12-13 16:54:43 TUYA D][lr:0x9b01ea15] uart_tx_ctrl.asyn_ctrl.timout_retrans_en 0  rt=1

[12-13 16:54:43 TUYA D][lr:0x9b01f14d] data_len=1 len=8

[12-13 16:54:43 TUYA D][lr:0x9b01f159] frame_len=8

[12-13 16:54:43 TUYA D][lr:0x9b01ecb7] timout_retrans_ent=1 wait_ack 0

[12-13 16:54:43 TUYA D][lr:0x9b01eafb] DelQueueMember 

[12-13 16:54:43 TUYA D][lr:0x9b01e821] ty_uart_stop_aysn_timeout_retrans

[12-13 16:54:43 TUYA D][lr:0x9b01efcf] proce fun cmd 0

[12-13 16:54:43 TUYA D][lr:0x9b01fcaf] proc=0x9b01dd55

[12-13 16:54:43 TUYA D][lr:0x9b01f021] proce fun,cmd 0

[12-13 16:54:43 TUYA N][lr:0x9b01dd61] recv jump_pack ok.

[12-13 16:54:43 TUYA D][lr:0x9b01efe1] proce fun

[12-13 16:54:43 TUYA D][lr:0x9b01f14d] data_len=2 len=9

[12-13 16:54:43 TUYA D][lr:0x9b01f159] frame_len=9

[12-13 16:54:43 TUYA D][lr:0x9b01ecb7] timout_retrans_ent=0 wait_ack 0

[12-13 16:54:43 TUYA D][lr:0x9b01e821] ty_uart_stop_aysn_timeout_retrans

[12-13 16:54:43 TUYA D][lr:0x9b01efcf] proce fun cmd 52

[12-13 16:54:43 TUYA D][lr:0x9b01fc91] proc=0x9b01ce7d

[12-13 16:54:43 TUYA D][lr:0x9b01f005] proce fun,cmd 52 son cmd 8

[12-13 16:54:43 TUYA N][lr:0x9b01cec3] debug level :4,pdata :1

[12-13 16:54:43 TUYA D][lr:0x9b01edeb] ty_uart_fr_send_syn

[12-13 16:54:43 TUYA D][lr:0x9b01f295] port = 0

[12-13 16:54:43 TUYA D][lr:0x9b01edff] ty_uart_fr_send_syn

[12-13 16:54:43 TUYA D][lr:0x9b01efe1] proce fun

[12-13 16:54:50 TUYA D][lr:0x9b05d1a7] feed watchdog

[12-13 16:54:55 TUYA D][lr:0x9b05c65d] set time by rtc

[12-13 16:54:57 TUYA N][lr:0x9b01b5dd] send heat beat ,get heap size 30712

[12-13 16:54:57 TUYA D][lr:0x9b01ec57] __ur_put_msg_in_que_ret!

[12-13 16:54:57 TUYA D][lr:0x9b01f295] port = 0

[12-13 16:54:57 TUYA D][lr:0x9b01ea15] uart_tx_ctrl.asyn_ctrl.timout_retrans_en 0  rt=1

[12-13 16:54:57 TUYA D][lr:0x9b01f14d] data_len=1 len=8

[12-13 16:54:57 TUYA D][lr:0x9b01f159] frame_len=8

[12-13 16:54:57 TUYA D][lr:0x9b01ecb7] timout_retrans_ent=1 wait_ack 0

[12-13 16:54:57 TUYA D][lr:0x9b01eafb] DelQueueMember 

[12-13 16:54:57 TUYA D][lr:0x9b01e821] ty_uart_stop_aysn_timeout_retrans

[12-13 16:54:57 TUYA D][lr:0x9b01efcf] proce fun cmd 0

[12-13 16:54:57 TUYA D][lr:0x9b01fcaf] proc=0x9b01dd55

[12-13 16:54:57 TUYA D][lr:0x9b01f021] proce fun,cmd 0

[12-13 16:54:57 TUYA N][lr:0x9b01dd61] recv jump_pack ok.

[12-13 16:54:57 TUYA D][lr:0x9b01efe1] proce fun

[12-13 16:54:57 TUYA D][lr:0x9b01f14d] data_len=2 len=9

[12-13 16:54:57 TUYA D][lr:0x9b01f159] frame_len=9

[12-13 16:54:57 TUYA D][lr:0x9b01ecb7] timout_retrans_ent=0 wait_ack 0

[12-13 16:54:57 TUYA D][lr:0x9b01e821] ty_uart_stop_aysn_timeout_retrans

[12-13 16:54:57 TUYA D][lr:0x9b01efcf] proce fun cmd 52

[12-13 16:54:57 TUYA D][lr:0x9b01fc91] proc=0x9b01ce7d

[12-13 16:54:57 TUYA D][lr:0x9b01f005] proce fun,cmd 52 son cmd 8

[12-13 16:54:57 TUYA N][lr:0x9b01cec3] debug level :4,pdata :1

[12-13 16:54:57 TUYA D][lr:0x9b01edeb] ty_uart_fr_send_syn

[12-13 16:54:57 TUYA D][lr:0x9b01f295] port = 0

[12-13 16:54:57 TUYA D][lr:0x9b01edff] ty_uart_fr_send_syn

[12-13 16:54:57 TUYA D][lr:0x9b01efe1] proce fun

[12-13 16:55:00 TUYA E][lr:0x9b06221d] close socket,errno:-100 errno:0

[12-13 16:55:00 TUYA D][lr:0x9b060b6b] set socket fault 3

[12-13 16:55:00 TUYA D][lr:0x9b060fdb] i:0,time:1670921700,c_time:1670921693,fault:1

[12-13 16:55:00 TUYA D][lr:0x9b060f5b] close socket 3

[12-13 16:55:10 TUYA D][lr:0x9b05d1a7] feed watchdog

[12-13 16:55:11 TUYA D][lr:0x9b0621bb] new client connect. nums:1 cfd:3 ip:0xac10d2cb

[12-13 16:55:11 TUYA D][lr:0x9b0623f9] fd:3, wk_stat = 2, type = 3

[12-13 16:55:12 TUYA D][lr:0x9b0616fb] lan version over 3.4

[12-13 16:55:12 TUYA D][lr:0x9b061717] local_key

[12-13 16:55:12 TUYA D][lr:0x9b0614a9] send length:64, id:3, sequence_out:41080

[12-13 16:55:12 TUYA D][lr:0x9b0623f9] fd:3, wk_stat = 2, type = 5

[12-13 16:55:12 TUYA D][lr:0x9b0616fb] lan version over 3.4

[12-13 16:55:12 TUYA D][lr:0x9b061717] local_key

[12-13 16:55:12 TUYA D][lr:0x9b0623f9] fd:3, wk_stat = 2, type = 10

[12-13 16:55:12 TUYA D][lr:0x9b0616fb] lan version over 3.4

[12-13 16:55:12 TUYA D][lr:0x9b061717] session_key

[12-13 16:55:12 TUYA D][lr:0x9b069817] Pack local dp, reset_flow_ctl:0,dpnum:24.

[12-13 16:55:12 TUYA D][lr:0x9b0699bf] final pack:{"dps":{"2":false,"6":42,"7":30}}

[12-13 16:55:12 TUYA D][lr:0x9b061bf7] Send Query To App:{"dps":{"2":false,"6":42,"7":30}}

[12-13 16:55:12 TUYA D][lr:0x9b0614a9] send length:48, id:3, sequence_out:41081

[12-13 16:55:12 TUYA D][lr:0x9b0623f9] fd:3, wk_stat = 2, type = 64

[12-13 16:55:12 TUYA D][lr:0x9b0616fb] lan version over 3.4

[12-13 16:55:12 TUYA D][lr:0x9b061717] session_key

[12-13 16:55:12 TUYA E][lr:0x9b060c4d] undefined lan protocol: name:subdev_online_stat_query

[12-13 16:55:12 TUYA D][lr:0x9b0614a9] send length:32, id:3, sequence_out:41082

[12-13 16:55:12 TUYA N][lr:0x9b01b5dd] send heat beat ,get heap size 30720

[12-13 16:55:12 TUYA D][lr:0x9b01ec57] __ur_put_msg_in_que_ret!

[12-13 16:55:12 TUYA D][lr:0x9b01f295] port = 0

[12-13 16:55:12 TUYA D][lr:0x9b01ea15] uart_tx_ctrl.asyn_ctrl.timout_retrans_en 0  rt=1

[12-13 16:55:12 TUYA D][lr:0x9b01f14d] data_len=1 len=8

[12-13 16:55:12 TUYA D][lr:0x9b01f159] frame_len=8

[12-13 16:55:12 TUYA D][lr:0x9b01ecb7] timout_retrans_ent=1 wait_ack 0

[12-13 16:55:12 TUYA D][lr:0x9b01eafb] DelQueueMember 

[12-13 16:55:12 TUYA D][lr:0x9b01e821] ty_uart_stop_aysn_timeout_retrans

[12-13 16:55:12 TUYA D][lr:0x9b01efcf] proce fun cmd 0

[12-13 16:55:12 TUYA D][lr:0x9b01fcaf] proc=0x9b01dd55

[12-13 16:55:12 TUYA D][lr:0x9b01f021] proce fun,cmd 0

[12-13 16:55:12 TUYA N][lr:0x9b01dd61] recv jump_pack ok.

[12-13 16:55:12 TUYA D][lr:0x9b01efe1] proce fun

[12-13 16:55:12 TUYA D][lr:0x9b01f14d] data_len=2 len=9

[12-13 16:55:12 TUYA D][lr:0x9b01f159] frame_len=9

[12-13 16:55:12 TUYA D][lr:0x9b01ecb7] timout_retrans_ent=0 wait_ack 0

[12-13 16:55:12 TUYA D][lr:0x9b01e821] ty_uart_stop_aysn_timeout_retrans

[12-13 16:55:12 TUYA D][lr:0x9b01efcf] proce fun cmd 52

[12-13 16:55:12 TUYA D][lr:0x9b01fc91] proc=0x9b01ce7d

[12-13 16:55:12 TUYA D][lr:0x9b01f005] proce fun,cmd 52 son cmd 8

[12-13 16:55:12 TUYA N][lr:0x9b01cec3] debug level :4,pdata :1

[12-13 16:55:12 TUYA D][lr:0x9b01edeb] ty_uart_fr_send_syn

[12-13 16:55:12 TUYA D][lr:0x9b01f295] port = 0

[12-13 16:55:12 TUYA D][lr:0x9b01edff] ty_uart_fr_send_syn

[12-13 16:55:12 TUYA D][lr:0x9b01efe1] proce fun

[12-13 16:55:16 TUYA D][lr:0x9b0557a3] mqtt_ping -->>

[12-13 16:55:16 TUYA D][lr:0x9b03e803] mqtt_ping <<--

[12-13 16:55:16 TUYA D][lr:0x9b05677d] ping respond. update fail_cnt:0

[12-13 16:55:25 TUYA D][lr:0x9b05c65d] set time by rtc

[12-13 16:55:27 TUYA N][lr:0x9b01b5dd] send heat beat ,get heap size 30720

[12-13 16:55:27 TUYA D][lr:0x9b01ec57] __ur_put_msg_in_que_ret!

[12-13 16:55:27 TUYA D][lr:0x9b01f295] port = 0

[12-13 16:55:27 TUYA D][lr:0x9b01ea15] uart_tx_ctrl.asyn_ctrl.timout_retrans_en 0  rt=1

[12-13 16:55:27 TUYA D][lr:0x9b01f14d] data_len=1 len=8

[12-13 16:55:27 TUYA D][lr:0x9b01f159] frame_len=8

[12-13 16:55:27 TUYA D][lr:0x9b01ecb7] timout_retrans_ent=1 wait_ack 0

[12-13 16:55:27 TUYA D][lr:0x9b01eafb] DelQueueMember 

[12-13 16:55:27 TUYA D][lr:0x9b01e821] ty_uart_stop_aysn_timeout_retrans

[12-13 16:55:27 TUYA D][lr:0x9b01efcf] proce fun cmd 0

[12-13 16:55:27 TUYA D][lr:0x9b01fcaf] proc=0x9b01dd55

[12-13 16:55:27 TUYA D][lr:0x9b01f021] proce fun,cmd 0

[12-13 16:55:27 TUYA N][lr:0x9b01dd61] recv jump_pack ok.

[12-13 16:55:27 TUYA D][lr:0x9b01efe1] proce fun

[12-13 16:55:27 TUYA D][lr:0x9b01f14d] data_len=2 len=9

[12-13 16:55:27 TUYA D][lr:0x9b01f159] frame_len=9

[12-13 16:55:27 TUYA D][lr:0x9b01ecb7] timout_retrans_ent=0 wait_ack 0

[12-13 16:55:27 TUYA D][lr:0x9b01e821] ty_uart_stop_aysn_timeout_retrans

[12-13 16:55:27 TUYA D][lr:0x9b01efcf] proce fun cmd 52

[12-13 16:55:27 TUYA D][lr:0x9b01fc91] proc=0x9b01ce7d

[12-13 16:55:27 TUYA D][lr:0x9b01f005] proce fun,cmd 52 son cmd 8

[12-13 16:55:27 TUYA N][lr:0x9b01cec3] debug level :4,pdata :1

[12-13 16:55:27 TUYA D][lr:0x9b01edeb] ty_uart_fr_send_syn

[12-13 16:55:27 TUYA D][lr:0x9b01f295] port = 0

[12-13 16:55:27 TUYA D][lr:0x9b01edff] ty_uart_fr_send_syn

[12-13 16:55:27 TUYA D][lr:0x9b01efe1] proce fun

[12-13 16:55:30 TUYA D][lr:0x9b05d1a7] feed watchdog

[12-13 16:55:42 TUYA D][lr:0x9b045095] Post Data: {"devId":"6c5433128499745189izy3","t":1670921742}

[12-13 16:55:42 TUYA D][lr:0x9b045123] Post URL: https://a3.tuyacn.com/d.json?a=tuya.device.timer.astronomical.list&devId=6c5433128499745189izy3&et=1&t=1670921742&v=1.0&sign=771c751e857301f8c195de8c08d3cda6

[12-13 16:55:42 TUYA D][lr:0x9b064961] Connect: a3.tuyacn.com Port: 443  -->>

[12-13 16:55:42 TUYA D][lr:0x9b058d25] unw_gethostbyname a3.tuyacn.com, prio 2



[12-13 16:55:42 TUYA D][lr:0x9b058dbf] use dynamic dns ip:121.5.96.248 for domain:a3.tuyacn.com

[12-13 16:55:42 TUYA D][lr:0x9b0649cd] ----got ipaddr:121,5,96,248

[12-13 16:55:42 TUYA D][lr:0x9b064a63] Connect: a3.tuyacn.com Port: 443  --<< ,r:0

[12-13 16:55:42 TUYA D][lr:0x9b04d783] ----enable_cert:1,DEFAULT_LOAD_CERT:0

[12-13 16:55:42 TUYA D][lr:0x9b04d827] TUYA_TLS Begin Connect a3.tuyacn.com:443  CustomNet:TRUE Enable_Cert:TRUE Default:FALSE 

[12-13 16:55:42 TUYA D][lr:0x9b04d919] socket fd is set. set to inner send/recv to handshake

[12-13 16:55:42 TUYA D][lr:0x9b04d947] handshake finish for a3.tuyacn.com. set send/recv to user set

[12-13 16:55:42 TUYA D][lr:0x9b04d977] TUYA_TLS Success Connect a3.tuyacn.com:443  CustomNet:TRUE Suit:TLS-PSK-WITH-AES-128-CBC-SHA256

[12-13 16:55:42 TUYA D][lr:0x9b04588f] Decode Rev:{"result":{"code":200,"data":{}},"t":1670921743,"success":true}

[12-13 16:55:43 TUYA D][lr:0x9b04db23] TUYA_TLS Disconnect ENTER

[12-13 16:55:43 TUYA D][lr:0x9b04db8f] TUYA_TLS Disconnect Success

[12-13 16:55:43 TUYA D][lr:0x9b05ff93] astro timer http result {"code":200,"data":{}}

[12-13 16:55:43 TUYA D][lr:0x9b06004f] astro timer is delete

[12-13 16:55:43 TUYA N][lr:0x9b01b5dd] send heat beat ,get heap size 30672

[12-13 16:55:43 TUYA D][lr:0x9b01ec57] __ur_put_msg_in_que_ret!

[12-13 16:55:43 TUYA D][lr:0x9b01f295] port = 0

[12-13 16:55:43 TUYA D][lr:0x9b01ea15] uart_tx_ctrl.asyn_ctrl.timout_retrans_en 0  rt=1

[12-13 16:55:43 TUYA D][lr:0x9b01f14d] data_len=1 len=8

[12-13 16:55:43 TUYA D][lr:0x9b01f159] frame_len=8

[12-13 16:55:43 TUYA D][lr:0x9b01ecb7] timout_retrans_ent=1 wait_ack 0

[12-13 16:55:43 TUYA D][lr:0x9b01eafb] DelQueueMember 

[12-13 16:55:43 TUYA D][lr:0x9b01e821] ty_uart_stop_aysn_timeout_retrans

[12-13 16:55:43 TUYA D][lr:0x9b01efcf] proce fun cmd 0

[12-13 16:55:43 TUYA D][lr:0x9b01fcaf] proc=0x9b01dd55

[12-13 16:55:43 TUYA D][lr:0x9b01f021] proce fun,cmd 0

[12-13 16:55:43 TUYA N][lr:0x9b01dd61] recv jump_pack ok.

[12-13 16:55:43 TUYA D][lr:0x9b01efe1] proce fun

[12-13 16:55:43 TUYA D][lr:0x9b01f14d] data_len=2 len=9

[12-13 16:55:43 TUYA D][lr:0x9b01f159] frame_len=9

[12-13 16:55:43 TUYA D][lr:0x9b01ecb7] timout_retrans_ent=0 wait_ack 0

[12-13 16:55:43 TUYA D][lr:0x9b01e821] ty_uart_stop_aysn_timeout_retrans

[12-13 16:55:43 TUYA D][lr:0x9b01efcf] proce fun cmd 52

[12-13 16:55:43 TUYA D][lr:0x9b01fc91] proc=0x9b01ce7d

[12-13 16:55:43 TUYA D][lr:0x9b01f005] proce fun,cmd 52 son cmd 8

[12-13 16:55:43 TUYA N][lr:0x9b01cec3] debug level :4,pdata :1

[12-13 16:55:43 TUYA D][lr:0x9b01edeb] ty_uart_fr_send_syn

[12-13 16:55:43 TUYA D][lr:0x9b01f295] port = 0

[12-13 16:55:43 TUYA D][lr:0x9b01edff] ty_uart_fr_send_syn

[12-13 16:55:43 TUYA D][lr:0x9b01efe1] proce fun

[12-13 16:55:50 TUYA D][lr:0x9b05d1a7] feed watchdog

[12-13 16:55:52 TUYA E][lr:0x9b06221d] close socket,errno:-100 errno:0

[12-13 16:55:52 TUYA D][lr:0x9b060b6b] set socket fault 3

[12-13 16:55:52 TUYA D][lr:0x9b060fdb] i:0,time:1670921752,c_time:1670921749,fault:1

[12-13 16:55:52 TUYA D][lr:0x9b060f5b] close socket 3

[12-13 16:55:55 TUYA D][lr:0x9b05c65d] set time by rtc

[12-13 16:55:57 TUYA N][lr:0x9b01b5dd] send heat beat ,get heap size 31184

[12-13 16:55:57 TUYA D][lr:0x9b01ec57] __ur_put_msg_in_que_ret!

[12-13 16:55:57 TUYA D][lr:0x9b01f295] port = 0

[12-13 16:55:57 TUYA D][lr:0x9b01ea15] uart_tx_ctrl.asyn_ctrl.timout_retrans_en 0  rt=1

[12-13 16:55:57 TUYA D][lr:0x9b01f14d] data_len=1 len=8

[12-13 16:55:57 TUYA D][lr:0x9b01f159] frame_len=8

[12-13 16:55:57 TUYA D][lr:0x9b01ecb7] timout_retrans_ent=1 wait_ack 0

[12-13 16:55:57 TUYA D][lr:0x9b01eafb] DelQueueMember 

[12-13 16:55:57 TUYA D][lr:0x9b01e821] ty_uart_stop_aysn_timeout_retrans

[12-13 16:55:57 TUYA D][lr:0x9b01efcf] proce fun cmd 0

[12-13 16:55:57 TUYA D][lr:0x9b01fcaf] proc=0x9b01dd55

[12-13 16:55:57 TUYA D][lr:0x9b01f021] proce fun,cmd 0

[12-13 16:55:57 TUYA N][lr:0x9b01dd61] recv jump_pack ok.

[12-13 16:55:57 TUYA D][lr:0x9b01efe1] proce fun

[12-13 16:55:57 TUYA D][lr:0x9b01f14d] data_len=2 len=9

[12-13 16:55:57 TUYA D][lr:0x9b01f159] frame_len=9

[12-13 16:55:57 TUYA D][lr:0x9b01ecb7] timout_retrans_ent=0 wait_ack 0

[12-13 16:55:57 TUYA D][lr:0x9b01e821] ty_uart_stop_aysn_timeout_retrans

[12-13 16:55:57 TUYA D][lr:0x9b01efcf] proce fun cmd 52

[12-13 16:55:57 TUYA D][lr:0x9b01fc91] proc=0x9b01ce7d

[12-13 16:55:57 TUYA D][lr:0x9b01f005] proce fun,cmd 52 son cmd 8

[12-13 16:55:57 TUYA N][lr:0x9b01cec3] debug level :4,pdata :1

[12-13 16:55:58 TUYA D][lr:0x9b01edeb] ty_uart_fr_send_syn

[12-13 16:55:58 TUYA D][lr:0x9b01f295] port = 0

[12-13 16:55:58 TUYA D][lr:0x9b01edff] ty_uart_fr_send_syn

[12-13 16:55:58 TUYA D][lr:0x9b01efe1] proce fun

[12-13 16:56:10 TUYA D][lr:0x9b05d1a7] feed watchdog

[12-13 16:56:12 TUYA N][lr:0x9b01b5dd] send heat beat ,get heap size 31184

[12-13 16:56:12 TUYA D][lr:0x9b01ec57] __ur_put_msg_in_que_ret!

[12-13 16:56:12 TUYA D][lr:0x9b01f295] port = 0

[12-13 16:56:12 TUYA D][lr:0x9b01ea15] uart_tx_ctrl.asyn_ctrl.timout_retrans_en 0  rt=1

[12-13 16:56:12 TUYA D][lr:0x9b01f14d] data_len=1 len=8

[12-13 16:56:12 TUYA D][lr:0x9b01f159] frame_len=8

[12-13 16:56:12 TUYA D][lr:0x9b01ecb7] timout_retrans_ent=1 wait_ack 0

[12-13 16:56:12 TUYA D][lr:0x9b01eafb] DelQueueMember 

[12-13 16:56:12 TUYA D][lr:0x9b01e821] ty_uart_stop_aysn_timeout_retrans

[12-13 16:56:12 TUYA D][lr:0x9b01efcf] proce fun cmd 0

[12-13 16:56:12 TUYA D][lr:0x9b01fcaf] proc=0x9b01dd55

[12-13 16:56:12 TUYA D][lr:0x9b01f021] proce fun,cmd 0

[12-13 16:56:12 TUYA N][lr:0x9b01dd61] recv jump_pack ok.

[12-13 16:56:12 TUYA D][lr:0x9b01efe1] proce fun

[12-13 16:56:12 TUYA D][lr:0x9b01f14d] data_len=2 len=9

[12-13 16:56:12 TUYA D][lr:0x9b01f159] frame_len=9

[12-13 16:56:12 TUYA D][lr:0x9b01ecb7] timout_retrans_ent=0 wait_ack 0

[12-13 16:56:12 TUYA D][lr:0x9b01e821] ty_uart_stop_aysn_timeout_retrans

[12-13 16:56:12 TUYA D][lr:0x9b01efcf] proce fun cmd 52

[12-13 16:56:12 TUYA D][lr:0x9b01fc91] proc=0x9b01ce7d

[12-13 16:56:12 TUYA D][lr:0x9b01f005] proce fun,cmd 52 son cmd 8

[12-13 16:56:12 TUYA N][lr:0x9b01cec3] debug level :4,pdata :1

[12-13 16:56:12 TUYA D][lr:0x9b01edeb] ty_uart_fr_send_syn

[12-13 16:56:13 TUYA D][lr:0x9b01f295] port = 0

[12-13 16:56:13 TUYA D][lr:0x9b01edff] ty_uart_fr_send_syn

[12-13 16:56:13 TUYA D][lr:0x9b01efe1] proce fun

[12-13 16:56:16 TUYA D][lr:0x9b0557a3] mqtt_ping -->>

[12-13 16:56:16 TUYA D][lr:0x9b03e803] mqtt_ping <<--

[12-13 16:56:16 TUYA D][lr:0x9b05677d] ping respond. update fail_cnt:0

[12-13 16:56:25 TUYA D][lr:0x9b05c65d] set time by rtc

[12-13 16:56:27 TUYA N][lr:0x9b01b5dd] send heat beat ,get heap size 31184

[12-13 16:56:27 TUYA D][lr:0x9b01ec57] __ur_put_msg_in_que_ret!

[12-13 16:56:27 TUYA D][lr:0x9b01f295] port = 0

[12-13 16:56:27 TUYA D][lr:0x9b01ea15] uart_tx_ctrl.asyn_ctrl.timout_retrans_en 0  rt=1

[12-13 16:56:27 TUYA D][lr:0x9b01f14d] data_len=1 len=8

[12-13 16:56:27 TUYA D][lr:0x9b01f159] frame_len=8

[12-13 16:56:27 TUYA D][lr:0x9b01ecb7] timout_retrans_ent=1 wait_ack 0

[12-13 16:56:27 TUYA D][lr:0x9b01eafb] DelQueueMember 

[12-13 16:56:27 TUYA D][lr:0x9b01e821] ty_uart_stop_aysn_timeout_retrans

[12-13 16:56:27 TUYA D][lr:0x9b01efcf] proce fun cmd 0

[12-13 16:56:28 TUYA D][lr:0x9b01fcaf] proc=0x9b01dd55

[12-13 16:56:28 TUYA D][lr:0x9b01f021] proce fun,cmd 0

[12-13 16:56:28 TUYA N][lr:0x9b01dd61] recv jump_pack ok.

[12-13 16:56:28 TUYA D][lr:0x9b01efe1] proce fun

[12-13 16:56:28 TUYA D][lr:0x9b01f14d] data_len=2 len=9

[12-13 16:56:28 TUYA D][lr:0x9b01f159] frame_len=9

[12-13 16:56:28 TUYA D][lr:0x9b01ecb7] timout_retrans_ent=0 wait_ack 0

[12-13 16:56:28 TUYA D][lr:0x9b01e821] ty_uart_stop_aysn_timeout_retrans

[12-13 16:56:28 TUYA D][lr:0x9b01efcf] proce fun cmd 52

[12-13 16:56:28 TUYA D][lr:0x9b01fc91] proc=0x9b01ce7d

[12-13 16:56:28 TUYA D][lr:0x9b01f005] proce fun,cmd 52 son cmd 8

[12-13 16:56:28 TUYA N][lr:0x9b01cec3] debug level :4,pdata :1

[12-13 16:56:28 TUYA D][lr:0x9b01edeb] ty_uart_fr_send_syn

[12-13 16:56:28 TUYA D][lr:0x9b01f295] port = 0

[12-13 16:56:28 TUYA D][lr:0x9b01edff] ty_uart_fr_send_syn

[12-13 16:56:28 TUYA D][lr:0x9b01efe1] proce fun

[12-13 16:56:30 TUYA D][lr:0x9b05d1a7] feed watchdog

