智能生活app可以扫描到设备,但添加设备,log提示没有足够的数据长度
添加设备问题
Re: 添加设备问题
[2024-03-10 20:25:52.798]# RECV ASCII>
[01-01 04:54:57 ty N][lr:0x9b033e3d] Ble Connected
[01-01 04:54:57 ty N][lr:0x9b034465] ble reset sn
[01-01 04:54:57 ty N][lr:0x9b033e53] ble set conn stat:1
16 20 02 17 00 ff 0a 25 00 27 06 01 00 00 08 00 7f
ff 0a 25 00 27 06 01 00 00 08 00 7f 27 06 01 00 00 08 00 7f 0f 04 00 02 16 20
[2024-03-10 20:25:53.110]# RECV ASCII>
13 05 01 17 00 01 00
[2024-03-10 20:25:53.262]# RECV ASCII>
13 05 01 17 00 01 00
[2024-03-10 20:25:53.542]# RECV ASCII>
[01-01 04:54:58 ty N][lr:0x9b02f751] BLE_GAP_EVENT_CONN_UPDATE,0x6,0x0,0x1f4
13 05 01 17 00 01 00 13 05 01 17 00 01 00 13 05 01 17 00 01 00 13 05 01 17 00 01 00 13 05 01 17 00 01 00 13 05 01 17 00 01 00 13 05 01 17 00 01 00 [01-01 04:54:58 ty N][lr:0x9b02f751] BLE_GAP_EVENT_CONN_UPDATE,0x28,0x0,0x1f4
[2024-03-10 20:25:53.931]# RECV ASCII>
13 05 01 17 00 01 00
[2024-03-10 20:25:54.134]# RECV ASCII>
[01-01 04:54:59 ty E][lr:0x9b0348e9] ble recv data len err:50384
[2024-03-10 20:25:55.256]# RECV ASCII>
05 04 00 17 00 13 [01-01 04:55:00 ty N][lr:0x9b02f6fb] BLE_GAP_EVENT_DISCONNECT(0x213)
[01-01 04:55:00 ty N][lr:0x9b033df7] Ble Disonnected
[01-01 04:55:00 ty N][lr:0x9b034465] ble reset sn
[01-01 04:55:00 ty N][lr:0x9b034489] ble clear pair rand
[01-01 04:55:00 ty N][lr:0x9b033e19] ble set conn stat:0
ff 0a 25 00 27 06 00 00 00 08 00 7f
ff 0a 25 00 27 06 00 00 00 08 00 7f 27 06 00 00 00 08 00 7f 0a 20 01 00 0e 04 02 0a 20 00 08 20 20 1f 02 01 06 03 02 50 fd 17 16 50 fd 43 04 00 10 65 61 69 77 64 78 61 32 6a 61 6c 6d 7a 70 73 72 0e 04 02 08 20 00 09 20 20 1f 17 ff d0 07 00 00 0c 08 6f 58 c7 de ba 4c b0 4c c2 83 63 ea 4a 6c 79 67 06 09 54 61 75 72 79 0e 04 02 09 20 00 [01-01 04:55:00 ty N][lr:0x9b05cbb9] Start Adv
06 20 0f 30 00 60 00 00 00 00 00 00 00 00 00 00 07 00 0e 04 02 06 20 00 0a 20 01 01 0e 04 02 0a 20 00 [01-01 04:55:00 ty N][lr:0x9b033739] ble adv updated
- Attachments
-
- chenyisong
- Posts: 124
Re: 添加设备问题
可以查看一下授权码和产品是否对应
Re: 添加设备问题
通过生产工具烧录的,授权码应该不会错吧
Re: 添加设备问题
[01-01 00:08:57 ty N][lr:0x9b033e95] Ble Connected
[01-01 00:08:57 ty N][lr:0x9b0344bd] ble reset sn
[01-01 00:08:57 ty N][lr:0x9b033eab] ble set conn stat:1
16 20 02 17 00 ff 0a 25 00 27 06 01 00 00 08 00 7f
ff 0a 25 00 27 06 01 00 00 08 00 7f 27 06 01 00 00 08 00 7f 0f 04 00 02 16 20
[2024-04-22 23:17:32.291]# RECV ASCII>
13 05 01 17 00 01 00
[2024-04-22 23:17:32.388]# RECV ASCII>
13 05 01 17 00 01 00
[2024-04-22 23:17:32.641]# RECV ASCII>
[01-01 00:08:57 ty N][lr:0x9b02f7a9] BLE_GAP_EVENT_CONN_UPDATE,0x6,0x0,0x1f4
13 05 01 17 00 01 00 13 05 01 17 00 01 00 13 05 01 17 00 01 00 13 05 01 17 00 01 00 13 05 01 17 00 01 00 13 05 01 17 00 01 00 13 05 01 17 00 01 00
[2024-04-22 23:17:32.707]# RECV ASCII>
[01-01 00:08:57 ty N][lr:0x9b02f7a9] BLE_GAP_EVENT_CONN_UPDATE,0x28,0x0,0x1f4
[2024-04-22 23:17:33.119]# RECV ASCII>
13 05 01 17 00 01 00 [01-01 00:08:58 ty E][lr:0x9b0349a3] ble recv data crc check err:0x0000, 0x5d29
[2024-04-22 23:17:34.234]# RECV ASCII>
05 04 00 17 00 13 [01-01 00:08:59 ty N][lr:0x9b02f753] BLE_GAP_EVENT_DISCONNECT(0x213)
[01-01 00:08:59 ty N][lr:0x9b033e4f] Ble Disonnected
[01-01 00:08:59 ty N][lr:0x9b0344bd] ble reset sn
[01-01 00:08:59 ty N][lr:0x9b0344e1] ble clear pair rand
[01-01 00:08:59 ty N][lr:0x9b033e71] ble set conn stat:0
0a 20 01 00 0e 04 02 0a 20 00 08 20 20 1f 02 01 06 03 02 50 fd 17 16 50 fd 43 04 00 10 65 61 69 77 64 78 61 32 6a 61 6c 6d 7a 70 73 72 0e 04 02 08 20 00 ff 0a 25 00 27 06 00 00 00 08 00 7f
ff 0a 25 00 27 06 00 00 00 08 00 7f 27 06 00 00 00 08 00 7f 09 20 20 1f 17 ff d0 07 00 00 0c 08 6f 58 c7 de ba 4c b0 4c c2 83 63 ea 4a 6c 79 67 06 09 54 61 75 72 79 0e 04 02 09 20 00 [01-01 00:08:59 ty N][lr:0x9b05cba9] Start Adv
06 20 0f 30 00 60 00 00 00 00 00 00 00 00 00 00 07 00 0e 04 02 06 20 00 0a 20 01 01 0e 04 02 0a 20 00 [01-01 00:08:59 ty N][lr:0x9b033791] ble adv updated
Re: 添加设备问题
有完整的log文件吗?你的app是什么版本?是涂鸦公版的吗?