This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2642R: GATT_Notification always returns 0x16.

Part Number: CC2642R
Other Parts Discussed in Thread: SYSCONFIG

Hi team,

Here's the reply from the customer:

The project supports 4 device connections, 2 masters and 2 slaves. When the CC2642 is used as the master and connected to one device, two mobile phones alternately connect to the CC2642.

After repeated times, it is found that when calling the GATT_Notification to send data to the mobile phone, the data cannot be sent and returns 0x16. (1 time per second, no recovery for more than 1 minute). The connection interval is 30ms, and both Apple and Android phones have this problem.

SDK: simplelink_cc13x2_26x2_sdk_5_10_00_48

Mobile phone model: Apple 13, Huawei P30 PRO

MAX_NUM_PDU is changed from 100 to 250, and the customer stack is changed from 10k to 20k. The phenomenon is the same. 

After this problem occurs, it cannot be recovered without disconnecting the connection, no matter how long to wait. After this problem occurs, when the master calls GATT_WriteNoRsp to send data to the slave, it also returns 0x16. Memory is still enough.

The fault time point is 2023-05-25 15:20:05.361

[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,04						1:连接句柄		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:value		7:属性句柄

[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 41							
mcu->ble: 1 06 1 25							通过蓝牙发送数据:1:连接句柄		6:特征句柄	1:	连接索引 	25:数据长度	
GATT_Notification fail: 1 06 22				GATT_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 16




  172'770 bytes of readonly  code memory
   14'730 bytes of readonly  data memory
   41'023 bytes of readwrite data memory

capture data.rar

Can you please check this case?

Thanks and Regards,

Nick

  • Hi Nick,

    When GATT_Notification() returns 0x16 (blePending) it means the GATT operation could not occur, generally because the queue of GATT operation is full. The queue may be full because the GATT operations are not executed fast enough compared to the pace they are enqueued (see https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/1197903/launchxl-cc26x2r1-notification-returning-0x16).

    In your case, as the CC2642R forms 4 connections (and 2 of those are peripheral connections), and as the issue is only rarely reproduced, the issue might be caused by the timing of the connections. Said differently, in certain cases, the connection operations may overlap, and some of the operations have to be dropped. As a consequence, the connection has less opportunities to empty the GATT queue and you end up with the behavior described.
    In order to identify whether this is the root cause, you can enable the RF observable (or use a Bluetooth sniffer) to see if some RF operations are dropped in certain cases.

    In case, the root cause I describe appears to be the actual root cause of your issue, I am afraid the best workaround will be to close the connection whenever the problem is detected (i.e. whenever the function GATT_Notification returns 0x16 a couple of consecutive times) and re-establish it later.

    I hope this will help,

    Best regards,

  • Hi Clément,

    Thanks for your quick and helpfui reply. Here's the further reply from customer:

    When this issue occurred, four devices were not connected simultaneously. Connected a device in master mode. In slave mode, two mobile phones are connected interactively, not simultaneously, which means only two devices will be connected at the same time. You said "delete certain operations" or "clear GATT queue". Is there a relevant interface to operate this, such as clearing when there is a problem?

    What's more, MAX_ NUM_ PDU of queue has now increased to 250, and the frequency of sending data from both devices is at the second level, so the probability of the queue being full is not high.

    Thanks and Regards,

    Nick

  • Hi Nick,

    You are welcome.

    You said "delete certain operations" or "clear GATT queue". Is there a relevant interface to operate this, such as clearing when there is a problem?

    I am not sure where I suggested to "delete certain operations" or "clear GATT queue". But, if you want to do this, you have to terminate the connection.

    MAX_ NUM_ PDU of queue has now increased to 250, and the frequency of sending data from both devices is at the second level, so the probability of the queue being full is not high.

    It would be interesting to ask the customer how they set-up the MAX_NUM_PDU value and verify it is properly done. In addition, you may want to double check the MAX_PDU_SIZE is set to a value matching the system's requirements. Note that both MAX_NUM_PDU and MAX_PDU_SIZE are meant to be setup using SysConfig.

    I hope this will help,

    Best regards,