BK7231N&SDK版本2.3.3需要实现在仅连接蓝牙的情况下上报dp状态,目前例程里仅连接蓝牙无法实现蓝牙上报dp状态,app里无法实时显示设备dp状态。
按照这个帖子修改也是无法实现的,viewtopic.php?t=492
目前已经批量出货了,希望能够沿用这个SDK版本,需要怎么修改?
BK7231N&SDK版本2.3.3需要实现仅连接蓝牙的情况下上报dp状态
BK7231N&SDK版本2.3.3需要实现仅连接蓝牙的情况下上报dp状态
Tags:
Re: BK7231N&SDK版本2.3.3需要实现仅连接蓝牙的情况下上报dp状态
你的意思是蓝牙连接时dp无法上报?有debug日志吗,分析一下。
Re: BK7231N&SDK版本2.3.3需要实现仅连接蓝牙的情况下上报dp状态
配网后关闭wifi,app和设备之间仅使用蓝牙连接,这时候app下发,设备是可以收到并处理的,但是设备不会通过蓝牙上报dp状态,连上wifi后是正常上报dp状态的。
Re: BK7231N&SDK版本2.3.3需要实现仅连接蓝牙的情况下上报dp状态
配网后关闭wifi,app和设备之间仅使用蓝牙连接,这时候app下发,设备是可以收到并处理的,但是设备不会通过蓝牙上报dp状态,连上wifi后是正常上报dp状态的。
Re: BK7231N&SDK版本2.3.3需要实现仅连接蓝牙的情况下上报dp状态
Code: Select all
wpa_driver_scan_cb
Scan completed in 2.342000 seconds
No suitable network found
wpa_supplicant_req_scan
Setting scan[retry12] request: 5.000000 sec
[03-20 13:07:49 TUYA N][lr:0x573f5] watermark0:316
[03-20 13:07:49 TUYA N][lr:0x573fd] watermark1:2084
[03-20 13:07:49 TUYA N][lr:0x57405] watermark2:648
[03-20 13:07:49 TUYA N][lr:0x5740d] watermark3:2076
[03-20 13:07:49 TUYA E][lr:0xab4b3] dev not on online:5
wpa_supplicant_scan
wpa_drv_scan
ht in scan
scan_start_req_handler
wpa_driver_scan_start_cb
[03-20 13:07:51 TUYA D][lr:0x978af] rev ble event 2
[03-20 13:07:51 TUYA D][lr:0x9793b] Dev Rev BT Package
bt_rev_raw 20
00 31 20 05 06 8a 27 cb d1 d7 ea 6b 6d 54 59 40 be e0 e2 19
[03-20 13:07:51 TUYA D][lr:0x98027] recive sub_pkg desc:1, no:1, pack_len:17, total_len:17
[03-20 13:07:51 TUYA D][lr:0x9807b] ble data pkg is multi-pack, receive...
[03-20 13:07:51 TUYA D][lr:0x978af] rev ble event 2
[03-20 13:07:51 TUYA D][lr:0x9793b] Dev Rev BT Package
bt_rev_raw 20
01 82 c3 c8 11 3f 8d ab 43 d9 26 d2 37 64 e7 a9 b2 aa 9b fc
[03-20 13:07:51 TUYA D][lr:0x98027] recive sub_pkg desc:2, no:2, pack_len:19, total_len:36
[03-20 13:07:51 TUYA D][lr:0x9807b] ble data pkg is multi-pack, receive...
[03-20 13:07:51 TUYA D][lr:0x978af] rev ble event 2
[03-20 13:07:51 TUYA D][lr:0x9793b] Dev Rev BT Package
bt_rev_raw 14
02 ff d2 ae 0c 8a 66 67 97 4b 93 d4 c0 af
[03-20 13:07:51 TUYA D][lr:0x98027] recive sub_pkg desc:3, no:3, pack_len:13, total_len:49
ble rev data 49
05 06 8a 27 cb d1 d7 ea 6b 6d 54 59 40 be e0 e2 19 82 c3 c8 11 3f 8d ab 43 d9 26 d2 37 64 e7 a9 b2 aa 9b fc ff d2 ae 0c 8a 66 67 97 4b 93 d4 c0 af
ble decryped data 32
00 00 00 0c 00 00 00 00 00 02 00 04 10 01 01 00 ac 29 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[03-20 13:07:51 TUYA D][lr:0x979cd] ble get conn stat:3
[03-20 13:07:51 TUYA D][lr:0x98227] Parse BT Cmd:0x2
[03-20 13:07:51 TUYA D][lr:0x98241] BT Cmd:2 Has No def operate
FRM_CMD_SEND 4
10 01 01 00
[03-20 13:07:51 TUYA D][lr:0x979cd] ble get conn stat:3
[03-20 13:07:51 TUYA D][lr:0x97a57] tuya_ble_sdk_send. cmd:0x2 encrpyt:5
bt_ack_uncrypt 1
00
[03-20 13:07:51 TUYA D][lr:0x979cd] ble get conn stat:3
data_2_klvlist 4
10 01 01 00
[03-20 13:07:51 TUYA N][lr:0xc3f39] id:16 type:1 len:1
[03-20 13:07:51 TUYA D][lr:0xc3437] pkg max len:20, sunpkg_offset:3, send_data:17
tuya_hal_bt_send 20
00 21 3f 05 11 80 35 6d 95 34 22 90 db 3c c1 5e 2c 4c 56 64
[PLATFORM DEBUG]bt send
BLE_TX_DONE
[03-20 13:07:51 TUYA D][lr:0xc3437] pkg max len:20, sunpkg_offset:1, send_data:16
tuya_hal_bt_send 17
01 2e 23 ec 99 93 75 9c 60 e9 f1 05 8c 64 5a 98 b2
[PLATFORM DEBUG]bt send
BLE_TX_DONE
[03-20 13:07:51 TUYA D][lr:0x9753d] ble_send_data_to_app finish. len:33, send_ret:0x0
[03-20 13:07:51 TUYA D][lr:0xb803b] Rev Cmd 5, data:0x423f88
[03-20 13:07:51 TUYA D][lr:0x570bf] dp->cid:(null) dp->dps_cnt:1
[03-20 13:07:51 TUYA D][lr:0x567cb] dpid:16
[03-20 13:07:51 TUYA D][lr:0xc418d] Rev BT user Data. type:2
[03-20 13:07:51 TUYA N][lr:0x57d05] val is 4
[03-20 13:07:51 TUYA D][lr:0xb8e93] rept chan:4
[03-20 13:07:51 TUYA D][lr:0xb700b] dp<16> check. need_update:1 pv_stat:1 trig_t:0 dp_rept_type:0 force_send:0
[03-20 13:07:51 TUYA D][lr:0xb7027] dp_cntl bool:1, dp_data bool:0
[03-20 13:07:51 TUYA D][lr:0xb7145] is_need_update:1, is_dp_passive:0
[03-20 13:07:51 TUYA D][lr:0xb700b] dp<104> check. need_update:1 pv_stat:1 trig_t:0 dp_rept_type:0 force_send:0
[03-20 13:07:51 TUYA D][lr:0xb7145] is_need_update:1, is_dp_passive:0
[03-20 13:07:51 TUYA D][lr:0xb700b] dp<105> check. need_update:0 pv_stat:3 trig_t:0 dp_rept_type:0 force_send:0
[03-20 13:07:51 TUYA D][lr:0xb7145] is_need_update:0, is_dp_passive:0
[03-20 13:07:51 TUYA D][lr:0xb7439] obj dp rept filtered:105
[03-20 13:07:51 TUYA D][lr:0xb700b] dp<108> check. need_update:0 pv_stat:3 trig_t:0 dp_rept_type:0 force_send:0
[03-20 13:07:51 TUYA D][lr:0xb7027] dp_cntl bool:0, dp_data bool:0
[03-20 13:07:51 TUYA D][lr:0xb7145] is_need_update:0, is_dp_passive:0
[03-20 13:07:51 TUYA D][lr:0xb7439] obj dp rept filtered:108
__dp_data_report_data 16
6c 01 01 00 69 04 01 00 68 04 01 02 10 01 01 00
[03-20 13:07:51 TUYA D][lr:0x979cd] ble get conn stat:3
[03-20 13:07:51 TUYA D][lr:0x97a57] tuya_ble_sdk_send. cmd:0x8001 encrpyt:5
bt_ack_uncrypt 16
6c 01 01 00 69 04 01 00 68 04 01 02 10 01 01 00
[03-20 13:07:51 TUYA D][lr:0x979cd] ble get conn stat:3
[03-20 13:07:51 TUYA D][lr:0xc3437] pkg max len:20, sunpkg_offset:3, send_data:17
tuya_hal_bt_send 20
00 31 30 05 9c 9e 92 0e 8b 79 35 90 4e 74 c1 99 49 c8 91 a0
[PLATFORM DEBUG]bt send
BLE_TX_DONE
[03-20 13:07:51 TUYA D][lr:0x5675b] dp_query report_all_dp_data
[03-20 13:07:51 TUYA D][lr:0xc3437] pkg max len:20, sunpkg_offset:1, send_data:19
tuya_hal_bt_send 20
01 6e cf 4a 6a 2c b7 f8 ed d8 84 d3 5f 1a bd 23 c3 b9 fd d5
[PLATFORM DEBUG]bt send
BLE_TX_DONE
[03-20 13:07:51 TUYA D][lr:0xc3437] pkg max len:20, sunpkg_offset:1, send_data:13
tuya_hal_bt_send 14
02 1a 93 8f a2 90 10 57 67 f9 3a 6f 7c 3b
[PLATFORM DEBUG]bt send
BLE_TX_DONE
[03-20 13:07:51 TUYA D][lr:0x9753d] ble_send_data_to_app finish. len:49, send_ret:0x0
[03-20 13:07:51 TUYA D][lr:0x978af] rev ble event 2
[03-20 13:07:51 TUYA D][lr:0x9793b] Dev Rev BT Package
bt_rev_raw 20
00 21 20 05 62 bd df 21 ac 98 3a 55 24 2d c3 29 00 01 2a 12
[03-20 13:07:51 TUYA D][lr:0x98027] recive sub_pkg desc:1, no:1, pack_len:17, total_len:17
[03-20 13:07:51 TUYA D][lr:0x9807b] ble data pkg is multi-pack, receive...
[03-20 13:07:51 TUYA D][lr:0x978af] rev ble event 2
[03-20 13:07:51 TUYA D][lr:0x9793b] Dev Rev BT Package
bt_rev_raw 17
01 36 f3 06 28 44 46 14 49 00 7e 3b c9 b0 70 0c 60
[03-20 13:07:51 TUYA D][lr:0x98027] recive sub_pkg desc:3, no:2, pack_len:16, total_len:33
ble rev data 33
05 62 bd df 21 ac 98 3a 55 24 2d c3 29 00 01 2a 12 36 f3 06 28 44 46 14 49 00 7e 3b c9 b0 70 0c 60
ble decryped data 16
00 00 00 0d 00 00 00 11 80 01 00 01 00 e2 90 00
[03-20 13:07:51 TUYA D][lr:0x979cd] ble get conn stat:3
[03-20 13:07:51 TUYA D][lr:0x98227] Parse BT Cmd:0x8001
[03-20 13:07:51 TUYA D][lr:0xc418d] Rev BT user Data. type:32769
wpa_driver_scan_cb
Scan completed in 2.346000 seconds
No suitable network found
wpa_supplicant_req_scan
Setting scan[retry11] request: 5.000000 sec
Re: BK7231N&SDK版本2.3.3需要实现仅连接蓝牙的情况下上报dp状态
好像有发送,但不知道为什么app没有更新对应的dp状态,app是智能生活,版本5.6.1
Re: BK7231N&SDK版本2.3.3需要实现仅连接蓝牙的情况下上报dp状态
Code: Select all
wpa_supplicant_req_scan
Setting scan[retry15] request: 5.000000 sec
[03-20 13:27:31 TUYA D][lr:0x97b27] cloud disconnected, start adv!
[PLATFORM DEBUG]ty bt start adv
adv_state:1
[03-20 13:27:31 TUYA D][lr:0x97b[gapm_cmp_evt_handler] 59] nw stat change:2->0conidx:0,operation:0xa0, rpt to app.
[03-20 13,status:0x43
[appm_adv:27:31 TUYA D][lr:0x97b_fsm_next] cur adv_statab] tuya_ble_send_dev_ne:1
adv_state:0
end aw_stat:0
[03-20 13:27:dv_state:0
[PLATFORM D31 TUYA D][lr:0x979cd] bEBUG]UNKNOW EVENT:16
le get conn stat:3
[03-20 13:27:31 TUYA D][lr:0x97a57] tuya_ble_sdk_send. cmd:0x1e encrpyt:5
bt_ack_uncrypt 1
00
[03-20 13:27:31 TUYA D][lr:0x979cd] ble get conn stat:3
[03-20 13:27:31 TUYA D][lr:0xc3437] pkg max len:20, sunpkg_offset:3, send_data:17
tuya_hal_bt_send 20
00 21 38 05 5d 10 05 ab 53 f5 01 b0 59 e7 7c f0 99 bb f6 73
[PLATFORM DEBUG]bt send
BLE_TX_DONE
[03-20 13:27:31 TUYA D][lr:0xc3437] pkg max len:20, sunpkg_offset:1, send_data:16
tuya_hal_bt_send 17
01 ab 8b 8c 8a 3c 2a ab 21 d6 a6 08 1c ae f0 b8 29
[PLATFORM DEBUG]bt send
BLE_TX_DONE
[03-20 13:27:31 TUYA D][lr:0x9753d] ble_send_data_to_app finish. len:33, send_ret:0x0
[03-20 13:27:31 TUYA N][lr:0x573f5] watermark0:320
[03-20 13:27:31 TUYA N][lr:0x573fd] watermark1:2084
[03-20 13:27:31 TUYA N][lr:0x57405] watermark2:648
[03-20 13:27:31 TUYA N][lr:0x5740d] watermark3:2076
[03-20 13:27:32 TUYA D][lr:0x978af] rev ble event 2
[03-20 13:27:32 TUYA D][lr:0x9793b] Dev Rev BT Package
bt_rev_raw 20
00 31 20 05 c2 b5 cd 41 b7 22 6b 91 6a c0 8f 37 dd ef a0 41
[03-20 13:27:32 TUYA D][lr:0x98027] recive sub_pkg desc:1, no:1, pack_len:17, total_len:17
[03-20 13:27:32 TUYA D][lr:0x9807b] ble data pkg is multi-pack, receive...
[03-20 13:27:32 TUYA D][lr:0x978af] rev ble event 2
[03-20 13:27:32 TUYA D][lr:0x9793b] Dev Rev BT Package
bt_rev_raw 20
01 85 90 0f 45 05 75 7a a8 68 96 e5 a4 78 8b 18 08 b4 73 87
[03-20 13:27:32 TUYA D][lr:0x98027] recive sub_pkg desc:2, no:2, pack_len:19, total_len:36
[03-20 13:27:32 TUYA D][lr:0x9807b] ble data pkg is multi-pack, receive...
[03-20 13:27:32 TUYA D][lr:0x978af] rev ble event 2
[03-20 13:27:32 TUYA D][lr:0x9793b] Dev Rev BT Package
bt_rev_raw 14
02 64 8a 20 a1 7d 97 07 28 25 15 e5 67 b6
[03-20 13:27:32 TUYA D][lr:0x98027] recive sub_pkg desc:3, no:3, pack_len:13, total_len:49
ble rev data 49
05 c2 b5 cd 41 b7 22 6b 91 6a c0 8f 37 dd ef a0 41 85 90 0f 45 05 75 7a a8 68 96 e5 a4 78 8b 18 08 b4 73 87 64 8a 20 a1 7d 97 07 28 25 15 e5 67 b6
ble decryped data 32
00 00 00 06 00 00 00 00 00 02 00 04 10 01 01 01 66 f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[03-20 13:27:32 TUYA D][lr:0x979cd] ble get conn stat:3
[03-20 13:27:32 TUYA D][lr:0x98227] Parse BT Cmd:0x2
[03-20 13:27:32 TUYA D][lr:0x98241] BT Cmd:2 Has No def operate
FRM_CMD_SEND 4
10 01 01 01
[03-20 13:27:32 TUYA D][lr:0x979cd] ble get conn stat:3
[03-20 13:27:32 TUYA D][lr:0x97a57] tuya_ble_sdk_send. cmd:0x2 encrpyt:5
bt_ack_uncrypt 1
00
[03-20 13:27:32 TUYA D][lr:0x979cd] ble get conn stat:3
data_2_klvlist 4
10 01 01 01
[03-20 13:27:32 TUYA N][lr:0xc3f39] id:16 type:1 len:1
[03-20 13:27:32 TUYA D][lr:0xc3437] pkg max len:20, sunpkg_offset:3, send_data:17
tuya_hal_bt_send 20
00 21 39 05 fa 46 e6 50 e8 c3 4c 52 2f 1b 28 bd e6 3e 67 82
[PLATFORM DEBUG]bt send
BLE_TX_DONE
[03-20 13:27:32 TUYA D][lr:0xc3437] pkg max len:20, sunpkg_offset:1, send_data:16
tuya_hal_bt_send 17
01 82 52 d9 02 59 2e 67 26 8a 54 5a 55 30 8a a8 ab
[PLATFORM DEBUG]bt send
BLE_TX_DONE
[03-20 13:27:32 TUYA D][lr:0x9753d] ble_send_data_to_app finish. len:33, send_ret:0x0
[03-20 13:27:32 TUYA D][lr:0xb803b] Rev Cmd 5, data:0x423dc0
[03-20 13:27:32 TUYA D][lr:0x570bf] dp->cid:(null) dp->dps_cnt:1
[03-20 13:27:32 TUYA D][lr:0x567cb] dpid:16
[03-20 13:27:32 TUYA N][lr:0x57d05] val is 8
[03-20 13:27:32 TUYA D][lr:0xb8e93] rept chan:1
[03-20 13:27:32 TUYA D][lr:0xb700b] dp<16> check. need_update:0 pv_stat:3 trig_t:0 dp_rept_type:0 force_send:0
[03-20 13:27:32 TUYA D][lr:0xb7027] dp_cntl bool:0, dp_data bool:1
[03-20 13:27:32 TUYA D][lr:0xb7145] is_need_update:1, is_dp_passive:0
[03-20 13:27:32 TUYA D][lr:0xb700b] dp<104> check. need_update:0 pv_stat:3 trig_t:0 dp_rept_type:0 force_send:0
[03-20 13:27:32 TUYA D][lr:0xb7145] is_need_update:1, is_dp_passive:0
[03-20 13:27:32 TUYA D][lr:0xb700b] dp<105> check. need_update:0 pv_stat:3 trig_t:0 dp_rept_type:0 force_send:0
[03-20 13:27:32 TUYA D][lr:0xb7145] is_need_update:0, is_dp_passive:0
[03-20 13:27:32 TUYA D][lr:0xb7439] obj dp rept filtered:105
[03-20 13:27:32 TUYA D][lr:0xb700b] dp<108> check. need_update:0 pv_stat:3 trig_t:0 dp_rept_type:0 force_send:0
[03-20 13:27:32 TUYA D][lr:0xb7027] dp_cntl bool:0, dp_data bool:0
[03-20 13:27:32 TUYA D][lr:0xb7145] is_need_update:0, is_dp_passive:0
[03-20 13:27:32 TUYA D][lr:0xb7439] obj dp rept filtered:108
[03-20 13:27:32 TUYA D][lr:0xb7d93] dp rept_type:0, data:{"16":true,"104":"auto_upon"}
[03-20 13:27:32 TUYA E][lr:0xb8eef] dp_report err:-3589
[03-20 13:27:32 TUYA E][lr:0x56755] dev_report_dp_json_async relay_config data error,err_num
[03-20 13:27:32 TUYA D][lr:0x5675b] dp_query report_all_dp_data
[03-20 13:27:32 TUYA E][lr:0xab4b3] dev not on online:5
[03-20 13:27:34 TUYA D][lr:0xb8a7f] NetWork Unavailable:0
[03-20 13:27:34 TUYA D][lr:0x978af] rev ble event 2
[03-20 13:27:34 TUYA D][lr:0x9793b] Dev Rev BT Package
bt_rev_raw 20
00 31 20 05 50 a2 44 9e 3a fd bf e7 17 42 62 ba 21 99 37 cc
[03-20 13:27:34 TUYA D][lr:0x98027] recive sub_pkg desc:1, no:1, pack_len:17, total_len:17
[03-20 13:27:34 TUYA D][lr:0x9807b] ble data pkg is multi-pack, receive...
[03-20 13:27:34 TUYA D][lr:0x978af] rev ble event 2
[03-20 13:27:34 TUYA D][lr:0x9793b] Dev Rev BT Package
bt_rev_raw 20
01 55 6a 3c 74 8f 8d 5e 42 75 d3 2f 13 c0 7e cf ac 0b 74 c0
[03-20 13:27:34 TUYA D][lr:0x98027] recive sub_pkg desc:2, no:2, pack_len:19, total_len:36
[03-20 13:27:34 TUYA D][lr:0x9807b] ble data pkg is multi-pack, receive...
[03-20 13:27:34 TUYA D][lr:0x978af] rev ble event 2
[03-20 13:27:34 TUYA D][lr:0x9793b] Dev Rev BT Package
bt_rev_raw 14
02 07 eb 72 43 b7 90 e4 92 d4 78 ef d2 79
[03-20 13:27:34 TUYA D][lr:0x98027] recive sub_pkg desc:3, no:3, pack_len:13, total_len:49
ble rev data 49
05 50 a2 44 9e 3a fd bf e7 17 42 62 ba 21 99 37 cc 55 6a 3c 74 8f 8d 5e 42 75 d3 2f 13 c0 7e cf ac 0b 74 c0 07 eb 72 43 b7 90 e4 92 d4 78 ef d2 79
ble decryped data 32
00 00 00 07 00 00 00 00 00 02 00 04 10 01 01 00 27 33 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[03-20 13:27:34 TUYA D][lr:0x979cd] ble get conn stat:3
[03-20 13:27:34 TUYA D][lr:0x98227] Parse BT Cmd:0x2
[03-20 13:27:34 TUYA D][lr:0x98241] BT Cmd:2 Has No def operate
FRM_CMD_SEND 4
10 01 01 00
[03-20 13:27:34 TUYA D][lr:0x979cd] ble get conn stat:3
[03-20 13:27:34 TUYA D][lr:0x97a57] tuya_ble_sdk_send. cmd:0x2 encrpyt:5
bt_ack_uncrypt 1
00
[03-20 13:27:34 TUYA D][lr:0x979cd] ble get conn stat:3
data_2_klvlist 4
10 01 01 00
[03-20 13:27:34 TUYA N][lr:0xc3f39] id:16 type:1 len:1
[03-20 13:27:34 TUYA D][lr:0xc3437] pkg max len:20, sunpkg_offset:3, send_data:17
tuya_hal_bt_send 20
00 21 3a 05 59 52 66 be bf df 42 a6 f3 62 0b 45 68 7b 94 f8
[PLATFORM DEBUG]bt send
BLE_TX_DONE
[03-20 13:27:34 TUYA D][lr:0xc3437] pkg max len:20, sunpkg_offset:1, send_data:16
tuya_hal_bt_send 17
01 7b fe 53 f0 26 4b 62 aa cd 25 8c 97 72 c8 f7 f6
[PLATFORM DEBUG]bt send
BLE_TX_DONE
[03-20 13:27:34 TUYA D][lr:0x9753d] ble_send_data_to_app finish. len:33, send_ret:0x0
[03-20 13:27:34 TUYA D][lr:0xb803b] Rev Cmd 5, data:0x423dc0
[03-20 13:27:34 TUYA D][lr:0x570bf] dp->cid:(null) dp->dps_cnt:1
[03-20 13:27:34 TUYA D][lr:0x567cb] dpid:16
[03-20 13:27:34 TUYA N][lr:0x57d05] val is 4
[03-20 13:27:34 TUYA D][lr:0xb8e93] rept chan:1
[03-20 13:27:34 TUYA D][lr:0xb700b] dp<16> check. need_update:1 pv_stat:1 trig_t:0 dp_rept_type:0 force_send:0
[03-20 13:27:34 TUYA D][lr:0xb7027] dp_cntl bool:1, dp_data bool:0
[03-20 13:27:34 TUYA D][lr:0xb7145] is_need_update:1, is_dp_passive:0
[03-20 13:27:34 TUYA D][lr:0xb700b] dp<104> check. need_update:1 pv_stat:1 trig_t:0 dp_rept_type:0 force_send:0
[03-20 13:27:34 TUYA D][lr:0xb7145] is_need_update:1, is_dp_passive:0
[03-20 13:27:34 TUYA D][lr:0xb700b] dp<105> check. need_update:0 pv_stat:3 trig_t:0 dp_rept_type:0 force_send:0
[03-20 13:27:34 TUYA D][lr:0xb7145] is_need_update:0, is_dp_passive:0
[03-20 13:27:34 TUYA D][lr:0xb7439] obj dp rept filtered:105
[03-20 13:27:34 TUYA D][lr:0xb700b] dp<108> check. need_update:0 pv_stat:3 trig_t:0 dp_rept_type:0 force_send:0
[03-20 13:27:34 TUYA D][lr:0xb7027] dp_cntl bool:0, dp_data bool:0
[03-20 13:27:34 TUYA D][lr:0xb7145] is_need_update:0, is_dp_passive:0
[03-20 13:27:34 TUYA D][lr:0xb7439] obj dp rept filtered:108
[03-20 13:27:34 TUYA D][lr:0xb7d93] dp rept_type:0, data:{"16":false,"104":"auto_down"}
[03-20 13:27:34 TUYA E][lr:0xb8eef] dp_report err:-3589
[03-20 13:27:34 TUYA E][lr:0x56755] dev_report_dp_json_async relay_config data error,err_num
[03-20 13:27:34 TUYA D][lr:0x5675b] dp_query report_all_dp_data
[03-20 13:27:35 TUYA N][lr:0x573f5] watermark0:320
[03-20 13:27:35 TUYA N][lr:0x573fd] watermark1:2084
[03-20 13:27:35 TUYA N][lr:0x57405] watermark2:648
[03-20 13:27:35 TUYA N][lr:0x5740d] watermark3:2076
wpa_supplicant_scan
wpa_drv_scan
ht in scan
scan_start_req_handler
wpa_driver_scan_start_cb
[03-20 13:27:36 TUYA D][lr:0xb8a7f] NetWork Unavailable:0
[03-20 13:27:37 TUYA D][lr:0x9949d] close binding periond window!!
[03-20 13:27:37 TUYA E][lr:0xab4b3] dev not on online:5
wpa_driver_scan_cb
Scan completed in 2.344000 seconds
No suitable network found
wpa_supplicant_req_scan
Re: BK7231N&SDK版本2.3.3需要实现仅连接蓝牙的情况下上报dp状态
连上网后断网,不重启,只连接蓝牙,后续都无法蓝牙上报,手动重启以后,只连蓝牙正常上报
Re: BK7231N&SDK版本2.3.3需要实现仅连接蓝牙的情况下上报dp状态
实测断网之后要等一个超时时间才可以正常蓝牙上报,这个超时时间内控制就是只有下发没有上报