涂鸦IPC配网成功后一直打印BT service is not open:3!!

IPC/NVR/可视门铃等具备多媒体能力的设备,扫地机/AGV等机器人设备


Post Reply
lztmfx
Posts: 3

  • 版本:

Code: Select all

#define BUILD_DATE           "2026_04_14"
#define BUILD_TIME           "17_32_21"
#define GIT_USER             "ci_manage"
#define IOT_SDK_VER          "6.3.0"
#define SDK_BETA_VER         ""
#define TARGET_PLATFORM      "RK1126B"
#define PROJECT_NAME         "tuyaos-ipc"
#define SDK_ID               "tuyaos-ipc_6.3.0_RK1126B_linux_fs_0.0.2"
#define KERNEL_VER	        ""
  • 问题log:

Code: Select all

current rga_api version 1.10.5_[9]. The called RockchipRga API is deprecated and will be removed in a future release, currently using the legacy API for compatibility. Please refer to the latest IM2D API documentation to update your implementation.
ipc client connect success
rockit_load start
v4l2_tx probe successv4l2_rx_probe success
rockit_load end
rockit log path (null), log_size = 0
log_file = (nil)
(null)           01:07:46-335 {log_level_init    :209}

 please use echo name=level > /tmp/rt_log_level set log level
        name: all cmpi mb sys vdec venc rgn vpss vgs tde avs wbc vo vi ai ao aenc adec
        log_level: 0 1 2 3 4 5 6

rockit default level 4, can use export rt_log_level=x, x=0,1,2,3,4,5,6 change
(null)           01:07:46-336 {read_log_level    :083} text is all=4
(null)           01:07:46-336 {read_log_level    :085} module is all, log_level is 4
(null)           01:07:46-336 {dump_version      :060} ---------------------------------------------------------
(null)           01:07:46-336 {dump_version      :061} rockit version: git-e2eccce5b Sat Jun 6 10:25:43 2026 +0800
(null)           01:07:46-336 {dump_version      :062} rockit building: built-min 2026-06-08 11:05:58
(null)           01:07:46-336 {dump_version      :063} ---------------------------------------------------------
(null)           01:07:46-336 {monitor_log_level :141} #Start monitor_log_level thread, arg:(nil)
vsys dev open 4
load library(librga.so) in releative path
[Warn]  (42036.008, +42036008)   lv_init: Style sanity checks are enabled that uses more RAM    (in lv_obj.c line #181)
Had init the rga dev ctx = 0x55a5cafa90
current rga_api version 1.10.5_[9]. The called RockchipRga API is deprecated and will be removed in a future release, currently using the legacy API for compatibility. Please refer to the latest IM2D API documentation to update your implementation.
sh: -c: line 1: unexpected EOF while looking for matching `''
SDK Version:< TuyaOS V:6.3.0 BS:40.00_PT:2.3_LAN:3.5_CAD:1.0.5_CD:1.0.0 >
< BUILD AT:2026_04_30_15_04_08 BY ci_manage FOR tuyaos-ipc AT RV1126B_64 >
IOT DEFS < WIFI_GW:1 DEBUG:0 KV_FILE:0 LITTLE_END:1 SL:1 OPERATING_SYSTEM:100 RELIABLE_TRANSFER:0 >

MODE:1  LINK_TYPE:5 IP_MODE_TYPE:0
[01-01 00:00:00 ty I][5044][tal_thread.c:185] thread_create name:sys_timer,stackDepth:4096,totalstackDepth:4096,priority:5
[01-01 00:00:00 ty I][5044][tal_thread.c:185] thread_create name:wq_system,stackDepth:6144,totalstackDepth:10240,priority:3
[01-01 00:00:00 ty I][5044][tal_thread.c:185] thread_create name:wq_highpri,stackDepth:5120,totalstackDepth:15360,priority:4
[01-01 00:00:00 ty I][5044][tal_thread.c:185] thread_create name:health_monitor,stackDepth:1536,totalstackDepth:16896,priority:5
[01-01 00:00:00 ty I][5044][mqc_app.c:525] mqc app init ...
[01-01 00:00:00 ty E][5044][mqc_app.c:119] handler cnt is zero
[01-01 00:00:00:7 ty I][0x7fa4504480][kv_storge.c:45] Init Kvs With File:/userdata/
[01-01 00:00:00:27 ty E][0x7fa4504480][ws_db_gw.c:84] wd_protected_read fails gw_bi -6
[01-01 00:00:00:27 ty E][0x7fa4504480][tuya_svc_devos.c:296] base read fail:-6
[01-01 00:00:00:27 ty E][0x7fa4504480][tuya_svc_devos.c:546] ret:-7171
[01-01 00:00:00:28 ty E][0x7fa4504480][base_event.c:156] ret:-7171
[01-01 00:00:00:32 ty I][0x7fa4504480][tuya_ring_buffer.c:700] Init Ring Buffer success: ch0st0tr0 size:6553600 nodes:300
[01-01 00:00:00:34 ty I][0x7fa4504480][tuya_ring_buffer.c:700] Init Ring Buffer success: ch0st0tr1 size:2621440 nodes:300
[01-01 00:00:00:34 ty I][0x7fa4504480][tuya_ring_buffer.c:700] Init Ring Buffer success: ch0st0tr9 size:160000 nodes:250
[01-01 00:00:00:34 ty E][0x7fa4504480][ws_db_gw.c:84] wd_protected_read fails gw_bi -6
[01-01 00:00:00:41 ty N][0x7fa4504480][tuya_wifi_link.c:85] start wifi link params validate, nc_tp:0 md:0
[01-01 00:00:00:41 ty N][0x7fa4504480][tuya_wifi_link.c:97] wifi config method not fit
[01-01 00:00:00:41 ty N][0x7fa4504480][tuya_wifi_link.c:47] reset wifi link params to factory state, nc_tp:2 md:0 mthd:0 start mode:0
[01-01 00:00:00:43 ty E][0x7fa4504480][tuya_wifi_link.c:908] ret:-2819
[01-01 00:00:00:43 ty E][0x7fa4504480][tuya_wifi_reset.c:675] read wf start mode err:-6
[01-01 00:00:00:43 ty N][0x7fa4504480][tuya_svc_devos.c:563] Last reset reason: 7
[01-01 00:00:00:44 ty N][0x7fa4504480][tuya_svc_devos.c:338] gw_cntl->gw_wsm.stat:0
[01-01 00:00:00:44 ty E][0x7fa4504480][tuya_ws_db.c:320] kvs_read fails gw_di -6
[01-01 00:00:00:44 ty E][0x7fa4504480][tuya_svc_devos.c:354] desc read err:-6
[01-01 00:00:00:44 ty E][0x7fa4504480][tuya_svc_devos.c:573] ret:-6
[01-01 00:00:00:44 ty N][0x7fa4504480][tuya_svc_devos.c:742] enter reset factory
[01-01 00:00:00:44 ty E][0x7fa4504480][tuya_ws_db.c:320] kvs_read fails gw_di -6
[01-01 00:00:00:48 ty E][0x7fa4504480][tuya_ws_db.c:320] kvs_read fails gw_ai -6
[01-01 00:00:00:53 ty N][0x7fa4504480][tuya_svc_devos.c:596] enter success_proc
[01-01 00:00:00:59 ty N][0x7fa4504480][tuya_svc_devos.c:599] serial_no:78be812a3574
cmpi             01:07:46-420 {__on_netcfg_start :186} __on_netcfg_start, netcfg start. You can start your own netcfg task now.
[01-01 00:00:00:60 ty E][0x7f977ee7a0][tuya_wifi_reset.c:675] read wf start mode err:-6
CAMHW:K:buf[0]: iir_fd 31, iir_size 9201472
CAMHW:K:get bay3dbuf: iir buf_cnt is 1 iir_size is 9201472
CAMHW:K:cid[0] AiqCamHw_start success. isGroup:0, isOnline:1, isMultiIsp:0, init_ens:0x21fec07fc433b
XCORE:K:cid[0] rk_aiq_uapi2_sysctl_start success.
u32CamId[0] aiq prepare and start doneCAMHW:K:blc get bay3dbuf: ds_fd is 32 ds_size is 288208 ds_address is 0x8b788000
wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE
[01-01 00:00:04:349 ty N][0x7f977ee7a0][tuya_wifi_status.c:167] cur stat:2  0x73af7e48 -->>
[01-01 00:00:04:349 ty N][0x7f977ee7a0][tuya_wifi_status.c:169] wifi netstat changed to:2  -->>
[01-01 00:00:04:349 ty N][0x7f977ee7a0][tuya_wifi_status.c:173] report wifi netstat[2] to callback  -->>
[01-01 00:00:04:349 ty E][0x7f977ee7a0][tuya_ipc_sdk_init.c:423] wf nw status changed to [2], but not notify

[01-01 00:00:04:349 ty N][0x7f977ee7a0][tuya_wifi_reset.c:438] timer stated, short timer:0x0, long timer:0x0
[01-01 00:00:04:349 ty N][0x7f977ee7a0][tuya_bt_link.c:62] bt startup attr:1
[01-01 00:00:04:349 ty N][0x7f977ee7a0][tuya_ble_svc.c:1199] upd product_id type:0 lwhef9aknqscgoo6
bt function: tkl_ble_gap_callback_register---------------------------------
[01-01 00:00:04:349 ty I][0x7f977ee7a0][tkl_bluetooth.c:156] tkl_ble_gap_callback_register
[01-01 00:00:04:349 ty I][0x7f977ee7a0][tkl_bluetooth.c:178] tkl_ble_gatt_callback_register
bt function: tkl_ble_gatt_callback_register---------------------------------
[01-01 00:00:04:349 ty I][0x7f977ee7a0][tkl_bluetooth.c:121] tkl_ble_stack_init
bt function: tkl_ble_stack_init---------------------------------
Sending TKL_BLE_EVT_STACK_INIT to SDK
bt function: tkl_ble_gatts_service_add---------------------------------
register gatt service, num: 1---p_service_param->char_num:3
--- p_service_param->handle :fd50
--- tuya_conn_handle :fd50
gatt_chr[j].uuid=00000001-0000-1001-8001-00805f9b07d0
 p_service_param->p_char[j].handle:0001
gatt_chr[j].uuid=00000002-0000-1001-8001-00805f9b07d0
 p_service_param->p_char[j].handle:0002
gatt_chr[j].uuid=00000003-0000-1001-8001-00805f9b07d0
 p_service_param->p_char[j].handle:0003
register gatt servicenum: 1
svc_uuid:fd50
p_chr[0].uuid:00000001-0000-1001-8001-00805f9b07d0
p_chr[0].property:12
svc_uuidfd50
chr_uuid00000001-0000-1001-8001-00805f9b07d0
props12
chr->uuid 00000001-0000-1001-8001-00805f9b07d0
p_chr[1].uuid:00000002-0000-1001-8001-00805f9b07d0
p_chr[1].property:16
svc_uuidfd50
chr_uuid00000002-0000-1001-8001-00805f9b07d0
props16
chr->uuid 00000002-0000-1001-8001-00805f9b07d0
p_chr[2].uuid:00000003-0000-1001-8001-00805f9b07d0
p_chr[2].property:2
svc_uuidfd50
chr_uuid00000003-0000-1001-8001-00805f9b07d0
props2
Characteristic(00000001-0000-1001-8001-00805f9b07d0): Get("Value")chr->uuid 00000003-0000-1001-8001-00805f9b07d0
Characteristic(00000002-0000-1001-8001-00805f9b07d0): Get("Value")[01-01 00:00:04:354 ty N][0x7f977ee7a0][tuya_ble_svc.c:1294] ty bt sdk init success finish
[01-01 00:00:04:354 ty I][0x7f977ee7a0][tkl_bluetooth.c:187] tkl_ble_gap_adv_start
bt function: tkl_ble_gap_adv_start---------------------------------
tuya_bluez_le_set_adv_params: min=30 max=60 type=1 (handled by BlueZ D-Bus)
tuya_gatt_adv_start: pending=0 active=0 data_len=0 scan_len=0 proxy=(nil)
LEAdvertisingManager1 proxy not available, pending start
[01-01 00:00:04:354 ty N][0x7f977ee7a0][tuya_svc_devos.c:246] __devos_init_evt success
bt function: tkl_ble_gap_adv_stop---------------------------------
LEAdvertisingManager1 proxy not available
[01-01 00:00:04:354 ty I][0x7f977ee7a0][tkl_bluetooth.c:209] tkl_ble_gap_adv_rsp_data_set
bt function: tkl_ble_gap_adv_rsp_data_set---------------------------------
RAW mode: adv_data=31 bytes, scan_rsp=0 bytes
RAW mode: adv_data=31 bytes, scan_rsp=31 bytes
  Extracted LocalName: TUYA_
[01-01 00:00:04:354 ty I][0x7f977ee7a0][tkl_bluetooth.c:187] tkl_ble_gap_adv_start
bt function: tkl_ble_gap_adv_start---------------------------------
tuya_bluez_le_set_adv_params: min=30 max=60 type=1 (handled by BlueZ D-Bus)
tuya_gatt_adv_start: pending=0 active=0 data_len=31 scan_len=31 proxy=(nil)
LEAdvertisingManager1 proxy not available, pending start
[01-01 00:00:04:354 ty N][0x7f977ee7a0][tuya_ble_svc.c:1381] ble adv updated
Characteristic(00000003-0000-1001-8001-00805f9b07d0): Get("Value")LEAdvertisingManager1 proxy acquired
proxy_added_cb: ADV_MGR_IFACE, pending_start=1
Characteristic(00000003-0000-1001-8001-00805f9b07d0): Get("Value")Characteristic(00000002-0000-1001-8001-00805f9b07d0): Get("Value")Characteristic(00000001-0000-1001-8001-00805f9b07d0): Get("Value")adv_start_idle_cb: starting pending advertisement
tuya_gatt_adv_start: pending=0 active=0 data_len=31 scan_len=31 proxy=0x7f840040e0
LEAdvertisement1 interface registered at /com/tuya/advertisement0
Calling RegisterAdvertisement...
RegisterAdvertisement call sent
[01-01 00:00:04:371 ty I][0x7f977ee7a0][tal_thread.c:185] thread_create name:ap_tcp_v4,stackDepth:3584,totalstackDepth:20480,priority:5
property_changed, path: /org/bluez/hci0, iface: org.bluez.Adapter1, name: UUIDsRegisterApplication: OKproperty_changed, path: /org/bluez/hci0, iface: org.bluez.Adapter1, name: UUIDsproperty_changed, path: /org/bluez/hci0, iface: org.bluez.LEAdvertisingManager1, name: SupportedInstancesproperty_changed, path: /org/bluez/hci0, iface: org.bluez.LEAdvertisingManager1, name: ActiveInstancesRegisterAdvertisement: OK
property_changed, path: /org/bluez/hci0/dev_65_B8_F1_82_09_48, iface: org.bluez.Device1, name: MTUproperty_changed, path: /org/bluez/hci0/dev_65_B8_F1_82_09_48, iface: org.bluez.Device1, name: UUIDsproperty_changed, path: /org/bluez/hci0/dev_65_B8_F1_82_09_48, iface: org.bluez.Device1, name: ServicesResolvedrecv connect event, status: 1
bt function: __gap_connect_event_cb---------------------------------
[01-01 00:00:24:500 ty N][0x7f9544b7a0][tuya_ble_svc.c:746] Ble Connected
[01-01 00:00:24:500 ty N][0x7f9544b7a0][tuya_ble_data_handler.c:69] ble reset sn
[01-01 00:00:24:500 ty N][0x7f9544b7a0][tuya_ble_svc.c:1659] ble set conn stat:1
property_changed, path: /org/bluez/hci0/dev_65_B8_F1_82_09_48, iface: org.bluez.Device1, name: Nameproperty_changed, path: /org/bluez/hci0/dev_65_B8_F1_82_09_48, iface: org.bluez.Device1, name: Aliasbt function: chr_write_value---------------------------------
send_data: len:36
len:36
Characteristic(00000001-0000-1001-8001-00805f9b07d0): Get("Value")__gatt_write_request_event-----------------------------
bt function: __gatt_write_request_event_cb---------------------------------
recv write request event, uuid: 0x0001 00 21 20 0b a5 d0 fa db ee 60 00 e9 6d c6 47 91 24 23 61 41 21 83 e7 2f c5 23 d2 80 54 6c 4e c2 82 e2 2f ac
event.gatt_event.write_report.char_handle:0001------------------
[01-01 00:00:25:215 ty N][0x7f9544b7a0][tuya_ble_data_handler.c:596] tuya_ble_handle_dev_infor_req state:0, pkg_len:243
[01-01 00:00:25:215 ty I][0x7f977ee7a0][tkl_bluetooth.c:330] tkl_ble_gatts_value_notify, chr_handle: 0002
len:165
Characteristic(00000002-0000-1001-8001-00805f9b07d0): Get("Value")bt function: tkl_ble_gatts_value_notify---------------------------------
bt function: chr_write_value---------------------------------
send_data: len:116
len:116
Characteristic(00000001-0000-1001-8001-00805f9b07d0): Get("Value")__gatt_write_request_event-----------------------------
bt function: __gatt_write_request_event_cb---------------------------------
recv write request event, uuid: 0x0001 00 71 20 0c 98 66 cd 26 f4 16 fa 3e 7a 0f d0 48 88 ba 74 5a d6 d7 26 05 38 20 a2 38 9c 2d a0 51 d2 9c 5e 25 14 ea f0 c4 22 93 eb dd 29 d4 a4 02 7a e4 ed a7 84 40 40 da 20 59 23 bc 37 cc 4d 6e ed 8a fe f1 b5 65 79 fc 9b 6a 29 81 63 46 9c dd e0 27 e9 05 e4 75 07 7f 34 51 8d e1 83 1c 1c 3a e9 eb 68 9c b8 17 ac c1 ae df 21 e6 3c 0a 20 9d b6 3a bc 2f
event.gatt_event.write_report.char_handle:0001------------------
[01-01 00:00:25:276 ty N][0x7f9544b7a0][tuya_ble_svc.c:1659] ble set conn stat:3
[01-01 00:00:25:276 ty N][0x7f9544b7a0][tuya_ble_data_handler.c:380] PAIR_REQ ok:0
[01-01 00:00:25:276 ty N][0x7f9544b7a0][tuya_ble_data_handler.c:349] ble_time_req start...
[01-01 00:00:25:276 ty I][0x7f977ee7a0][tkl_bluetooth.c:330] tkl_ble_gatts_value_notify, chr_handle: 0002
len:36
Characteristic(00000002-0000-1001-8001-00805f9b07d0): Get("Value")bt function: tkl_ble_gatts_value_notify---------------------------------
[01-01 00:00:25:358 ty I][0x7f977ee7a0][tkl_bluetooth.c:330] tkl_ble_gatts_value_notify, chr_handle: 0002
len:36
Characteristic(00000002-0000-1001-8001-00805f9b07d0): Get("Value")bt function: tkl_ble_gatts_value_notify---------------------------------
bt function: chr_write_value---------------------------------
send_data: len:243
len:243
Characteristic(00000001-0000-1001-8001-00805f9b07d0): Get("Value")__gatt_write_request_event-----------------------------
bt function: __gatt_write_request_event_cb---------------------------------
recv write request event, uuid: 0x0001 00 e1 07 20 0c 2b ec 10 0c c7 b6 db f3 99 44 a1 0e 6c 73 6e f2 26 ec 2c 53 7c 63 1e 79 87 dd c0 d1 8d ec b8 d4 7e b6 f4 ec b9 7d df 38 fd e8 f6 0d 82 39 c7 15 de 50 a1 ca 14 0f fd 39 af c9 17 42 cf d9 e1 0f 1c 20 f2 9b 8c 6b f8 1e b8 0d 26 e7 79 0f b4 bd 14 78 cf 33 8c 48 bb 09 03 ed 81 36 67 9f 98 f4 ec e1 3d 01 fb 16 47 82 21 39 a0 36 f1 9f 60 b9 5a 69 db 55 ed df 35 02 65 f6 da 0c 16 4a 08 04 e4 eb e9 10 b1 10 b8 fb 09 94 55 4e 10 0b 5f 2a 01 67 e8 4a 95 2a 87 c7 f2 51 b3 ff 66 8c df 24 a4 a1 d3 23 ba 00 79 9f a4 95 54 bf b9 e3 99 f0 39 d5 77 e9 43 15 9f 09 76 7f 67 6f c1 e7 eb 26 b3 41 f9 6b b5 d4 83 d7 d2 aa 45 9b b7 f0 c9 e7 88 e1 59 f0 b8 f2 e1 f9 98 5a 32 cc b7 f8 71 7d 6e b7 1b 5d 60 9f 27 75 80 da e3 e7 4c f9
event.gatt_event.write_report.char_handle:0001------------------
bt function: chr_write_value---------------------------------
send_data: len:243
len:243
Characteristic(00000001-0000-1001-8001-00805f9b07d0): Get("Value")__gatt_write_request_event-----------------------------
bt function: __gatt_write_request_event_cb---------------------------------
recv write request event, uuid: 0x0001 01 fd e9 f7 be ee b5 3c b6 a0 b2 9e 79 ea 0c 03 17 3e 08 64 87 d9 66 13 43 4b 6e 06 2c 4b 91 ea 07 84 8b 77 9a e3 e8 50 c4 c0 2a 6b 62 6b 17 72 12 59 5c 3b 74 d6 ed 1f a9 b6 6e 85 25 34 2d 1f 83 9f ab 0a 04 86 64 e4 11 17 72 df cf ba c8 86 20 5f 22 4b 22 7b 73 8a 7e 4b 3a 56 9b 84 db 22 60 0f 23 c7 1d f6 5a 70 5b 15 e6 f5 94 32 93 20 41 c9 c8 66 4f b8 52 52 f1 bb 60 6c 6b e8 f5 6c 05 93 36 38 1c 10 ae 15 41 14 08 29 8f 32 c8 b6 d3 e4 6f 00 d3 67 74 fb f5 b4 da 81 ac 24 9f 27 3d b2 54 32 67 01 d5 8d bd 78 69 75 1a b1 d4 43 ab 5b 64 38 41 6a b2 e6 f2 2b 8f 4a e3 be 12 75 b1 cd 08 ba 6d ba cf 57 4c 15 da 7b 9a 1d b6 c0 86 0d d6 86 6f 1e eb 3b fe f2 d6 27 19 fe b2 e0 1d e8 8a 45 84 fd e3 bf 5b d2 7f 4d 6d 86 da 97 97 24 a1
event.gatt_event.write_report.char_handle:0001------------------
bt function: chr_write_value---------------------------------
send_data: len:243
len:243
Characteristic(00000001-0000-1001-8001-00805f9b07d0): Get("Value")__gatt_write_request_event-----------------------------
bt function: __gatt_write_request_event_cb---------------------------------
recv write request event, uuid: 0x0001 02 85 36 55 60 a3 10 ce 68 bb 76 89 df 47 b3 ab 8e 2a b0 f6 54 8a b5 b5 eb bc 68 11 b1 2e 9a f0 0d 84 01 3b 47 bb 73 94 a9 3e 0c ca 60 a0 89 9b b8 cc 7c 09 92 1e 92 23 55 57 1c ee 0d de 31 11 45 1a d2 da e2 52 01 98 5c b9 8e 3e d8 21 64 1e 0f 4d 30 62 33 b5 10 6d 27 6d 2c e2 fe 83 13 c9 f1 9a cf 71 5b d3 51 06 b2 c4 b8 6f 52 88 33 33 ee fb bf 39 f4 3e 06 35 b2 f3 5b fc ed 7d be 50 cb 84 11 4d a5 de 5f 20 1b 31 e3 1a af cc af ba 82 87 d4 9a 26 b8 7b 84 22 ac 49 5d 82 d2 07 af cf e6 2d f5 56 9e c9 26 0a a8 6e 20 d6 fa 85 8f 87 ae 35 f8 48 39 97 0b 13 5d c5 b2 6a a1 58 50 51 5c 41 fd 7d bf 8a e5 8b c1 7e 56 1c f1 a6 64 c0 70 49 90 fb 4f 3b 8d 56 fc 44 33 9c 98 d3 03 b4 c9 85 48 21 5a 1c dd 4a aa 8c 37 5e f0 c7 55 30 14 90
event.gatt_event.write_report.char_handle:0001------------------
bt function: chr_write_value---------------------------------
send_data: len:243
len:243
Characteristic(00000001-0000-1001-8001-00805f9b07d0): Get("Value")__gatt_write_request_event-----------------------------
bt function: __gatt_write_request_event_cb---------------------------------
recv write request event, uuid: 0x0001 03 1a 62 4f c7 ac 20 95 6c f6 0a d1 cf 9e ef 18 26 00 a3 93 8d db df c8 6a f0 32 93 2a dd 84 ce 81 e4 b6 67 dd fa 5e 95 aa d0 06 1d 51 c1 39 7c 65 51 ed ca fe e4 d9 64 d9 5a 43 ab a2 c7 94 df e0 9a 61 06 b4 e5 49 47 d3 71 14 eb d2 05 69 f0 42 8b b4 37 55 4f ec b0 60 e0 1f d9 33 8e 55 ea 44 19 6f b4 c6 d6 d1 ec d3 ed a1 0f 8e 81 b9 3c 10 6a fc e4 18 15 ee 8e 7a bc 20 40 cc f9 5e fb 94 ff 28 47 3b 40 98 45 2b f6 12 02 33 52 65 19 d0 eb 12 7f 21 a7 a2 21 b7 a2 f7 70 03 da b3 8a c6 88 d0 18 0d 00 96 58 57 2b 27 a1 58 ec e1 d7 0d a7 55 df 0e cc 05 cb 10 25 1b 15 a3 bd cc bb 92 00 5a 99 e9 bd c2 ae fd b0 e2 36 10 fa 58 39 e2 f9 21 6a 36 52 4f f1 47 75 57 d7 54 da 26 21 d0 b5 18 39 d8 77 0d 7f cb b7 86 28 f9 1e cf c2 09 10 cf
event.gatt_event.write_report.char_handle:0001------------------
bt function: chr_write_value---------------------------------
send_data: len:29
len:29
Characteristic(00000001-0000-1001-8001-00805f9b07d0): Get("Value")__gatt_write_request_event-----------------------------
bt function: __gatt_write_request_event_cb---------------------------------
recv write request event, uuid: 0x0001 04 63 45 eb 78 e6 04 94 e0 74 12 a4 78 b1 56 83 a0 76 a6 26 79 81 66 1f 2e 0a 3e e4 a7
event.gatt_event.write_report.char_handle:0001------------------
[01-01 00:00:25:437 ty I][0x7f977ee7a0][tkl_bluetooth.c:330] tkl_ble_gatts_value_notify, chr_handle: 0002
len:52
Characteristic(00000002-0000-1001-8001-00805f9b07d0): Get("Value")bt function: tkl_ble_gatts_value_notify---------------------------------
bt function: chr_write_value---------------------------------
send_data: len:68
len:68
Characteristic(00000001-0000-1001-8001-00805f9b07d0): Get("Value")__gatt_write_request_event-----------------------------
bt function: __gatt_write_request_event_cb---------------------------------
recv write request event, uuid: 0x0001 00 41 20 0c e7 6b a8 c2 35 65 64 01 6c 93 fa 2d 6b ce c7 b6 d6 f0 40 78 25 d9 bf 2d e9 64 36 53 0b ba c8 6e 88 d6 5b fc 7e af 6a 78 2e b1 2c 2b 6d 91 29 70 79 2d 19 57 64 56 43 1d 23 a2 c1 0e e6 c6 fa 05
event.gatt_event.write_report.char_handle:0001------------------
[01-01 00:00:25:486 ty I][0x7f977ee7a0][tkl_bluetooth.c:330] tkl_ble_gatts_value_notify, chr_handle: 0002
len:52
Characteristic(00000002-0000-1001-8001-00805f9b07d0): Get("Value")bt function: tkl_ble_gatts_value_notify---------------------------------
cmpi             01:08:11-859 {__on_netcfg_stop  :194} __on_netcfg_stop, netcfg stop. You can stop your own netcfg task now.
[01-01 00:00:25:506 ty I][0x7f977ee7a0][tkl_bluetooth.c:330] tkl_ble_gatts_value_notify, chr_handle: 0002
len:84
Characteristic(00000002-0000-1001-8001-00805f9b07d0): Get("Value")bt function: tkl_ble_gatts_value_notify---------------------------------
[01-01 00:00:25:526 ty I][0x7f977ee7a0][tkl_bluetooth.c:330] tkl_ble_gatts_value_notify, chr_handle: 0002
len:52
Characteristic(00000002-0000-1001-8001-00805f9b07d0): Get("Value")bt function: tkl_ble_gatts_value_notify---------------------------------
cmpi             01:08:11-979 {rk_qrcode_scan_thr:172} deinit camera

find matched index[0] u32CamId[0]CAMHW:K:munmap success
[01-01 00:00:25:619 ty N][0x7f97ffe7a0][tuya_wifi_status.c:167] cur stat:5  0x73af7e48 -->>
[01-01 00:00:25:619 ty N][0x7f97ffe7a0][tuya_wifi_status.c:169] wifi netstat changed to:5  -->>
[01-01 00:00:25:619 ty N][0x7f97ffe7a0][tuya_wifi_status.c:173] report wifi netstat[5] to callback  -->>
XCORE:K:cid[0] rk_aiq_uapi2_sysctl_stop success.
[01-01 00:00:25:809 ty N][0x7f977ee7a0][tuya_wifi_netcfg.c:205] stop smt cfg mthd:0, ret:0
[01-01 00:00:25:809 ty E][0x7f977ee7a0][tuya_wifi_netcfg.c:200] all netcfg stop fail:-1
[01-01 00:00:25:809 ty N][0x7f977ee7a0][tuya_wifi_netcfg.c:205] stop smt cfg mthd:0, ret:0
Successfully initialized wpa_supplicant
nl80211: kernel reports: Registration to specific type not supported
[01-01 00:00:26:372 ty E][0x7f9cf937a0][ap_netcfg.c:1155] get ip fail:-1
[01-01 00:00:26:372 ty E][0x7f9cf937a0][ap_netcfg.c:1240] ap_broadcast_data_make fail
deleting routers
adding dns 192.168.3.1
[01-01 00:00:27:902 ty N][0x7f977ee7a0][tuya_wifi_status.c:167] cur stat:6  0x73af7e48 -->>
[01-01 00:00:27:902 ty N][0x7f977ee7a0][tuya_wifi_status.c:169] wifi netstat changed to:6  -->>
[01-01 00:00:27:902 ty N][0x7f977ee7a0][tuya_wifi_status.c:173] report wifi netstat[6] to callback  -->>
[01-01 00:00:27:902 ty N][0x7f977ee7a0][tal_wifi_reconnet.c:249] wifi status changed to 0, stat: 1
[01-01 00:00:27:902 ty E][0x7f977ee7a0][tuya_svc_mqtt_client.c:1406] handle null
[01-01 00:00:27:927 ty N][0x7f977ee7a0][tuya_wifi_status.c:167] cur stat:6  0x73af7e48 -->>
[01-01 00:00:27:927 ty I][0x7f977ee7a0][tal_thread.c:185] thread_create name:lan_sock_loop,stackDepth:4096,totalstackDepth:24576,priority:3
[01-01 00:00:27:927 ty N][0x7f977ee7a0][tkl_wifi.c:1171] tkl_wifi_get_connected_ap_info-1171 not support

[01-01 00:00:27:927 ty E][0x7f977ee7a0][tal_wifi.c:583] ret:-4
[01-01 00:00:27:927 ty E][0x7f977ee7a0][tuya_wifi_connect.c:106] wf_get_connected_ap_info fails -4 (nil)
[01-01 00:00:27:927 ty N][0x7f977ee7a0][tal_wifi_reconnet.c:249] wifi status changed to 0, stat: 2
[01-01 00:00:27:942 ty N][0x7f977ee7a0][tuya_wifi_status.c:167] cur stat:6  0x73af7e48 -->>
[01-01 00:00:27:942 ty N][0x7f977ee7a0][tkl_wifi.c:1171] tkl_wifi_get_connected_ap_info-1171 not support

[01-01 00:00:27:942 ty E][0x7f977ee7a0][tal_wifi.c:583] ret:-4
[01-01 00:00:27:942 ty E][0x7f977ee7a0][tuya_wifi_connect.c:106] wf_get_connected_ap_info fails -4 (nil)
[01-01 00:00:27:942 ty I][0x7f977ee7a0][tkl_bluetooth.c:330] tkl_ble_gatts_value_notify, chr_handle: 0002
len:84
Characteristic(00000002-0000-1001-8001-00805f9b07d0): Get("Value")bt function: tkl_ble_gatts_value_notify---------------------------------
[01-01 00:00:27:962 ty I][0x7f977ee7a0][tkl_bluetooth.c:330] tkl_ble_gatts_value_notify, chr_handle: 0002
len:84
Characteristic(00000002-0000-1001-8001-00805f9b07d0): Get("Value")bt function: tkl_ble_gatts_value_notify---------------------------------
[01-01 00:00:28:102 ty N][0x7f977ee7a0][tal_wifi_reconnet.c:249] wifi status changed to 0, stat: 2
[01-01 00:00:28:118 ty N][0x7f977ee7a0][tuya_wifi_status.c:167] cur stat:6  0x73af7e48 -->>
[01-01 00:00:28:118 ty N][0x7f977ee7a0][tkl_wifi.c:1171] tkl_wifi_get_connected_ap_info-1171 not support

[01-01 00:00:28:118 ty E][0x7f977ee7a0][tal_wifi.c:583] ret:-4
[01-01 00:00:28:118 ty E][0x7f977ee7a0][tuya_wifi_connect.c:106] wf_get_connected_ap_info fails -4 (nil)
[01-01 00:00:28:118 ty I][0x7f977ee7a0][tkl_bluetooth.c:330] tkl_ble_gatts_value_notify, chr_handle: 0002
len:84
Characteristic(00000002-0000-1001-8001-00805f9b07d0): Get("Value")bt function: tkl_ble_gatts_value_notify---------------------------------
[01-01 00:00:28:382 ty I][0x7f977ee7a0][tkl_bluetooth.c:330] tkl_ble_gatts_value_notify, chr_handle: 0002
len:36
Characteristic(00000002-0000-1001-8001-00805f9b07d0): Get("Value")bt function: tkl_ble_gatts_value_notify---------------------------------
[01-01 00:00:28:956 ty N][0x7f9cf937a0][tuya_svc_lan.c:517] Not actived, use linkage addr[192.168.3.193]
[07-04 01:08:18:5 ty N][0x7f97ffe7a0][tuya_ble_svc.c:542] upd login key, bound stat:1
[07-04 01:08:18:5 ty I][0x7f977ee7a0][tkl_bluetooth.c:209] tkl_ble_gap_adv_rsp_data_set
bt function: tkl_ble_gap_adv_rsp_data_set---------------------------------
RAW mode: adv_data=31 bytes, scan_rsp=31 bytes
  Extracted LocalName: TUYA_
RAW mode: adv_data=31 bytes, scan_rsp=31 bytes
  Extracted LocalName: TUYA_
[07-04 01:08:18:5 ty N][0x7f977ee7a0][tuya_ble_svc.c:1381] ble adv updated
[07-04 01:08:18:5 ty I][0x7f977ee7a0][tkl_bluetooth.c:330] tkl_ble_gatts_value_notify, chr_handle: 0002
len:84
Characteristic(00000002-0000-1001-8001-00805f9b07d0): Get("Value")bt function: tkl_ble_gatts_value_notify---------------------------------
property_changed, path: /org/bluez/hci0, iface: org.bluez.LEAdvertisingManager1, name: SupportedInstancesproperty_changed, path: /org/bluez/hci0, iface: org.bluez.LEAdvertisingManager1, name: ActiveInstancesUnregisterAdvertisement: done
Re-registering advertisement after unregister
UnregisterAdvertisement: done
property_changed, path: /org/bluez/hci0, iface: org.bluez.LEAdvertisingManager1, name: SupportedInstancesproperty_changed, path: /org/bluez/hci0, iface: org.bluez.LEAdvertisingManager1, name: ActiveInstancesRegisterAdvertisement: OK
[07-04 01:08:18:17 ty N][0x7f97ffe7a0][tuya_ble_svc.c:542] upd login key, bound stat:1
[07-04 01:08:18:17 ty N][0x7f97ffe7a0][tuya_ble_svc.c:1884] BT Serv closing...
bt function: tkl_ble_stack_deinit---------------------------------
tkl_ble_stack_deinit complete (BLE interfaces kept alive)
[07-04 01:08:18:18 ty E][0x7f97ffe7a0][base_event.c:156] ret:-2
[07-04 01:08:18:18 ty N][0x7f97ffe7a0][tuya_ble_svc.c:1391] ble_sdk_send skip, serv stat:3, conn stat:3
property_changed, path: /org/bluez/hci0, iface: org.bluez.LEAdvertisingManager1, name: SupportedInstancesproperty_changed, path: /org/bluez/hci0, iface: org.bluez.LEAdvertisingManager1, name: ActiveInstancesUnregisterAdvertisement: done
[07-04 01:08:18:26 ty N][0x7f977ee7a0][tuya_svc_devos.c:75] already bind
[07-04 01:08:18:26 ty E][0x7f977ee7a0][tuya_ipc_sdk_init.c:456] gw status changed to [3], but not notify

[07-04 01:08:18:26 ty I][0x7f977ee7a0][mqc_app.c:561] mqc app start ...
[07-04 01:08:18:26 ty I][0x7f977ee7a0][tal_thread.c:185] thread_create name:mqtt_thread,stackDepth:9216,totalstackDepth:33792,priority:4
[07-04 01:08:18:26 ty N][0x7f977ee7a0][tuya_svc_mqtt_client.c:175] [mqtts://m6.tuyacn.com:8886] mqtt state change 0 -> 1
[07-04 01:08:18:26 ty E][0x7f977ee7a0][tuya_svc_timer_task.c:1376] read timer_full_key failed
[07-04 01:08:18:26 ty N][0x7f977ee7a0][tuya_svc_devos_daemons.c:306] Main Module: v1.0.0 (1.0.0)
[07-04 01:08:18:26 ty N][0x7f95d3d7a0][tuya_svc_mqtt_client.c:836] connect to mqtt broker mqtts://m6.tuyacn.com:8886 port 8886
[07-04 09:08:18:26 ty N][0x7f977ee7a0][tuya_svc_lan.c:2210] lan recv devos run evt
[07-04 09:08:18:26 ty N][0x7f97ffe7a0][tuya_ble_svc.c:1515] bt rpt conn stat:9
省略部分重复的日志...
[07-04 09:08:18:617 ty N][0x7f977ee7a0][tuya_wifi_status.c:167] cur stat:7  0x73af7e48 -->>
[07-04 09:08:18:617 ty N][0x7f977ee7a0][tuya_wifi_status.c:169] wifi netstat changed to:7  -->>
[07-04 09:08:18:617 ty N][0x7f977ee7a0][tuya_wifi_status.c:173] report wifi netstat[7] to callback  -->>
[07-04 09:08:18:617 ty I][0x7f977ee7a0][ty_sdk_status_callback.c:221] online: network status MQTT connected
[07-04 09:08:18:617 ty N][0x7f977ee7a0][tuya_ble_svc.c:1804] BT service is not open:3!!
[07-04 09:08:18:617 ty I][0x7f977ee7a0][ty_sdk_status_callback.c:221] online: network status MQTT connected
vi_dev_init
vi               01:08:18-643 {vi_set_dev_attr   :1372} VI_DEV_ATTR_S all parameter reserved
videv 0: 0x7fa5b88908, driver: v4l2-output
pipe:-1 chn:0 stream open fd:57

videv 0: 0x7fa5b88908, driver: v4l2-output
pipe:-1 chn:3 stream open fd:58

vi               01:08:18-645 {rkViChn_setPubAttr:607} pipe:0 chn:3 run enter bChangeRes:1 !!!
省略部分重复的日志...
cmpi             01:08:18-852 {RKAIPrepare       :298} HAVE_MODULE_SKV && HAVE_MODULE_SED
cmpi             01:08:18-852 {RKAIPrepare       :307} check enabled - file_read:0 vqe:1 aed:0 bcd:0 buz:0 gbs:0
load library(librkaudio_vqe.so) in releative path
LOG (dump_version(): ,47), ---------------------------------------------------------
LOG (dump_version(): ,48), VQE version: git-dcd71af Wed Oct 15 12:54:51 2025 +0000
LOG (dump_version(): ,49), VQE building: built-by-Rockchip 2025-10-15 21:18:25
LOG (dump_version(): ,50), ---------------------------------------------------------
LOG (RKAecProcess_init(): ,274), AEC-RELEASE-VERSION 3.0,RELEASE DATE [2025-Oct-15:21:18:28], SVNver-CustomerName-ProductType-SampleRate-Releaser-Date, Remark
LOG (RKAecProcess_init(): ,280), This AEC version is used for no more than 2 microphones!

LOG (skv_preprocess_state_init(): ,962), BEAMFORM-RELEASE-VERSION 3.0,RELEASE DATE [2025-Oct-15:21:18:29], SVNver-CustomerName-ProductType-SampleRate-Releaser-Date, Remark AINR: 0 NPU: 0 ASYNC: 0
LOG (skv_preprocess_state_init(): ,973), This Beamform version is only used for 2 microphones!

LOG (rkaudio_fifo_prepare(): ,202), rkaudio_fifo_prepare ok
cmpi             01:08:18-857 {RKAISetQueueCnt   :1922} sed queue len = 0
cmpi             01:08:18-857 {RKAIPrepare       :354} mb pool creat success, MBCnt:8
cmpi             01:08:18-863 {RKAencSetPubAttr  :202} aenc u32Depth = 4
cmpi             01:08:18-863 {aenc_init         :538} create aenc chn 0 success

cmpi             01:08:18-863 {audio_init        :563} RK_MPI_SYS_Bind success

[07-04 09:08:18:838 ty I][0x7fa4504480][tal_thread.c:185] thread_create name:md_proc,stackDepth:524288,totalstackDepth:558080,priority:3


******tuya connect success***UTC:1783127298,ZONE:28800****

========rk_venc_push_thread========
========rk_venc_push_thread========
[07-04 09:08:18:838 ty E][0x7fa4504480][tuya_imm_service_log.c:541] read media_log_info fails, ret[-6]
[07-04 09:08:18:838 ty I][0x7fa4504480][tuya_imm_service_log.c:394] use mqtt uploader
[07-04 09:08:18:838 ty I][0x7fa4504480][tuya_imm_service_log.c:428] init uploader[0] OK.
[07-04 09:08:18:839 ty I][0x7fa4504480][tuya_imm_service_log.c:725] init ok
tuya liteos uv
[07-04 09:08:18:865 ty I][0x7fa4504480][tuya_ipc_media_stream.c:72] [RTC LOG] {"t":1783127298025,"v":"tuya_p2p_sdk_v3.4.120","p":"rtc_init","l":"6c93b90c9d7775e7e1iahk","mcn":10,"msn":5,"k":611}
[07-04 09:08:18:865 ty I][0x7fa4504480][tal_thread.c:185] thread_create name:tuya_p2p_listen_task,stackDepth:131072,totalstackDepth:689152,priority:2
vi               01:08:18-906 {rkViChn_getFrameRu:1856} -------------------------------vviBuf->buf_size: 786432
vi               01:08:18-906 {rkViChn_getFrameRu:1857} -------------------------------buffer->fd      : 141
vi               01:08:18-956 {rkViChn_getFrameRu:1856} -------------------------------vviBuf->buf_size: 786432
vi               01:08:18-956 {rkViChn_getFrameRu:1857} -------------------------------buffer->fd      : 146
vi               01:08:19-006 {rkViChn_getFrameRu:1856} -------------------------------vviBuf->buf_size: 786432
vi               01:08:19-006 {rkViChn_getFrameRu:1857} -------------------------------buffer->fd      : 148
vi               01:08:19-056 {rkViChn_getFrameRu:1856} -------------------------------vviBuf->buf_size: 786432
vi               01:08:19-056 {rkViChn_getFrameRu:1857} -------------------------------buffer->fd      : 151
vi               01:08:19-106 {rkViChn_getFrameRu:1856} -------------------------------vviBuf->buf_size: 786432
vi               01:08:19-106 {rkViChn_getFrameRu:1857} -------------------------------buffer->fd      : 149
vi               01:08:19-156 {rkViChn_getFrameRu:1856} -------------------------------vviBuf->buf_size: 786432
vi               01:08:19-156 {rkViChn_getFrameRu:1857} -------------------------------buffer->fd      : 150
[07-04 09:08:19:238 ty E][0x7f977ee7a0][svc_online_log_db.c:25] ret:-6
[07-04 09:08:19:261 ty I][0x7fa4504480][tal_thread.c:185] thread_create name:p2p_media_recv,stackDepth:65536,totalstackDepth:754688,priority:3
[07-04 09:08:19:261 ty I][0x7fa4504480][tal_thread.c:185] thread_create name:p2p_session_detect,stackDepth:65536,totalstackDepth:820224,priority:3
[07-04 09:08:19:262 ty I][0x7fa4504480][tal_thread.c:185] thread_create name:p2p_media_send,stackDepth:65536,totalstackDepth:885760,priority:3
[07-04 09:08:19:262 ty I][0x7fa4504480][tal_thread.c:185] thread_create name:p2p_cmd_recv,stackDepth:131072,totalstackDepth:1016832,priority:3
[07-04 09:08:19:262 ty I][0x7fa4504480][tal_thread.c:185] thread_create name:p2p_cmd_send,stackDepth:65536,totalstackDepth:1082368,priority:3
[07-04 09:08:19:262 ty E][0x7fa4504480][tuya_ipc_streamer.c:1673] tstream init start
[07-04 09:08:19:262 ty E][0x7fa4504480][tuya_ipc_encrypt.c:207] read local cloud encrypt key fails ..-6
[07-04 09:08:19:619 ty I][0x7fa4504480][tal_thread.c:185] thread_create name:streamer,stackDepth:8192,totalstackDepth:1090560,priority:3
[07-04 09:08:19:619 ty E][0x7fa4504480][tuya_ipc_streamer.c:1744] tstream init done
[07-04 09:08:19:933 ty I][0x7fa4504480][tuya_tmm_link.c:155] saved 0 dev, 8 bytes
[07-04 09:08:19:933 ty E][0x7fa4504480][tuya_ipc_event.c:565] read limit rule fails, ret[-6]
[07-04 09:08:19:934 ty I][0x7fa4504480][tal_thread.c:185] thread_create name:event,stackDepth:131072,totalstackDepth:1221632,priority:3
[07-04 09:08:19:934 ty E][0x7f9cfe57a0][tuya_ipc_event.c:1319] read event_spec_info fails, ret[-6]
[07-04 09:08:19:934 ty E][0x7f9cfe57a0][tuya_ipc_event.c:1378] get local spec fail, try to get spec from cloud
[07-04 09:08:19:934 ty E][0x7fa4504480][tuya_ipc_ss_encrypt.c:136] iot_wd_common_read fails md5_encrypt_key -6
[07-04 09:08:19:934 ty E][0x7fa4504480][tuya_ipc_ss_encrypt.c:215] read key_key file failed.

[07-04 09:08:19:934 ty E][0x7fa4504480][tuya_ipc_ss_encrypt.c:502] ss_get_encrypt_key_from_cfg fail, need update from cloud
[07-04 09:08:19:934 ty I][0x7fa4504480][tal_thread.c:185] thread_create name:disk_monitor,stackDepth:8192,totalstackDepth:1229824,priority:3
[07-04 09:08:19:934 ty E][0x7fa4504480][main.c:386] LOCAL STORAGE INIT OK!

[07-04 09:08:19:934 ty E][0x7fa4504480][tuya_ipc_cloud_storage_common.c:97] iot_wd_common_read fails md5_encrypt_key -6
[07-04 09:08:19:934 ty E][0x7fa4504480][tuya_ipc_cloud_storage_common.c:176] read key_key file failed.

[07-04 09:08:19:935 ty I][0x7fa4504480][tal_thread.c:185] thread_create name:cloud_storage,stackDepth:65536,totalstackDepth:1295360,priority:3
[07-04 09:08:19:935 ty E][0x7f2efde7a0][tuya_ipc_stream_storage.c:987] report sd status out:5, 0 -> 5

[07-04 09:08:19:935 ty N][0x7f2efde7a0][tuya_ble_svc.c:1804] BT service is not open:3!!
[07-04 09:08:19:935 ty E][0x7f2efde7a0][tuya_ipc_stream_storage.c:466] storage not inited
[07-04 09:08:19:936 ty I][0x7fa4504480][tal_thread.c:185] thread_create name:tuya_tmm_control,stackDepth:1024,totalstackDepth:1296384,priority:4
[07-04 09:08:19:936 ty N][0x7fa4504480][tuya_ble_svc.c:1804] BT service is not open:3!!
[07-04 09:08:19:937 ty N][0x7fa4504480][tuya_ble_svc.c:1804] BT service is not open:3!!
[07-04 09:08:19:938 ty N][0x7fa4504480][tuya_ble_svc.c:1804] BT service is not open:3!!
[07-04 09:08:19:939 ty N][0x7fa4504480][tuya_ble_svc.c:1804] BT service is not open:3!!
[07-04 09:08:19:939 ty N][0x7fa4504480][tuya_ble_svc.c:1804] BT service is not open:3!!
[07-04 09:08:19:939 ty N][0x7fa4504480][tuya_ble_svc.c:1804] BT service is not open:3!!
[07-04 09:08:19:939 ty E][0x7fa4504480][tuya_svc_mqtt_client.c:404] can't find free mqmde
省略部分重复的日志...
[07-04 09:08:19:945 ty N][0x7fa4504480][tuya_ble_svc.c:1804] BT service is not open:3!!
[07-04 09:08:19:945 ty E][0x7fa4504480][smart_frame.c:4014] dp_report err:-1
[07-04 09:08:20:231 ty E][0x7f9cfe57a0][tuya_ipc_event.c:1186] get type array cnt:123
[07-04 09:08:20:332 ty E][0x7f2efde7a0][tuya_ipc_ss_encrypt.c:136] iot_wd_common_read fails md5_encrypt_key -6
[07-04 09:08:20:332 ty E][0x7f2efde7a0][tuya_ipc_ss_encrypt.c:215] read key_key file failed.

[07-04 09:08:20:332 ty W][0x7f2efde7a0][tuya_ipc_ss_encrypt.c:401] get key from cfg error
[07-04 09:08:21:248 ty E][0x7f2e7ce7a0][cloud_operation.c:554] errorCode:CAMERA_STORAGE_ORDER_NOT_EXISTED
[07-04 09:08:21:842 ty N][0x7f66fde7a0][tuya_ble_svc.c:1804] BT service is not open:3!!
[07-04 09:08:21:945 ty N][0x7f977ee7a0][tuya_ble_svc.c:1804] BT service is not open:3!!
[07-04 09:08:21:945 ty N][0x7f977ee7a0][tuya_ble_svc.c:1804] BT service is not open:3!!
[07-04 09:08:22:765 ty I][0x7f9d10b7a0][tuya_ipc_media_stream.c:72] [RTC LOG] {"t":1783127301925,"v":"tuya_p2p_sdk_v3.4.120","p":"rtc_session_create","tid":"","s":"6c93b90c9d7775e7e1iahk1783127303e3X6ctCl","l":"6c93b90c9d7775e7e1iahk","r":"ay1773913621623AIkVE","o":1,"h":0,"lk":611,"rk":1635,"c":"kcp","ice":[{"urls":"stun:47.103.32.85:3478"},{"credential":"2lgGPxbYQUmFltVWk0BzKtFb9Zg=","ttl":36000,"urls":"turn:101.91.140.7:3478","username":"1783163302:6c93b90c9d7775e7e1iahk"},{"credential":"jK4jNWBpue6MvhOMOOVsDvEYA78=","ttl":36000,"urls":"turn:180.163.54.124:3478","username":"1783163302:6c93b90c9d7775e7e1iahk"},{"credential":"9IR51SpXPG4sP16vN6tuPIxBuiM=","ttl":36000,"urls":"turn:101.91.140.206:3478","username":"1783163302:6c93b90c9d7775e7e1iahk"}],"tcp":{"credential":"znR8nHKkvBBSt2BJSuEkXaKl0Tc=","domain":"localhost","sessionId":"6c93b90c9d7775e7e1iahk17831633029jjkPoJ5","urls":["tcp4:180.163.55.56:1443","tcp6:[2408:4002:1601:2700:8398:959d:dfa2:fe0c]:1443"],"urlsEx":["tcp6:[2408:4002:1601:2700:8398:959
[07-04 09:08:22:765 ty I][0x7f9d10b7a0][tuya_ipc_media_stream.c:72] [RTC LOG] {"t":1783127301925,"v":"tuya_p2p_sdk_v3.4.120","p":"rtc_session_state","tid":"","s":"6c93b90c9d7775e7e1iahk1783127303e3X6ctCl","l":"6c93b90c9d7775e7e1iahk","r":"ay1773913621623AIkVE","o":1,"a":1,"as":0,"h":0,"e":0,"ex":0,"d":0}
[07-04 09:08:22:766 ty I][0x7f9d10b7a0][tuya_ipc_media_stream.c:72] [RTC LOG] {"t":1783127301926,"v":"tuya_p2p_sdk_v3.4.120","p":"rtc_candidate_remote","tid":"","s":"6c93b90c9d7775e7e1iahk1783127303e3X6ctCl","l":"6c93b90c9d7775e7e1iahk","r":"ay1773913621623AIkVE","o":1,"c":"a=candidate:65640859 1 UDP 2130706431 fe80::6c38:3fff:fea1:b2c9 46442 typ host\r\n","d":1}
[07-04 09:08:22:766 ty I][0x7f9d10b7a0][tuya_ipc_media_stream.c:72] [RTC LOG] {"t":1783127301926,"v":"tuya_p2p_sdk_v3.4.120","p":"rtc_candidate_remote","tid":"","s":"6c93b90c9d7775e7e1iahk1783127303e3X6ctCl","l":"6c93b90c9d7775e7e1iahk","r":"ay1773913621623AIkVE","o":1,"c":"a=candidate:812565028 1 UDP 2130706431 192.168.3.164 46442 typ host\r\n","d":1}
[07-04 09:08:22:766 ty I][0x7f9d10b7a0][tuya_ipc_media_stream.c:72] [RTC LOG] {"t":1783127301926,"v":"tuya_p2p_sdk_v3.4.120","p":"rtc_tcp_state","tid":"","s":"6c93b90c9d7775e7e1iahk1783127303e3X6ctCl","l":"6c93b90c9d7775e7e1iahk","r":"ay1773913621623AIkVE","o":1,"a":0,"d":1,"th":{"tconn":0,"tresp":0,"tcomp":0}}
[07-04 09:08:22:766 ty I][0x7f9d10b7a0][tuya_ipc_media_stream.c:72] [RTC LOG] {"t":1783127301926,"v":"tuya_p2p_sdk_v3.4.120","p":"rtc_ice_state","tid":"","s":"6c93b90c9d7775e7e1iahk1783127303e3X6ctCl","l":"6c93b90c9d7775e7e1iahk","r":"ay1773913621623AIkVE","o":1,"a":0,"d":1,"ih":{"ha":true,"hlc":false,"hlh":false,"hls":false,"hlr":false,"hrc":true,"hrh":true,"hrs":false,"hrr":false}}
[07-04 09:08:22:767 ty I][0x7f9d10b7a0][tuya_ipc_media_stream.c:72] [RTC LOG] {"t":1783127301927,"v":"tuya_p2p_sdk_v3.4.120","p":"rtc_candidate_local","tid":"","s":"6c93b90c9d7775e7e1iahk1783127303e3X6ctCl","l":"6c93b90c9d7775e7e1iahk","r":"ay1773913621623AIkVE","o":1,"c":"a=candidate:377099759 1 UDP 2130706431 192.168.3.193 57544 typ host\r\n","d":2}
[07-04 09:08:22:767 ty I][0x7f9d10b7a0][tuya_ipc_media_stream.c:72] [RTC LOG] {"t":1783127301927,"v":"tuya_p2p_sdk_v3.4.120","p":"rtc_ice_state","tid":"","s":"6c93b90c9d7775e7e1iahk1783127303e3X6ctCl","l":"6c93b90c9d7775e7e1iahk","r":"ay1773913621623AIkVE","o":1,"a":1,"d":2,"ih":{"ha":true,"hlc":true,"hlh":true,"hls":false,"hlr":false,"hrc":true,"hrh":true,"hrs":false,"hrr":false}}
[07-04 09:08:22:808 ty I][0x7f9d10b7a0][tuya_ipc_media_stream.c:72] [RTC LOG] {"t":1783127301968,"v":"tuya_p2p_sdk_v3.4.120","p":"rtc_candidate_local","tid":"","s":"6c93b90c9d7775e7e1iahk1783127303e3X6ctCl","l":"6c93b90c9d7775e7e1iahk","r":"ay1773913621623AIkVE","o":1,"c":"a=candidate:1418577243 1 UDP 1694498815 113.118.18.136 4901 typ srflx\r\n","d":43}
[07-04 09:08:22:808 ty I][0x7f9d10b7a0][tuya_ipc_media_stream.c:72] [RTC LOG] {"t":1783127301968,"v":"tuya_p2p_sdk_v3.4.120","p":"rtc_candidate_remote","tid":"","s":"6c93b90c9d7775e7e1iahk1783127303e3X6ctCl","l":"6c93b90c9d7775e7e1iahk","r":"ay1773913621623AIkVE","o":1,"c":"a=candidate:1638874542 1 UDP 1694498815 113.118.18.136 4900 typ srflx\r\n","d":43}
[07-04 09:08:22:833 ty I][0x7f9d10b7a0][tuya_ipc_media_stream.c:72] [RTC LOG] {"t":1783127301993,"v":"tuya_p2p_sdk_v3.4.120","p":"rtc_candidate_remote","tid":"","s":"6c93b90c9d7775e7e1iahk1783127303e3X6ctCl","l":"6c93b90c9d7775e7e1iahk","r":"ay1773913621623AIkVE","o":1,"c":"a=candidate:912419871 1 UDP 16777215 180.163.54.124 62941 typ relay\r\n","d":68}
[07-04 09:08:22:856 ty I][0x7f9d10b7a0][tuya_ipc_media_stream.c:72] [RTC LOG] {"t":1783127302016,"v":"tuya_p2p_sdk_v3.4.120","p":"rtc_candidate_local","tid":"","s":"6c93b90c9d7775e7e1iahk1783127303e3X6ctCl","l":"6c93b90c9d7775e7e1iahk","r":"ay1773913621623AIkVE","o":1,"c":"a=candidate:494407407 1 UDP 16777215 101.91.140.7 49954 typ relay\r\n","d":91}
[07-04 09:08:22:857 ty I][0x7f9d10b7a0][tuya_ipc_media_stream.c:72] [RTC LOG] {"t":1783127302016,"v":"tuya_p2p_sdk_v3.4.120","p":"rtc_candidate_local","tid":"","s":"6c93b90c9d7775e7e1iahk1783127303e3X6ctCl","l":"6c93b90c9d7775e7e1iahk","r":"ay1773913621623AIkVE","o":1,"c":"a=candidate:287305138 1 UDP 16777215 180.163.54.124 56738 typ relay\r\n","d":91}
[07-04 09:08:22:859 ty I][0x7f9d10b7a0][tuya_ipc_media_stream.c:72] [RTC LOG] {"t":1783127302019,"v":"tuya_p2p_sdk_v3.4.120","p":"rtc_candidate_remote","tid":"","s":"6c93b90c9d7775e7e1iahk1783127303e3X6ctCl","l":"6c93b90c9d7775e7e1iahk","r":"ay1773913621623AIkVE","o":1,"c":"a=candidate:1917163146 1 UDP 16777215 101.91.140.206 49223 typ relay\r\n","d":94}
省略部分重复的日志...
{"tconn":1783127301969,"tresp":1783127302016,"tcomp":1783127302056}}
[07-04 09:08:22:896 ty I][0x7f9d10b7a0][tuya_ipc_media_stream.c:72] [RTC LOG] {"t":1783127302056,"v":"tuya_p2p_sdk_v3.4.120","p":"rtc_session_state","tid":"","s":"6c93b90c9d7775e7e1iahk1783127303e3X6ctCl","l":"6c93b90c9d7775e7e1iahk","r":"ay1773913621623AIkVE","o":1,"a":3,"as":0,"h":0,"e":0,"ex":0,"d":131}
[07-04 09:08:23:348 ty I][0x7f9d10b7a0][tuya_ipc_media_stream.c:72] [RTC LOG] {"t":1783127302508,"v":"tuya_p2p_sdk_v3.4.120","p":"rtc_ice_state","tid":"","s":"6c93b90c9d7775e7e1iahk1783127303e3X6ctCl","l":"6c93b90c9d7775e7e1iahk","r":"ay1773913621623AIkVE","o":1,"a":2,"d":583,"ih":{"ha":true,"hlc":true,"hlh":true,"hls":true,"hlr":true,"hrc":true,"hrh":true,"hrs":true,"hrr":true}}
[07-04 09:08:23:945 ty N][0x7f977ee7a0][tuya_ble_svc.c:1804] BT service is not open:3!!
{"type":"get"}
[07-04 09:08:23:948 ty N][0x7f977ee7a0][tuya_ble_svc.c:1804] BT service is not open:3!!
[07-04 09:08:24:272 ty I][0x7f9d10b7a0][tuya_ipc_media_stream.c:72] [RTC LOG] {"t":1783127303432,"v":"tuya_p2p_sdk_v3.4.120","p":"rtc_session_state","tid":"","s":"6c93b90c9d7775e7e1iahk1783127303e3X6ctCl","l":"6c93b90c9d7775e7e1iahk","r":"ay1773913621623AIkVE","o":1,"a":3,"as":2,"h":1,"e":0,"ex":0,"d":1507}
[07-04 09:08:24:272 ty I][0x7f9d10b7a0][tuya_ipc_media_stream.c:72] [RTC LOG] {"t":1783127303432,"v":"tuya_p2p_sdk_v3.4.120","p":"rtc_session_add","tid":"","s":"6c93b90c9d7775e7e1iahk1783127303e3X6ctCl","l":"6c93b90c9d7775e7e1iahk","r":"ay1773913621623AIkVE","ca":"","st":"new_session","e":0,"ex":0,"d":1507,"th":{"tconn":1783127301969,"tresp":1783127302016,"tcomp":1783127302056},"ih":{"ha":true,"hlc":true,"hlh":true,"hls":true,"hlr":true,"hrc":true,"hrh":true,"hrs":true,"hrr":true}}
[07-04 09:08:24:385 ty E][0x7f9d0157a0][tuya_ipc_p2p.c:4311] CTRL CMD ERROR[21]
[07-04 09:08:24:588 ty E][0x7f64d227a0][tuya_ipc_p2p.c:5139] session[65537] open_stream video success
[07-04 09:08:24:588 ty E][0x7f64d227a0][tuya_ipc_p2p.c:5158] session[65537] open_stream audio success
[07-04 09:08:24:945 ty N][0x7f66fde7a0][tuya_ble_svc.c:1804] BT service is not open:3!!
cmpi             01:08:25-820 {rk_ivs_get_thread :1232} Detect movement!

tuya_ipc_ss_start_event:1891 :start new event
[07-04 09:08:25:838 ty E][0x7f75d9e7a0][tuya_ipc_stream_storage.c:1898] the ss mgr not inited
[07-04 09:08:25:839 ty E][0x7f75d9e7a0][tuya_ipc_notify.c:187] start sd storage event fail ret:-1
cmpi             01:08:26-057 {rk_ivs_get_thread :1232} Detect movement!

cmpi             01:08:26-557 {rk_ivs_get_thread :1232} Detect movement!

cmpi             01:08:27-307 {rk_ivs_get_thread :1232} Detect movement!

cmpi             01:08:27-557 {rk_ivs_get_thread :1232} Detect movement!

[07-04 09:08:27:898 ty I][0x7f9d10b7a0][tuya_ipc_media_stream.c:72] [RTC LOG] {"t":1783127307057,"v":"tuya_p2p_sdk_v3.4.120","p":"rtc_session_stats","tid":"","s":"6c93b90c9d7775e7e1iahk1783127303e3X6ctCl","l":"6c93b90c9d7775e7e1iahk","r":"ay1773913621623AIkVE","o":1,"d":5132,"channels":[[0,180,369,180,369,568,880,1622,1620,1618,1507,1611],[1,795321,0,762713,0,845396,1056,1824,1823,-1,-1,2015],[2,29680,0,27904,0,33708,1056,1839,1831,-1,-1,2039],[10,236,0,-20,0,5400,0,1511,1507,-1,-1,-1]]}
[07-04 09:08:28:48 ty N][0x7f66fde7a0][tuya_ble_svc.c:1804] BT service is not open:3!!
  • 发生场景:

基于bluez实现蓝牙配网成功后,一直打印BT service is not open:3!! 确认配网成功后没有调用过tuya_ble_set_serv_switch(FALSE);

  • 出现上述bug后做过什么尝试:

在tkl_bluetooth.c实现配网成功后关闭gatt,反初始化蓝牙,释放所有蓝牙资源,会出现新问题:配网成功后就会报蓝牙相关的错,然后abort退出进程,最终还是不反初始化蓝牙,应用才不会崩溃,难道不需要蓝牙的应用也要一直开启蓝牙?

Post Reply