如果开启宏定义 TUYA_BLE_DEVICE_SHARED。依旧不能连接成功,在重复的连接,断开。
[10-07 08:58:35 ty I][app_dp_parser.c:1622] dp_rsp 8:
08 02 00 04 00 00 00 1f                                 ........
[10-07 08:58:35 ty I][fp_tuya.c:85] data answer 7:
52 aa 07 26 00 01 29                                    R..&..)
get uart2 len: 11
-**[[[    tuya trans data   ]]]***
[10-07 08:58:35 ty I][fp_tuya.c:149] tuyatrans data 11:
52 aa 0b 26 21 00 00 00 01 01 4f                        R..&!.....O
[10-07 08:58:35 ty I][app_dp_parser.c:1622] dp_rsp 5:
21 01 00 01 01                                          !....
[10-07 08:58:35 ty I][fp_tuya.c:85] data answer 7:
52 aa 07 26 00 01 29                                    R..&..)
loop time: 1759827516  1285421  163000   6
get uart2 len: 11
-**[[[    tuya trans data   ]]]***
[10-07 08:58:36 ty I][fp_tuya.c:149] tuyatrans data 11:
52 aa 0b 26 24 00 00 00 05 01 56                        R..&$.....V
[10-07 08:58:36 ty I][app_dp_parser.c:1622] dp_rsp 8:
24 02 00 04 00 00 00 05                                 $.......
[10-07 08:58:36 ty I][fp_tuya.c:85] data answer 7:
52 aa 07 26 00 01 29                                    R..&..)
tbs_att_create
gapc_connection_req_ind_handler 
conhdl:1 
con_interval:12 
con_latency:0 
sup_to:2000 
peer_addr_type:0 
peer_addr:0xf025da121fd8
role:Slave 
[10-07 08:58:36 ty I][tkl_bluetooth.c:367] gatt_send_queue_clear
[10-07 08:58:36 ty I][tuya_sdk_callback.c:121] connected
gattc_mtu_changed_ind_handler 
ind->mtu = 247,seq = 0
[10-07 08:58:36 ty I][tuya_sdk_callback.c:180] mtu is set to 0xF7(247)
appm_update_phy_param 
[10-07 08:58:36 ty I][tuya_ble_event_handler.c:960] Connected!
[10-07 08:58:36 ty D][tuya_ble_event_handler.c:1031] tuya ble send cb event succeed.
gapc_cmp_evt_handler operation = 17
gapc update phy fail !
ntf cfg on
tbs char2 val ntf start
[10-07 08:58:36 ty D][tuya_ble_data_handler.c:303] ble_data_unpack[33]
[10-07 08:58:36 ty D][tuya_ble_data_handler.c:462] --------------------------------- decryped mode: 4
[10-07 08:58:36 ty D][tuya_ble_data_handler.c:463] received encry data 33:
04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00         ................
00 4b 27 4b 7a ad d9 a8 48 df 14 47 3a 83 1d 8a         .K'Kz...H..G:...
48                                                      H
[10-07 08:58:36 ty D][tuya_ble_data_handler.c:487] decryped data 16:
00 00 00 01 00 00 00 00 00 00 00 02 00 f4 ba 0f         ................
[10-07 08:58:36 ty D][tuya_ble_data_handler.c:325] crc16_cal[0xba0f]
[10-07 08:58:36 ty D][tuya_ble_data_handler.c:327] crc16[0xba0f]
current_sn: 1,  0
[10-07 08:58:36 ty D][tuya_ble_data_handler.c:600] BLE EVENT SEND-CMD:0x00 - LEN:0x11
[10-07 08:58:36 ty D][tuya_ble_data_handler.c:1407] get device infor-1
[10-07 08:58:36 ty D][tuya_ble_data_handler.c:1415] current app mtu data len = 244
[10-07 08:58:36 ty D][tuya_ble_data_handler.c:5134] --------------------------------- encryped mode: 4
[10-07 08:58:36 ty D][tuya_ble_data_handler.c:5135] ble_commData_send plain data 115:
00 00 00 01 00 00 00 01 00 00 00 65 01 00 04 08         ...........e....
05 01 74 30 5b 17 80 11 00 01 68 7f 86 b6 fe 81         ..t0[.....h.....
85 ac 15 8f e0 e7 b9 57 c5 41 00 00 00 00 00 00         .......W.A......
00 00 00 00 00 00 00 00 00 00 01 00 00 00 01 00         ................
00 01 06 36 63 35 31 63get uart2 len: 11
-* 35 69 75 6f 6d 78 7a 61         ...6c51c5iuomxza
66 72 6a 00 00 00 00 00 00 00 00 00 00 00 00 01         frj.............
00 00 00 00 00 24 42 91 51 23 dc 00 00 00 02 05         .....$B.Q#......
00 e5 3b                                                ..;
[10-07 08:58:36 ty D][tuya_ble_data_handler.c:5170] ble_commData_send encryped data 145:
04 b2 d3 85 f3 51 ca 77 1e 1b 19 3f c1 32 80 98         .....Q.w...?.2..
9c e1 3d d9 86 25 c3 1d 43 04 4e bf 67 da 22 7b         ..=..%..C.N.g."{
8e c4 5a 49 c0 eb 72 46 02 ca ba a1 a7 73 4d e4         ..ZI..rF.....sM.
88 ca 4b 19 13 11 5b c3 3a 88 a4 19 e6 69 0b ff         ..K...[.:....i..
e9 9e b3 00 5e 60 cc 6f 3f e7 a2 ba 20 d1 21 6b         ....^`.o?... .!k
21 8b c1 c7 4e 0c 6a 94 09 e8 27 36 7c f9 47 09         !...N.j...'6|.G.
85 6f e7 cb 1b 8f ca 07 0d 1a f6 45 51 6e 66 ae         .o.........EQnf.
9a 2b 9e 5d d1 01 4c 9a 7d 21 4d fe 9d b9 c1 fe         .+.]..L.}!M.....
e1 ef a6 96 7c ac 46 73 8d d7 8d c3 e4 b6 46 64         ....|.Fs......Fd
f8                                                      .
[10-07 08:58:36 ty I][tuya_ble_data_handler.c:5198] ble_commData_send len = 145, package_number = 1, protocol version : 0x04, error code : 0x00
*[[[    tuya trans data   ]]]***
[10-07 08:58:36 ty I][fp_tuya.c:149] tuyatrans data 11:
52 aa 0b 26 1f 00 00 00 02 01 4e                        R..&......N
[10-07 08:58:36 ty I][app_dp_parser.c:1622] dp_rsp 5:
1f 04 00 01 02                                          .....
[10-07 08:58:37 ty I][fp_tuya.c:85] data answer 7:
52 aa 07 26 00 01 29                                    R..&..)
loop time: 1759827517  1318436  164011   4
[10-07 08:58:37 ty D][tuya_ble_data_handler.c:303] ble_data_unpack[81]
[10-07 08:58:37 ty D][tuya_ble_data_handler.c:462] --------------------------------- decryped mode: 5
[10-07 08:58:37 ty D][tuya_ble_data_handler.c:463] received encry data 81:
05 42 58 77 55 56 34 6b 4f 4e 6a 44 58 73 71 61         .BXwUV4kONjDXsqa
79 f8 69 2b da 3c 94 db 09 6e 12 c1 8d 79 26 08         y.i+.<...n...y&.
18 68 48 60 ca f9 69 30 c4 2a da c5 34 3c 0c e6         .hH`..i0.*..4<..
f2 8f 48 d6 1a f9 a1 31 4d 8c bb 4a 43 bf 0f 77         ..H....1M..JC..w
5e f7 15 d2 fd 18 bb 8a 8f 5f 3f 72 11 94 e8 b5         ^........_?r....
bd                                                      .
[10-07 08:58:37 ty D][tuya_ble_data_handler.c:487] decryped data 64:
00 00 00 02 00 00 00 00 00 01 00 2c 75 75 69 64         ...........,uuid
30 33 63 39 37 38 32 62 61 62 33 35 63 34 74 7b         03c9782bab35c4t{
2d 3a 00 00 00 00 00 00 00 00 00 00 00 00 00 00         -:..............
00 00 00 00 00 00 00 00 87 5d 06 06 06 06 06 06         .........]......
[10-07 08:58:37 ty D][tuya_ble_data_handler.c:325] crc16_cal[0x875d]
[10-07 08:58:37 ty D][tuya_ble_data_handler.c:327] crc16[0x875d]
current_sn: 2,  1
[10-07 08:58:37 ty I][tuya_ble_data_handler.c:1917] PAIR_REQ already bound!
[10-07 08:58:37 ty I][tuya_ble_data_handler.c:1951] Re-Bond ok-1, v2: 1
[10-07 08:58:37 ty I][tuya_ble_protocol_callback.c:81] bonding and connecting
[10-07 08:58:37 ty I][tuya_ble_data_handler.c:2132] tuya ble send cb event succeed.
[10-07 08:58:37 ty D][tuya_ble_data_handler.c:5134] --------------------------------- encryped mode: 15
[10-07 08:58:37 ty D][tuya_ble_data_handler.c:5135] ble_commData_send plain data 15:
00 00 00 02 00 00 00 02 00 01 00 01 02 6e 22            .............n"
[10-07 08:58:37 ty D][tuya_ble_data_handler.c:5170] ble_commData_send encryped data 33:
0f c1 bf c8 6f 68 96 53 fa 2c c5 2d fd ea 0c 67         ....oh.S.,.-...g
38 d9 2c 42 68 9e 52 e7 79 9d 71 5d 05 11 35 88         8.,Bh.R.y.q]..5.
19                                                      .
[10-07 08:58:37 ty I][tuya_ble_data_handler.c:5198] ble_commData_send len = 33, package_number = 1, protocol version : 0x04, error code : 0x00
[10-07 08:58:37 ty D][tuya_ble_data_handler.c:5134] --------------------------------- encryped mode: 15
[10-07 08:58:37 ty D][tuya_ble_data_handler.c:5135] ble_commData_send plain data 14:
00 00 00 03 00 00 00 00 80 11 00 00 37 09               ............7.
[10-07 08:58:37 ty D][tuya_ble_data_handler.c:5170] ble_commData_send encryped data 33:
0f 42 2b 5e 6b 0c e2 70 56 47 f1 27 b9 87 18 ed         .B+k..pVG.'....
54 21 68 dc c7 50 cd 25 80 7a 1e f1 90 28 a0 50         T!h..P.%.z...(.P
b6                                                      .
[10-07 08:58:37 ty I][tuya_ble_data_handler.c:5198] ble_commData_send len = 33, package_number = 1, protocol version : 0x04, error code : 0x00
[10-07 08:58:37 ty I][tuya_ble_data_handler.c:2162] send FRM_GET_UNIX_TIME_CHAR_MS_REQ cmd to app.
get uart2 len: 11
-**[[[    tuya trans data   ]]]***
[10-07 08:58:37 ty I][fp_tuya.c:149] tuyatrans data 11:
52 aa 0b 26 4f 00 00 00 00 01 7c                        R..&O.....|
[10-07 08:58:37 ty I][app_dp_parser.c:1622] dp_rsp 5:
4f 01 00 01 00                                          O....
[10-07 08:58:37 ty I][fp_tuya.c:85] data answer 7:
52 aa 07 26 00 01 29                                    R..&..)
[10-07 08:58:37 ty D][tuya_ble_data_handler.c:5134] --------------------------------- encryped mode: 15
[10-07 08:58:37 ty D][tuya_ble_data_handler.c:5135] ble_commData_send plain data 26:
00 00 00 04 00 00 00 00 80 06 00 0c 00 00 00 00         ................
10 00 00 4f 01 00 01 00 b3 9d                           ...O......
[10-07 08:58:37 ty D][tuya_ble_data_handler.c:5170] ble_commData_send encryped data 49:
0f e4 17 37 e7 6e ae 3c 32 1c 9d 1c f5 39 a4 9a         ...7.n.<2....9..
f0 8d 89 30 13 64 eb d8 82 ed fb 63 20 0c ce 90         ...0.d.....c ...
78 b3 d6 4d e4 3b 5d ea b6 74 45 63 b8 8d 9a 1d         x..M.;]..tEc....
83                                                      .
[10-07 08:58:37 ty I][tuya_ble_data_handler.c:5198] ble_commData_send len = 49, package_number = 1, protocol version : 0x04, error code : 0x00
loop time: 1759827518  1349096  165000   4
appm_update_param adv_state:4
remote state:0
gapc_cmp_evt_handler operation = 9
gapc update params ok !
[10-07 08:58:38 ty I][tuya_sdk_callback.c:168] conn param update: min-150ms, max-150ms, latency-0, timeout-6000ms
get uart2 len: 11
-**[[[    tuya trans data   ]]]***
[10-07 08:58:38 ty I][fp_tuya.c:149] tuyatrans data 11:
52 aa 0b 26 08 00 00 00 1f 01 54                        R..&......T
[10-07 08:58:38 ty I][app_dp_parser.c:1622] dp_rsp 8:
08 02 00 04 00 00 00 1f                                 ........
[10-07 08:58:38 ty I][fp_tuya.c:85] data answer 7:
52 aa 07 26 00 01 29                                    R..&..)
[10-07 08:58:38 ty D][tuya_ble_data_handler.c:5134] --------------------------------- encryped mode: 15
[10-07 08:58:38 ty D][tuya_ble_data_handler.c:5135] ble_commData_send plain data 29:
00 00 00 05 00 00 00 00 80 06 00 0f 00 00 00 00         ................
11 00 00 08 02 00 04 00 00 00 1f 58 06                  ...........X.
[10-07 08:58:38 ty D][tuya_ble_data_handler.c:5170] ble_commData_send encryped data 49:
0f 44 e3 bd fa 27 8e 5a c9 fd b1 31 b0 e0 0c 4c         .D...'.Z...1...L
6f 20 f8 3c d2 e2 92 11 fe c7 93 a2 5d 0e 61 c1         o .<........].a.
fa 20 b9 85 04 8c ea b7 71 ce f4 15 ec 6a 4e 86         . ......q....jN.
c8                                                      .
[10-07 08:58:38 ty I][tuya_ble_data_handler.c:5198] ble_commData_send len = 49, package_number = 1, protocol version : 0x04, error code : 0x00
get uart2 len: 13
-**[[[    tuya trans data   ]]]***
[10-07 08:58:38 ty I][fp_tuya.c:149] tuyatrans data 13:
52 aa 0d 20 00 01 00 00 00 ff ff 03 28                  R.. ........(
[10-07 08:58:38 ty I][fp_tuya.c:85] data answer 7:
52 aa 07 20 00 01 23                                    R.. ..#
get uart2 len: 1
-*loop time: 1759827519  1391735  166000   4
loop time: 1759827520  1440857  167000   4
loop time: 1759827521  1489981  168000   4
tbs_att_cleanup
gapc_disconnect_ind_handler,reason=13
[10-07 08:58:41 ty I][tkl_bluetooth.c:272] Disconnected (0x13).
[10-07 08:58:41 ty I][tkl_bluetooth.c:367] gatt_send_queue_clear
[10-07 08:58:41 ty I][tuya_sdk_callback.c:133] disconnect: 0x13
[10-07 08:58:41 ty I][tkl_bluetooth.c:561] app_env.adv_state=4
[10-07 08:58:41 ty I][tkl_bluetooth.c:589] adv created, del first
[10-07 08:58:41 ty I][tkl_bluetooth.c:600] tkl_ble_gap_adv_start, intv=[320-320] chnl_map=[7] adv_state=[4]
gapm_cmp_evt_handler operation:a8,status:0
[10-07 08:58:41 ty I][tkl_bluetooth.c:203] ~ adv del 
appm_create_advertising adv_state:0
gapm_adv_send_hci_le_set_ext_adv_param_cmd 11
gapm_cmp_evt_handler operation:a0,status:0
[10-07 08:58:41 ty I][tkl_bluetooth.c:214] ~ adv create 
gapm_cmp_evt_handler operation:a9,status:0
gapm_cmp_evt_handler operation:aa,status:0
appm_start_advertising adv_state:3
gapm_cmp_evt_handler operation:a4,status:0
[10-07 08:58:41 ty I][tkl_bluetooth.c:219] ~ adv started 
tbs_att_create
gapc_connection_req_ind_handler 
conhdl:1 
con_interval:12 
con_latency:0 
sup_to:2000 
peer_addr_type:0 
peer_addr:0xf025da121fd8
role:Slave 
[10-07 08:58:41 ty I][tkl_bluetooth.c:367] gatt_send_queue_clear
[10-07 08:58:41 ty I][tuya_sdk_callback.c:121] connected
gattc_mtu_changed_ind_handler 
ind->mtu = 247,seq = 0
[10-07 08:58:41 ty I][tuya_sdk_callback.c:180] mtu is set to 0xF7(247)
appm_update_phy_param 
[10-07 08:58:41 ty I][tuya_ble_event_handler.c:986] Disonnected
[10-07 08:58:41 ty D][tuya_ble_event_handler.c:1031] tuya ble send cb event succeed.
[10-07 08:58:41 ty I][tuya_ble_event_handler.c:960] Connected!
[10-07 08:58:41 ty D][tuya_ble_event_handler.c:1031] tuya ble send cb event succeed.
gapc_cmp_evt_handler operation = 17
gapc update phy fail !
ntf cfg on
tbs char2 val ntf start
[10-07 08:58:41 ty D][tuya_ble_data_handler.c:303] ble_data_unpack[33]
[10-07 08:58:41 ty D][tuya_ble_data_handler.c:462] --------------------------------- decryped mode: 4
[10-07 08:58:41 ty D][tuya_ble_data_handler.c:463] received encry data 33:
04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00         ................
00 4b 27 4b 7a ad d9 a8 48 df 14 47 3a 83 1d 8a         .K'Kz...H..G:...
48                                                      H
[10-07 08:58:41 ty D][tuya_ble_data_handler.c:487] decryped data 16:
00 00 00 01 00 00 00 00 00 00 00 02 00 f4 ba 0f         ................
[10-07 08:58:41 ty D][tuya_ble_data_handler.c:325] crc16_cal[0xba0f]
[10-07 08:58:41 ty D][tuya_ble_data_handler.c:327] crc16[0xba0f]
current_sn: 1,  0
[10-07 08:58:41 ty D][tuya_ble_data_handler.c:600] BLE EVENT SEND-CMD:0x00 - LEN:0x11
[10-07 08:58:41 ty D][tuya_ble_data_handler.c:1407] get device infor-1
[10-07 08:58:41 ty D][tuya_ble_data_handler.c:1415] current app mtu data len = 244
[10-07 08:58:41 ty D][tuya_ble_data_handler.c:5134] --------------------------------- encryped mode: 4
[10-07 08:58:41 ty D][tuya_ble_data_handler.c:5135] ble_commData_send plain data 115:
00 00 00 01 00 00 00 01 00 00 00 65 01 00 04 08         ...........e....
05 01 c6 2a e6 72 6a a2 00 01 68 7f 86 b6 fe 81         ...*.rj...h.....
85 ac 15 8f e0 e7 b9 57 c5 41 00 00 00 00 00 00         .......W.A......
00 00 00 00 00 00 00 00 00 00 01 00 00 00 01 00         ................
00 01 06 36 63 35 31 63 35 69 75 6f 6d 78 7a 61         ...6c51c5iuomxza
66 72 6a 00 00 00 00 00 00 00 00 00 00 00 00 01         frj.............
00 00 00 00 00 24 42 91 51 23 dc 00 00 00 02 05         .....$B.Q#......
00 c5 4a                                                ..J
[10-07 08:58:41 ty D][tuya_ble_data_handler.c:5170] ble_commData_send encryped data 145:
04 b2 75 b9 ed 9f 3c 2c a8 72 db b9 5b e5 12 1c         ..u...<,.r..[...
c6 0f fe b3 5c 38 62 8a 49 ff 4f 57 3d aa ae 3f         ....\8b.I.OW=..?
ba f6 44 b5 2d 77 e3 32 8a e7 ba 92 9d 21 72 49         ..D.-w.2.....!rI
a8 c6 2b fb 1a b2 06 6b 00 99 8b ca dd c9 cc 2b         ..+....k.......+
a1 9a 14 30 e4 8d fe 89 16 21 0c 0f 95 64 71 73         ...0.....!...dqs
41 17 b6 16 9a a5 62 90 71 af 70 4e 60 01 b5 73         A.....b.q.pN`..s
f7 1a 3e 28 25 14 4f e7 31 10 35 5e 0f a0 ac e9         ..>(%.O.1.5^....
fc d1 94 1a 2b 5d a3 a7 cc 3f 25 bf 83 f6 54 17         ....+]...?%...T.
31 70 48 63 bf 6c fd 6a f4 be ce df 21 e8 09 5e         1pHc.l.j....!..^
45                                                      E
[10-07 08:58:41 ty I][tuya_ble_data_handler.c:5198] ble_commData_send len = 145, package_number = 1, protocol version : 0x04, error code : 0x00
[10-07 08:58:41 ty D][tuya_ble_data_handler.c:303] ble_data_unpack[81]
[10-07 08:58:41 ty D][tuya_ble_data_handler.c:462] --------------------------------- decryped mode: 5
[10-07 08:58:41 ty D][tuya_ble_data_handler.c:463] received encry data 81:
05 56 69 6f 45 71 51 44 7a 5a 47 4c 70 35 44 52         .VioEqQDzZGLp5DR
52 10 ca 24 8e 72 0e e7 df f6 0d 0d 8c 6c 5f 1d         R..$.r.......l_.
ee b9 df 38 1d d3 15 4b 80 69 e5 4d 30 f4 28 09         ...8...K.i.M0.(.
2e 51 3e 51 d3 36 9e 5b 47 d2 71 95 8b 30 1a 39         .Q>Q.6.[G.q..0.9
db 7a fc 8c 3e c8 e1 b9 5e b9 0a 44 c6 08 f2 66         .z..>...^..D...f
26                                                      &
[10-07 08:58:41 ty D][tuya_ble_data_handler.c:487] decryped data 64:
00 00 00 02 00 00 00 00 00 01 00 2c 75 75 69 64         ...........,uuid
30 33 63 39 37 38 32 62 61 62 33 35 63 34 74 7b         03c9782bab35c4t{
2d 3a 00 00 00 00 00 00 00 00 00 00 00 00 00 00         -:..............
00 00 00 00 00 00 00 00 87 5d 06 06 06 06 06 06         .........]......
[10-07 08:58:41 ty D][tuya_ble_data_handler.c:325] crc16_cal[0x875d]
[10-07 08:58:41 ty D][tuya_ble_data_handler.c:327] crc16[0x875d]
current_sn: 2,  1
[10-07 08:58:41 ty I][tuya_ble_data_handler.c:1917] PAIR_REQ already bound!
[10-07 08:58:41 ty I][tuya_ble_data_handler.c:1951] Re-Bond ok-1, v2: 1
[10-07 08:58:41 ty I][tuya_ble_protocol_callback.c:81] bonding and connecting
[10-07 08:58:41 ty I][tuya_ble_data_handler.c:2132] tuya ble send cb event succeed.
[10-07 08:58:41 ty D][tuya_ble_data_handler.c:5134] --------------------------------- encryped mode: 15
[10-07 08:58:42 ty D][tuya_ble_data_handler.c:5135] ble_commData_send plain data 15:
00 00 00 02 00 00 00 02 00 01 00 01 02 6e 22            .............n"
[10-07 08:58:42 ty D][tuya_ble_data_handler.c:5170] ble_commData_send encryped data 33:
0f d3 a1 41 a9 b2 48 f0 c4 7a c7 00 d7 1c de 06         ...A..H..z......
a2 ab 60 9e d0 99 2b c4 b6 a6 a8 83 95 2a a4 46         ..`...+......*.F
4e                                                      N
[10-07 08:58:42 ty I][tuya_ble_data_handler.c:5198] ble_commData_send len = 33, package_number = 1, protocol version : 0x04, error code : 0x00
[10-07 08:58:42 ty D][tuya_ble_data_handler.c:5134] --------------------------------- encryped mode: 15
[10-07 08:58:42 ty D][tuya_ble_data_handler.c:5135] ble_commData_send plain data 14:
00 00 00 03 00 00 00 00 80 11 00 00 37 09               ............7.
[10-07 08:58:42 ty D][tuya_ble_data_handler.c:5170] ble_commData_send encryped data 33:
0f 6e 4d 84 e5 9a d4 9c 60 14 33 3b d3 02 2a cf         .nM.....`.3;..*.
fe 11 e4 37 00 c2 36 71 1f 17 c7 ae 86 ec c5 bf         ...7..6q........
01                                                      .
[10-07 08:58:42 ty I][tuya_ble_data_handler.c:5198] ble_commData_send len = 33, package_number = 1, protocol version : 0x04, error code : 0x00
[10-07 08:58:42 ty I][tuya_ble_data_handler.c:2162] send FRM_GET_UNIX_TIME_CHAR_MS_REQ cmd to app.
loop time: 1759827522  1514026  169122   4
appm_update_param adv_state:4
loop time: 1759827523  1556525  170000   4
remote state:0\0翇}嵉羮曎複箲睍蓙operation = 9
gapc update params ok \0HC醄10[偤偮要乱㈠両][tuya_sdk_callback.c:168] conn param upd褧?min-150ms, max-150ms, latency-0, timeout-6000ms
tbs_att_cleanup
gapc_disconnect_ind_handler,reason=13
[10-07 08:58:46 ty I][tkl_bluetooth.c:272] Disconnected (0x13).
[10-07 08:58:46 ty I][tkl_bluetooth.c:367] gatt_send_queue_clear
[10-07 08:58:46 ty I][tuya_sdk_callback.c:133] disconnect: 0x13
[10-07 08:58:46 ty I][tkl_bluetooth.c:561] app_env.adv_state=4
[10-07 08:58:46 ty I][tkl_bluetooth.c:589] adv created, del first
[10-07 08:58:46 ty I][tkl_bluetooth.c:600] tkl_ble_gap_adv_start, intv=[320-320] chnl_map=[7] adv_state=[4]