TI中文支持网
TI专业的中文技术问题搜集分享网站

CC2642R: GATT_Notification 一直返回0x16

Part Number:CC2642ROther Parts Discussed in Thread:BLE-STACK, , SYSCONFIG

工程支持4个设备连接,2个主机和2个从机。CC2642做主机连接了一个设备的情况下,两个手机交替去连接CC2642,重复多次之后,发现调用GATT_Notification接口发数据给手机时,无法发送数据返回0x16,重试多次也一样(每秒重发1次,超过1分钟没恢复)。连接间隔30ms,苹果和安卓手机都有此问题。

SDK:simplelink_cc13x2_26x2_sdk_5_10_00_48

手机型号:苹果13、华为P30 PRO

Nick Sun:

您好,

0x16是blepending,常意味着 BLE-Stack 正忙于执行一些其他过程。您可以提供发生这种情况时候的sniffer log吗?

是否可能是内存问题?我们建议不要使用通知。只需读取和写入数据到从设备即可。

,

RenLI Wang:

并不是内存问题,MAX_NUM_PDU由100改为250、用户任务的堆栈由10k改为20k,现象一样。出现这个问题之后,不断开连接是不能恢复的,不管等多久。出现这个问题之后,做主机调用GATT_WriteNoRsp给从机发数据时也是返回0x16

内存还是足够的

故障时间点为2023-05-25 15:20:05.361

ble_log2.log

[2023-05-25 15:19:16.019]# RECV ASCII>
bncm reset:6
=========================================================================================
GAP Event=0
Scan startup...![2023-05-25 15:19:17.372]# RECV ASCII>
scan device(adv data) -45 2 dcc4
found bond device.scan device(scan rsp) -45 0 dcc4
scan ble name:ZeekrFob100
GAP_EVT_SCAN_DISABLED!
ready to connect 0 01[2023-05-25 15:19:17.549]# RECV ASCII>
start connect: DCC48B9BA8FC[2023-05-25 15:19:18.347]# RECV ASCII>
GAP Event=5
connect success 0->0,08
conn_interval_offset:0
Pair Event: 0 0[2023-05-25 15:19:18.926]# RECV ASCII>
Pair Event: 1 0
Pair Event: 3 0
cent info exists 0 1
Bond save success(central)
GATT_ExchangeMTU already excute. 0
Service discovery start, waitting next process!
Pair Event: 5 0
Pair Event: 4 0[2023-05-25 15:19:19.288]# RECV ASCII>
connInit timeout 0 1 0
GATT_ExchangeMTU. 0
TTCTCMultiRole_GATTMsg 3
method= 3,status= 0,connInitStep= 1
mtu rsp 247
update mtu 244 0 1
Start update param(0) updatestatus(0)!
mtu updated 247
update mtu 244 0 2[2023-05-25 15:19:19.449]# RECV ASCII>
GAP Event=7
param update: min=32,max=32,lat=0,timeout=300 sta:0 handle:0
Notify open req(0)..
TTCTCMultiRole_GATTMsg 19
method=13,status= 0,connInitStep= 3
Notify open success(0)!
Scan startup fail due to all connected...![2023-05-25 15:19:19.803]# RECV ASCII>
ble->mcu: 0 25 0 152[2023-05-25 15:19:20.255]# RECV ASCII>
mcu->ble: 0 22 0 152
GATT_WriteNoRsp ok:0 22 39039[2023-05-25 15:19:20.499]# RECV ASCII>
ble->mcu: 0 25 0 152[2023-05-25 15:19:20.701]# RECV ASCII>
mcu->ble: 0 22 0 152
GATT_WriteNoRsp ok:0 22 39039[2023-05-25 15:19:20.811]# RECV ASCII>
ble->mcu: 0 25 0 152
ble->mcu: 0 25 0 16[2023-05-25 15:19:20.949]# RECV ASCII>
mcu->ble: 0 22 0 20
mcu->ble: 0 22 0 152
GATT_WriteNoRsp ok:0 22 39039
GATT_WriteNoRsp ok:0 22 39039
mcu->ble: 0 22 0 12
GATT_WriteNoRsp ok:0 22 39039[2023-05-25 15:19:21.016]# RECV ASCII>
ble->mcu: 0 25 0 28[2023-05-25 15:19:21.287]# RECV ASCII>
ble->mcu: 0 25 0 44[2023-05-25 15:19:22.211]# RECV ASCII>
mcu->ble: 0 22 0 28
GATT_WriteNoRsp ok:0 22 39039[2023-05-25 15:19:22.369]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:19:23.889]# RECV ASCII>
GAP Event=17
param req: min=160,max=160,lat=0,timeout=300[2023-05-25 15:19:24.368]# RECV ASCII>
GAP Event=7
param update: min=160,max=160,lat=0,timeout=300 sta:0 handle:0[2023-05-25 15:19:26.012]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:19:31.008]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:19:36.009]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:19:41.008]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:19:45.499]# RECV ASCII>
GAP_EVT_ADV_SET_TERMINATED!
GAP Event=5
connect success 1->1,04
conn_interval_offset:1[2023-05-25 15:19:46.012]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:19:46.167]# RECV ASCII>
GAP Event=7
param update: min=40,max=40,lat=0,timeout=500 sta:48 handle:1[2023-05-25 15:19:46.377]# RECV ASCII>
GAP Event=17
param req: min=6,max=6,lat=0,timeout=500[2023-05-25 15:19:46.821]# RECV ASCII>
GAP Event=7
param update: min=6,max=6,lat=0,timeout=500 sta:0 handle:1[2023-05-25 15:19:46.866]# RECV ASCII>
GAP_EVT_ADV_SET_TERMINATED!
GAP Event=5
connect success 2->2,04
conn_interval_offset:2[2023-05-25 15:19:47.018]# RECV ASCII>
connInit timeout 1 1 0
GATT_ExchangeMTU. 1
TTCTCMultiRole_GATTMsg 3
method= 3,status= 0,connInitStep= 1
mtu rsp 247
update mtu 244 1 1
mtu updated 247
update mtu 244 1 4[2023-05-25 15:19:47.418]# RECV ASCII>
GAP Event=17
param req: min=40,max=40,lat=0,timeout=500
mtu updated 247
update mtu 244 2 1
mtu updated 243
update mtu 240 1 4
GAP Event=7
param update: min=40,max=40,lat=0,timeout=500 sta:0 handle:1
jk slave notify 1 7[2023-05-25 15:19:47.517]# RECV ASCII>
jk slave notify 1 14[2023-05-25 15:19:47.579]# RECV ASCII>
mcu->ble: 0 22 0 28
GATT_WriteNoRsp ok:0 22 39039[2023-05-25 15:19:47.704]# RECV ASCII>
ble->mcu: 1 03 1 41
mcu->ble: 1 06 1 25
GATT_Notification ok: 1,06,25[2023-05-25 15:19:47.834]# RECV ASCII>
ble->mcu: 0 25 0 16
ble->mcu: 1 03 1 183
jk slave notify 1 7[2023-05-25 15:19:47.946]# RECV ASCII>
jk slave notify 1 14[2023-05-25 15:19:48.116]# RECV ASCII>
mcu->ble: 1 06 1 182
GATT_Notification ok: 1,06,182
GAP Event=7
param update: min=40,max=40,lat=0,timeout=500 sta:48 handle:1
ble->mcu: 2 03 2 41
mcu->ble: 2 06 2 25
GATT_Notification ok: 2,06,25
ble->mcu: 1 03 1 159
ble->mcu: 2 03 2 183[2023-05-25 15:19:48.170]# RECV ASCII>
mcu->ble: 1 06 1 33
mcu->ble: 1 06 1 46
GATT_Notification ok: 1,06,33
GATT_Notification ok: 1,06,46[2023-05-25 15:19:48.318]# RECV ASCII>
GAP Event=6
dissconnect reson:2,16
invoid handle!
ble->mcu: 1 03 1 56[2023-05-25 15:19:48.399]# RECV ASCII>
mcu->ble: 1 06 1 19
GATT_Notification ok: 1,06,19[2023-05-25 15:19:48.654]# RECV ASCII>
GAP_EVT_ADV_SET_TERMINATED!
GAP Event=5
connect success 2->2,04
conn_interval_offset:2[2023-05-25 15:19:49.098]# RECV ASCII>
mtu updated 247
update mtu 244 2 1[2023-05-25 15:19:49.532]# RECV ASCII>
jk slave notify 1 7[2023-05-25 15:19:49.654]# RECV ASCII>
jk slave notify 1 14[2023-05-25 15:19:49.755]# RECV ASCII>
ble->mcu: 2 03 2 41
mcu->ble: 2 06 2 25
GATT_Notification ok: 2,06,25[2023-05-25 15:19:49.843]# RECV ASCII>
ble->mcu: 2 03 2 183[2023-05-25 15:19:49.952]# RECV ASCII>
mcu->ble: 2 06 2 182
GATT_Notification ok: 2,06,182[2023-05-25 15:19:50.049]# RECV ASCII>
ble->mcu: 2 03 2 159[2023-05-25 15:19:50.148]# RECV ASCII>
mcu->ble: 2 06 2 33
mcu->ble: 2 06 2 46
GATT_Notification ok: 2,06,33
GATT_Notification ok: 2,06,46
ble->mcu: 2 03 2 56[2023-05-25 15:19:50.213]# RECV ASCII>
GAP Event=6
dissconnect reson:1,16
mcu->ble: 2 06 2 19
GATT_Notification ok: 2,06,19[2023-05-25 15:19:51.010]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:19:53.182]# RECV ASCII>
connInit timeout 2 2 0
Start update param(2) updatestatus(0)![2023-05-25 15:19:53.482]# RECV ASCII>
GAP Event=7
param update: min=192,max=192,lat=0,timeout=600 sta:0 handle:2[2023-05-25 15:19:53.680]# RECV ASCII>
GAP_EVT_ADV_SET_TERMINATED!
GAP Event=5
connect success 1->1,04
conn_interval_offset:1[2023-05-25 15:19:54.314]# RECV ASCII>
GAP Event=7
param update: min=40,max=40,lat=0,timeout=500 sta:48 handle:1[2023-05-25 15:19:54.514]# RECV ASCII>
GAP Event=17
param req: min=6,max=6,lat=0,timeout=500[2023-05-25 15:19:54.966]# RECV ASCII>
GAP Event=7
param update: min=6,max=6,lat=0,timeout=500 sta:0 handle:1[2023-05-25 15:19:55.198]# RECV ASCII>
connInit timeout 1 1 0
GATT_ExchangeMTU. 1
TTCTCMultiRole_GATTMsg 3
method= 3,status= 0,connInitStep= 1
mtu rsp 247
update mtu 244 1 1
mtu updated 247
update mtu 244 1 4[2023-05-25 15:19:55.527]# RECV ASCII>
GAP Event=17
param req: min=40,max=40,lat=0,timeout=500
mtu updated 243
update mtu 240 1 4
GAP Event=7
param update: min=40,max=40,lat=0,timeout=500 sta:0 handle:1
jk slave notify 1 7[2023-05-25 15:19:55.628]# RECV ASCII>
jk slave notify 1 14[2023-05-25 15:19:55.751]# RECV ASCII>
ble->mcu: 1 03 1 41
mcu->ble: 1 06 1 25
GATT_Notification ok: 1,06,25[2023-05-25 15:19:55.822]# RECV ASCII>
ble->mcu: 1 03 1 181[2023-05-25 15:19:55.928]# RECV ASCII>
mcu->ble: 1 06 1 181
GATT_Notification ok: 1,06,181[2023-05-25 15:19:56.014]# RECV ASCII>
ble->mcu: 0 25 0 16
ble->mcu: 1 03 1 159[2023-05-25 15:19:56.178]# RECV ASCII>
mcu->ble: 1 06 1 33
mcu->ble: 1 06 1 46
GATT_Notification ok: 1,06,33
GATT_Notification ok: 1,06,46
GAP Event=7
param update: min=40,max=40,lat=0,timeout=500 sta:48 handle:1
ble->mcu: 1 03 1 56[2023-05-25 15:19:56.245]# RECV ASCII>
mcu->ble: 1 06 1 19
GATT_Notification ok: 1,06,19[2023-05-25 15:19:56.330]# RECV ASCII>
ble->mcu: 1 03 1 17[2023-05-25 15:19:56.731]# RECV ASCII>
GAP Event=6
dissconnect reson:2,16[2023-05-25 15:19:57.387]# RECV ASCII>
GAP_EVT_ADV_SET_TERMINATED!
GAP Event=5
connect success 2->2,04
conn_interval_offset:2[2023-05-25 15:19:57.845]# RECV ASCII>
mtu updated 247
update mtu 244 2 1[2023-05-25 15:19:58.212]# RECV ASCII>
ble->mcu: 1 0a 1 32
mcu->ble: 1 0d 1 34
GATT_Notification ok: 1,0d,34[2023-05-25 15:19:58.309]# RECV ASCII>
jk slave notify 1 7[2023-05-25 15:19:58.425]# RECV ASCII>
jk slave notify 1 14[2023-05-25 15:19:58.607]# RECV ASCII>
ble->mcu: 2 03 2 41
mcu->ble: 2 06 2 25
GATT_Notification ok: 2,06,25
ble->mcu: 2 03 2 183[2023-05-25 15:19:58.690]# RECV ASCII>
mcu->ble: 2 06 2 182
GATT_Notification ok: 2,06,182[2023-05-25 15:19:58.783]# RECV ASCII>
ble->mcu: 2 03 2 159[2023-05-25 15:19:58.879]# RECV ASCII>
mcu->ble: 2 06 2 33
mcu->ble: 2 06 2 46
GATT_Notification ok: 2,06,33
GATT_Notification ok: 2,06,46
ble->mcu: 2 03 2 56[2023-05-25 15:19:58.967]# RECV ASCII>
mcu->ble: 2 06 2 19
GATT_Notification ok: 2,06,19
GAP Event=6
dissconnect reson:1,16[2023-05-25 15:20:01.009]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:20:01.195]# RECV ASCII>
ble->mcu: 2 0a 2 32
mcu->ble: 2 0d 2 34
GATT_Notification ok: 2,0d,34
jk slave notify 0 7
GAP Event=6
dissconnect reson:2,13[2023-05-25 15:20:05.361]# RECV ASCII>
GAP_EVT_ADV_SET_TERMINATED!GAP Event=5
connect success 1->1,041:连接句柄1:连接索引4:手机连接conn_interval_offset:1[2023-05-25 15:20:05.858]# RECV ASCII>
mtu updated 247
update mtu 244 1 1[2023-05-25 15:20:06.009]# RECV ASCII>
ble->mcu: 0 25 0 16接收到蓝牙数据:0:连接句柄25:特征句柄(十六进制)	0:	连接索引16:数据长度[2023-05-25 15:20:06.315]# RECV ASCII>
jk slave notify 1 7打开notify,	1:value7:属性句柄[2023-05-25 15:20:06.431]# RECV ASCII>
jk slave notify 1 14[2023-05-25 15:20:06.531]# RECV ASCII>
ble->mcu: 1 03 1 41mcu->ble: 1 06 1 25通过蓝牙发送数据:1:连接句柄6:特征句柄	1:	连接索引25:数据长度GATT_Notification fail: 1 06 22GATT_Notification接口返回错误,1:连接句柄6:特征句柄22:错误码(十进制)
TTCTCMultiRole_tx2profile fail: -4[2023-05-25 15:20:09.411]# RECV ASCII>
ble->mcu: 1 03 1 41
mcu->ble: 1 06 1 25
GATT_Notification fail: 1 06 22
TTCTCMultiRole_tx2profile fail: -4[2023-05-25 15:20:11.000]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:20:12.405]# RECV ASCII>
ble->mcu: 1 03 1 41
mcu->ble: 1 06 1 25
GATT_Notification fail: 1 06 22
TTCTCMultiRole_tx2profile fail: -4[2023-05-25 15:20:15.402]# RECV ASCII>
ble->mcu: 1 03 1 41
mcu->ble: 1 06 1 25
GATT_Notification fail: 1 06 22
TTCTCMultiRole_tx2profile fail: -4[2023-05-25 15:20:16.016]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:20:19.560]# RECV ASCII>
mcu->ble: 1 06 1 46
GATT_Notification fail: 1 06 22
TTCTCMultiRole_tx2profile fail: -4[2023-05-25 15:20:21.006]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:20:26.007]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:20:26.383]# RECV ASCII>
jk slave notify 0 7[2023-05-25 15:20:26.445]# RECV ASCII>
jk slave notify 0 14[2023-05-25 15:20:26.595]# RECV ASCII>
jk slave notify 1 7[2023-05-25 15:20:26.655]# RECV ASCII>
jk slave notify 1 14[2023-05-25 15:20:26.728]# RECV ASCII>
ble->mcu: 1 03 1 41
mcu->ble: 1 06 1 25
GATT_Notification fail: 1 06 22
TTCTCMultiRole_tx2profile fail: -4[2023-05-25 15:20:29.625]# RECV ASCII>
ble->mcu: 1 03 1 41
mcu->ble: 1 06 1 25
GATT_Notification fail: 1 06 22
TTCTCMultiRole_tx2profile fail: -4[2023-05-25 15:20:31.004]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:20:32.629]# RECV ASCII>
ble->mcu: 1 03 1 41
mcu->ble: 1 06 1 25
GATT_Notification fail: 1 06 22
TTCTCMultiRole_tx2profile fail: -4[2023-05-25 15:20:35.626]# RECV ASCII>
ble->mcu: 1 03 1 41
mcu->ble: 1 06 1 25
GATT_Notification fail: 1 06 22
TTCTCMultiRole_tx2profile fail: -4[2023-05-25 15:20:36.005]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:20:41.008]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:20:41.429]# RECV ASCII>
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2[2023-05-25 15:20:42.720]# RECV ASCII>
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2[2023-05-25 15:20:44.023]# RECV ASCII>
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2[2023-05-25 15:20:46.011]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:20:46.567]# RECV ASCII>
jk slave notify 0 7[2023-05-25 15:20:46.629]# RECV ASCII>
jk slave notify 0 14[2023-05-25 15:20:46.694]# RECV ASCII>
jk slave notify 1 7[2023-05-25 15:20:46.754]# RECV ASCII>
jk slave notify 1 14[2023-05-25 15:20:46.851]# RECV ASCII>
ble->mcu: 1 03 1 41
mcu->ble: 1 06 1 25
GATT_Notification fail: 1 06 22
TTCTCMultiRole_tx2profile fail: -4[2023-05-25 15:20:49.720]# RECV ASCII>
ble->mcu: 1 03 1 41
mcu->ble: 1 06 1 25
GATT_Notification fail: 1 06 22
TTCTCMultiRole_tx2profile fail: -4[2023-05-25 15:20:50.530]# RECV ASCII>
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2[2023-05-25 15:20:51.009]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:20:51.763]# RECV ASCII>
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2[2023-05-25 15:20:52.729]# RECV ASCII>
ble->mcu: 1 03 1 41
mcu->ble: 1 06 1 25
GATT_Notification fail: 1 06 22
TTCTCMultiRole_tx2profile fail: -4[2023-05-25 15:20:53.018]# RECV ASCII>
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2[2023-05-25 15:20:55.718]# RECV ASCII>
ble->mcu: 1 03 1 41
mcu->ble: 1 06 1 25
GATT_Notification fail: 1 06 22
TTCTCMultiRole_tx2profile fail: -4[2023-05-25 15:20:56.007]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:20:59.516]# RECV ASCII>
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2[2023-05-25 15:21:00.004]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:21:00.756]# RECV ASCII>
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2[2023-05-25 15:21:01.009]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:21:01.811]# RECV ASCII>
ble->mcu: 0 25 0 44[2023-05-25 15:21:02.012]# RECV ASCII>
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2[2023-05-25 15:21:02.401]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:21:02.605]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:21:06.002]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:21:06.403]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:21:06.755]# RECV ASCII>
jk slave notify 0 7[2023-05-25 15:21:06.818]# RECV ASCII>
jk slave notify 0 14[2023-05-25 15:21:07.111]# RECV ASCII>
jk slave notify 1 7[2023-05-25 15:21:07.182]# RECV ASCII>
jk slave notify 1 14[2023-05-25 15:21:07.294]# RECV ASCII>
ble->mcu: 1 03 1 41
mcu->ble: 1 06 1 25
GATT_Notification fail: 1 06 22
TTCTCMultiRole_tx2profile fail: -4[2023-05-25 15:21:08.519]# RECV ASCII>
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2[2023-05-25 15:21:09.769]# RECV ASCII>
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2[2023-05-25 15:21:10.239]# RECV ASCII>
ble->mcu: 1 03 1 41
mcu->ble: 1 06 1 25
GATT_Notification fail: 1 06 22
TTCTCMultiRole_tx2profile fail: -4[2023-05-25 15:21:11.006]# RECV ASCII>
ble->mcu: 0 25 0 16
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2[2023-05-25 15:21:13.222]# RECV ASCII>
ble->mcu: 1 03 1 41
mcu->ble: 1 06 1 25
GATT_Notification fail: 1 06 22
TTCTCMultiRole_tx2profile fail: -4[2023-05-25 15:21:16.006]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:21:16.205]# RECV ASCII>
ble->mcu: 1 03 1 41
mcu->ble: 1 06 1 25
GATT_Notification fail: 1 06 22
TTCTCMultiRole_tx2profile fail: -4[2023-05-25 15:21:17.331]# RECV ASCII>
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2[2023-05-25 15:21:18.565]# RECV ASCII>
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2[2023-05-25 15:21:19.826]# RECV ASCII>
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2[2023-05-25 15:21:20.997]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:21:23.968]# RECV ASCII>
mcu->ble: 1 06 1 46
GATT_Notification fail: 1 06 22
TTCTCMultiRole_tx2profile fail: -4[2023-05-25 15:21:24.967]# RECV ASCII>
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2[2023-05-25 15:21:26.003]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:21:26.216]# RECV ASCII>
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2[2023-05-25 15:21:27.182]# RECV ASCII>
jk slave notify 0 7[2023-05-25 15:21:27.247]# RECV ASCII>
jk slave notify 0 14[2023-05-25 15:21:27.481]# RECV ASCII>
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2[2023-05-25 15:21:31.003]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:21:32.353]# RECV ASCII>
jk slave notify 1 7[2023-05-25 15:21:32.413]# RECV ASCII>
jk slave notify 1 14[2023-05-25 15:21:32.509]# RECV ASCII>
ble->mcu: 1 03 1 41
mcu->ble: 1 06 1 25
GATT_Notification fail: 1 06 22
TTCTCMultiRole_tx2profile fail: -4[2023-05-25 15:21:35.428]# RECV ASCII>
ble->mcu: 1 03 1 41
mcu->ble: 1 06 1 25
GATT_Notification fail: 1 06 22
TTCTCMultiRole_tx2profile fail: -4[2023-05-25 15:21:36.007]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:21:38.473]# RECV ASCII>
ble->mcu: 1 03 1 41
mcu->ble: 1 06 1 25
GATT_Notification fail: 1 06 22
TTCTCMultiRole_tx2profile fail: -4[2023-05-25 15:21:40.996]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:21:41.403]# RECV ASCII>
ble->mcu: 1 03 1 41
mcu->ble: 1 06 1 25
GATT_Notification fail: 1 06 22
TTCTCMultiRole_tx2profile fail: -4[2023-05-25 15:21:46.004]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:21:51.001]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:21:52.443]# RECV ASCII>
jk slave notify 0 7[2023-05-25 15:21:52.508]# RECV ASCII>
jk slave notify 0 14[2023-05-25 15:21:53.707]# RECV ASCII>
jk slave notify 1 7[2023-05-25 15:21:53.779]# RECV ASCII>
jk slave notify 1 14[2023-05-25 15:21:53.862]# RECV ASCII>
ble->mcu: 1 03 1 41
mcu->ble: 1 06 1 25
GATT_Notification fail: 1 06 22
TTCTCMultiRole_tx2profile fail: -4[2023-05-25 15:21:56.008]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:21:56.832]# RECV ASCII>
ble->mcu: 1 03 1 41
mcu->ble: 1 06 1 25
GATT_Notification fail: 1 06 22
TTCTCMultiRole_tx2profile fail: -4[2023-05-25 15:21:59.765]# RECV ASCII>
ble->mcu: 1 03 1 41
mcu->ble: 1 06 1 25
GATT_Notification fail: 1 06 22
TTCTCMultiRole_tx2profile fail: -4[2023-05-25 15:22:01.007]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:22:02.863]# RECV ASCII>
ble->mcu: 1 03 1 41
mcu->ble: 1 06 1 25
GATT_Notification fail: 1 06 22
TTCTCMultiRole_tx2profile fail: -4[2023-05-25 15:22:03.002]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:22:04.822]# RECV ASCII>
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2[2023-05-25 15:22:05.603]# RECV ASCII>
ble->mcu: 0 25 0 44[2023-05-25 15:22:05.999]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:22:06.129]# RECV ASCII>
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2[2023-05-25 15:22:07.371]# RECV ASCII>
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2[2023-05-25 15:22:11.007]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:22:12.401]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:22:13.198]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:22:13.746]# RECV ASCII>
jk slave notify 0 7[2023-05-25 15:22:13.839]# RECV ASCII>
jk slave notify 0 14
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2[2023-05-25 15:22:14.976]# RECV ASCII>
jk slave notify 1 7[2023-05-25 15:22:15.137]# RECV ASCII>
jk slave notify 1 14
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2
ble->mcu: 1 03 1 41
mcu->ble: 1 06 1 25
GATT_Notification fail: 1 06 22
TTCTCMultiRole_tx2profile fail: -4[2023-05-25 15:22:16.003]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:22:16.320]# RECV ASCII>
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2[2023-05-25 15:22:18.027]# RECV ASCII>
ble->mcu: 1 03 1 41
mcu->ble: 1 06 1 25
GATT_Notification fail: 1 06 22
TTCTCMultiRole_tx2profile fail: -4[2023-05-25 15:22:20.415]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:22:20.808]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:22:21.049]# RECV ASCII>
ble->mcu: 0 25 0 16
ble->mcu: 1 03 1 41
mcu->ble: 1 06 1 25
GATT_Notification fail: 1 06 22
TTCTCMultiRole_tx2profile fail: -4[2023-05-25 15:22:22.599]# RECV ASCII>
ble->mcu: 0 25 0 44
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2[2023-05-25 15:22:23.875]# RECV ASCII>
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2[2023-05-25 15:22:24.034]# RECV ASCII>
ble->mcu: 1 03 1 41
mcu->ble: 1 06 1 25
GATT_Notification fail: 1 06 22
TTCTCMultiRole_tx2profile fail: -4[2023-05-25 15:22:25.117]# RECV ASCII>
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2[2023-05-25 15:22:26.001]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:22:26.396]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:22:26.822]# RECV ASCII>
mcu->ble: 1 06 1 46
GATT_Notification fail: 1 06 22
TTCTCMultiRole_tx2profile fail: -4[2023-05-25 15:22:31.003]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:22:31.425]# RECV ASCII>
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2[2023-05-25 15:22:32.667]# RECV ASCII>
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2[2023-05-25 15:22:33.924]# RECV ASCII>
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2[2023-05-25 15:22:35.082]# RECV ASCII>
jk slave notify 0 7[2023-05-25 15:22:35.138]# RECV ASCII>
jk slave notify 0 14[2023-05-25 15:22:36.003]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:22:40.319]# RECV ASCII>
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2[2023-05-25 15:22:40.995]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:22:41.570]# RECV ASCII>
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2[2023-05-25 15:22:42.835]# RECV ASCII>
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2[2023-05-25 15:22:43.093]# RECV ASCII>
jk slave notify 1 7[2023-05-25 15:22:43.136]# RECV ASCII>
jk slave notify 1 14[2023-05-25 15:22:43.240]# RECV ASCII>
ble->mcu: 1 03 1 41
mcu->ble: 1 06 1 25
GATT_Notification fail: 1 06 22
TTCTCMultiRole_tx2profile fail: -4[2023-05-25 15:22:45.994]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:22:46.236]# RECV ASCII>
ble->mcu: 1 03 1 41
mcu->ble: 1 06 1 25
GATT_Notification fail: 1 06 22
TTCTCMultiRole_tx2profile fail: -4[2023-05-25 15:22:48.466]# RECV ASCII>
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2[2023-05-25 15:22:49.206]# RECV ASCII>
ble->mcu: 1 03 1 41
mcu->ble: 1 06 1 25
GATT_Notification fail: 1 06 22
TTCTCMultiRole_tx2profile fail: -4[2023-05-25 15:22:49.719]# RECV ASCII>
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2[2023-05-25 15:22:50.979]# RECV ASCII>
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2
ble->mcu: 0 25 0 16[2023-05-25 15:22:52.206]# RECV ASCII>
ble->mcu: 1 03 1 41
mcu->ble: 1 06 1 25
GATT_Notification fail: 1 06 22
TTCTCMultiRole_tx2profile fail: -4[2023-05-25 15:22:56.008]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:23:01.008]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:23:03.179]# RECV ASCII>
jk slave notify 0 7[2023-05-25 15:23:03.248]# RECV ASCII>
jk slave notify 0 14[2023-05-25 15:23:05.404]# RECV ASCII>
jk slave notify 1 7[2023-05-25 15:23:05.594]# RECV ASCII>
jk slave notify 1 14
ble->mcu: 1 03 1 41
mcu->ble: 1 06 1 25
GATT_Notification fail: 1 06 22
TTCTCMultiRole_tx2profile fail: -4[2023-05-25 15:23:05.992]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:23:08.506]# RECV ASCII>
ble->mcu: 1 03 1 41
mcu->ble: 1 06 1 25
GATT_Notification fail: 1 06 22
TTCTCMultiRole_tx2profile fail: -4[2023-05-25 15:23:10.988]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:23:11.504]# RECV ASCII>
ble->mcu: 1 03 1 41
mcu->ble: 1 06 1 25
GATT_Notification fail: 1 06 22
TTCTCMultiRole_tx2profile fail: -4[2023-05-25 15:23:14.432]# RECV ASCII>
ble->mcu: 1 03 1 41
mcu->ble: 1 06 1 25
GATT_Notification fail: 1 06 22
TTCTCMultiRole_tx2profile fail: -4[2023-05-25 15:23:16.005]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:23:21.000]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:23:21.696]# RECV ASCII>
jk slave notify 0 7
GAP Event=6
dissconnect reson:1,13[2023-05-25 15:23:26.010]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:23:26.194]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:23:28.020]# RECV ASCII>
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2[2023-05-25 15:23:28.392]# RECV ASCII>
ble->mcu: 0 25 0 44[2023-05-25 15:23:29.318]# RECV ASCII>
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2[2023-05-25 15:23:30.623]# RECV ASCII>
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2[2023-05-25 15:23:31.003]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:23:34.190]# RECV ASCII>
ble->mcu: 0 25 0 44[2023-05-25 15:23:35.987]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:23:37.126]# RECV ASCII>
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2[2023-05-25 15:23:38.382]# RECV ASCII>
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2[2023-05-25 15:23:39.668]# RECV ASCII>
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2[2023-05-25 15:23:40.997]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:23:45.998]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:23:50.118]# RECV ASCII>
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2[2023-05-25 15:23:51.002]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:23:51.368]# RECV ASCII>
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2[2023-05-25 15:23:52.617]# RECV ASCII>
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2[2023-05-25 15:23:55.993]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:23:58.822]# RECV ASCII>
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2[2023-05-25 15:24:00.094]# RECV ASCII>
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2[2023-05-25 15:24:01.007]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:24:01.329]# RECV ASCII>
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2[2023-05-25 15:24:05.999]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:24:10.990]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:24:11.526]# RECV ASCII>
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2[2023-05-25 15:24:12.768]# RECV ASCII>
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2[2023-05-25 15:24:14.036]# RECV ASCII>
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2[2023-05-25 15:24:15.997]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:24:18.392]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:24:21.018]# RECV ASCII>
ble->mcu: 0 25 0 16
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2[2023-05-25 15:24:22.279]# RECV ASCII>
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2[2023-05-25 15:24:23.525]# RECV ASCII>
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2[2023-05-25 15:24:28.389]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:24:29.825]# RECV ASCII>
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2[2023-05-25 15:24:30.999]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:24:31.096]# RECV ASCII>
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2[2023-05-25 15:24:32.382]# RECV ASCII>
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2[2023-05-25 15:24:36.001]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:24:36.837]# RECV ASCII>
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2[2023-05-25 15:24:38.069]# RECV ASCII>
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2[2023-05-25 15:24:39.371]# RECV ASCII>
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2[2023-05-25 15:24:40.995]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:24:41.821]# RECV ASCII>
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2[2023-05-25 15:24:43.124]# RECV ASCII>
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2[2023-05-25 15:24:44.424]# RECV ASCII>
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2[2023-05-25 15:24:45.734]# RECV ASCII>
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2[2023-05-25 15:24:45.995]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:24:46.965]# RECV ASCII>
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2[2023-05-25 15:24:48.226]# RECV ASCII>
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2[2023-05-25 15:24:50.718]# RECV ASCII>
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2[2023-05-25 15:24:50.990]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:24:51.981]# RECV ASCII>
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2[2023-05-25 15:24:53.221]# RECV ASCII>
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2[2023-05-25 15:24:56.433]# RECV ASCII>
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2[2023-05-25 15:24:57.392]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:24:57.720]# RECV ASCII>
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2[2023-05-25 15:24:58.980]# RECV ASCII>
mcu->ble: 0 22 0 28
GATT_WriteNoRsp fail2[2023-05-25 15:25:01.608]# RECV ASCII>
GAP Event=6
dissconnect reson:0,08
retry connect
ready to connect 0 01[2023-05-25 15:25:01.806]# RECV ASCII>
start connect: DCC48B9BA8FC[2023-05-25 15:25:02.628]# RECV ASCII>
TTCTCMULTI_ADV_SWITCH_EVENT 0 1[2023-05-25 15:25:03.452]# RECV ASCII>
TTCTCMULTI_ADV_SWITCH_EVENT 0 1[2023-05-25 15:25:04.267]# RECV ASCII>
TTCTCMULTI_ADV_SWITCH_EVENT 0 1[2023-05-25 15:25:04.805]# RECV ASCII>
GAP Event=21
connect timeout
ready to connect 0 01[2023-05-25 15:25:05.009]# RECV ASCII>
start connect: DCC48B9BA8FC[2023-05-25 15:25:07.897]# RECV ASCII>
GAP Event=5
connect success 0->0,08
conn_interval_offset:0[2023-05-25 15:25:08.713]# RECV ASCII>
Pair Event: 2 0
Encryption success(central)
GATT_ExchangeMTU already excute. 0
Service discovery start, waitting next process![2023-05-25 15:25:09.111]# RECV ASCII>
connInit timeout 0 1 0
GATT_ExchangeMTU already excute. 0[2023-05-25 15:25:09.508]# RECV ASCII>
connInit timeout 0 1 1
GATT_ExchangeMTU already excute. 0[2023-05-25 15:25:09.917]# RECV ASCII>
connInit timeout 0 1 2
GATT_ExchangeMTU already excute. 0[2023-05-25 15:25:10.315]# RECV ASCII>
connInit timeout 0 1 3
GATT_ExchangeMTU already excute. 0[2023-05-25 15:25:10.722]# RECV ASCII>
connInit timeout 0 1 4
GATT_ExchangeMTU already excute. 0[2023-05-25 15:25:11.128]# RECV ASCII>
connInit timeout 0 1 5
mtu/conn abnormal reset[2023-05-25 15:25:11.726]# RECV ASCII>
bncm reset:6
=========================================================================================
GAP Event=0
Scan startup...![2023-05-25 15:25:11.803]# RECV ASCII>
scan device(adv data) -95 2 dcc4
found bond device.GAP_EVT_SCAN_DISABLED!
ready to connect 0 01[2023-05-25 15:25:11.988]# RECV ASCII>
start connect: DCC48B9BA8FC[2023-05-25 15:25:12.308]# RECV ASCII>
GAP Event=5
connect success 0->0,08
conn_interval_offset:0[2023-05-25 15:25:12.466]# RECV ASCII>
Pair Event: 2 0
Encryption success(central)
GATT_ExchangeMTU. 0
Service discovery start, waitting next process!
TTCTCMultiRole_GATTMsg 3
method= 3,status= 0,connInitStep= 1
mtu rsp 247
update mtu 244 0 1
Start update param(0) updatestatus(0)!
mtu updated 247
update mtu 244 0 2[2023-05-25 15:25:12.637]# RECV ASCII>
GAP Event=7
param update: min=32,max=32,lat=0,timeout=300 sta:0 handle:0
Notify open req(0)..[2023-05-25 15:25:12.816]# RECV ASCII>
TTCTCMultiRole_GATTMsg 19
method=13,status= 0,connInitStep= 3
Notify open success(0)!
Scan startup fail due to all connected...![2023-05-25 15:25:13.170]# RECV ASCII>
ble->mcu: 0 25 0 152[2023-05-25 15:25:13.622]# RECV ASCII>
mcu->ble: 0 22 0 152
GATT_WriteNoRsp ok:0 22 39039[2023-05-25 15:25:13.857]# RECV ASCII>
ble->mcu: 0 25 0 152[2023-05-25 15:25:14.056]# RECV ASCII>
mcu->ble: 0 22 0 152
GATT_WriteNoRsp ok:0 22 39039[2023-05-25 15:25:14.165]# RECV ASCII>
ble->mcu: 0 25 0 152
ble->mcu: 0 25 0 16[2023-05-25 15:25:14.263]# RECV ASCII>
mcu->ble: 0 22 0 20
mcu->ble: 0 22 0 152
GATT_WriteNoRsp ok:0 22 39039
GATT_WriteNoRsp ok:0 22 39039[2023-05-25 15:25:14.335]# RECV ASCII>
ble->mcu: 0 25 0 16
mcu->ble: 0 22 0 12
GATT_WriteNoRsp ok:0 22 39039[2023-05-25 15:25:14.418]# RECV ASCII>
ble->mcu: 0 25 0 28[2023-05-25 15:25:14.653]# RECV ASCII>
ble->mcu: 0 25 0 44[2023-05-25 15:25:15.322]# RECV ASCII>
mcu->ble: 0 22 0 28
GATT_WriteNoRsp ok:0 22 39039[2023-05-25 15:25:15.451]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:25:17.210]# RECV ASCII>
GAP Event=17
param req: min=160,max=160,lat=0,timeout=300[2023-05-25 15:25:17.692]# RECV ASCII>
GAP Event=7
param update: min=160,max=160,lat=0,timeout=300 sta:0 handle:0[2023-05-25 15:25:19.544]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:25:22.434]# RECV ASCII>
mcu->ble: 0 22 0 28
GATT_WriteNoRsp ok:0 22 39039[2023-05-25 15:25:22.730]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:25:24.543]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:25:27.131]# RECV ASCII>
ble->mcu: 0 25 0 44[2023-05-25 15:25:28.331]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:25:28.723]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:25:29.540]# RECV ASCII>
ble->mcu: 0 25 0 16[2023-05-25 15:25:32.328]# RECV ASCII>
ble->mcu: 0 25 0 16172'770 bytes of readonlycode memory14'730 bytes of readonlydata memory41'023 bytes of readwrite data memory

抓包数据.rar

,

Nick Sun:

您好,

当 GATT_Notification() 返回 0x16 (blePending) 时,表示 GATT 操作无法发生,通常是因为 GATT 操作的队列已满。队列可能已满,因为与排队速度相比,GATT 操作的执行速度不够快(请参阅 https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/1197903/launchxl-cc26x2r1-notification-returning-0x16)。

在您的情况下,由于 CC2642R 形成 4 个连接(其中 2 个是外设连接),并且由于问题很少重现,因此问题可能是由连接时间引起的。换句话说,在某些情况下,连接操作可能会重叠,并且必须删除某些操作。因此,连接清空 GATT 队列的机会较少,您最终会得到您遇上的行为。为了确定这是否是根本原因,您可以启用 RF observable (或使用Bluetooth sniffer)以查看在某些情况下是否丢弃了某些 RF 操作。

如果我描述的根本原因是您问题的实际根本原因,恐怕最好的解决方法是在检测到问题时关闭连接(即每当函数GATT_Notification 0x16连续返回几次时)并稍后重新建立连接。

我希望这会有所帮助。

,

RenLI Wang:

您好,

出现这个问题时,并没有同时连接4个设备。做主机模式连接了一个设备。做从机模式,两台手机是交互去连接,不是同时连接两台手机,也就是同时只会连接2个设备,您说“删除某些操作”、“清空 GATT 队列”,这个是否有相关的接口可以去操作,比如出现问题时主动去清除

,

RenLI Wang:

还有就是,队列MAX_NUM_PDU目前已经增加到250,了,并且两个设备发送数据的频率都是秒级别的,所以队列满的可能性不大

,

Nick Sun:

您好,

RenLI Wang 说:您说“删除某些操作”、“清空 GATT 队列”,这个是否有相关的接口可以去操作,比如出现问题时主动去清除

如果要执行此类操作,则必须终止连接。

RenLI Wang 说:还有就是,队列MAX_NUM_PDU目前已经增加到250,了,并且两个设备发送数据的频率都是秒级别的,所以队列满的可能性不大

您是否验证了MAX_NUM_PDU值,是否设置正确?此外,您可能需要检查MAX_PDU_SIZE是否设置为与系统要求匹配的值。请注意,MAX_NUM_PDU 和 MAX_PDU_SIZE 都是使用 SysConfig 设置的。

赞(0)
未经允许不得转载:TI中文支持网 » CC2642R: GATT_Notification 一直返回0x16
分享到: 更多 (0)

© 2024 TI中文支持网   网站地图 鲁ICP备2022002796号-1