我使用CC2642芯片,SDK 版本simplelink_cc13x2_26x2_sdk_3_10_00_53 做peripheral 时,客户开发的APP 做主设备。客户开发的app在同一台手机上运行时,经常出现快速地和设备建立的3-4 次连接,这时设备协议栈像是卡住了,根本无广播,设备没有死机,应用线程还在正常运行,设备就在也不广播了,除非重启设备。
Adv Set 0 Disabled
enter simple_xx_lockService_CfgChangeCB function.
(CB) ATS_test Svc Char config change paramID(1). Sending msg to app.
Num Conns: 1
connect:0, connHand:0
Connected to 0x8844777FCE0E
CCCD Change msg: xx_lock Service Door_status: Notifications enabled
enter xx_lock_Service_WriteAttrCB function
Adv Set 0 Enabled
enter simple_xx_lockService_CfgChangeCB function.
Adv Set 0 Disabled
(CB) ATS_test Svc Char config change paramID(1). Sending msg to app.
Num Conns: 2
old connect:0, is same MAC
connect:1, connHand:1
Connected to 0x8844777FCE0E
CCCD Change msg: xx_lock Service Door_status: Notifications enabled
Adv Set 0 Enabled
enter xx_lock_Service_WriteAttrCB function
Adv Set 0 Disabled
enter simple_xx_lockService_CfgChangeCB function.
(CB) ATS_test Svc Char config change paramID(1). Sending msg to app.
Num Conns: 3
old connect:0, is same MAC
old connect:1, is same MAC
connect:2, connHand:2
Connected to 0x8844777FCE0E
CCCD Change msg: xx_lock Service Door_status: Notifications enabled
Adv Set 0 Enabled
enter xx_lock_Service_WriteAttrCB function
Adv Set 0 Disabled
enter simple_xx_lockService_CfgChangeCB function.
(CB) ATS_test Svc Char config change paramID(1). Sending msg to app.
Num Conns: 4
old connect:0, is same MAC
old connect:1, is same MAC
old connect:2, is same MAC
connect:3, connHand:3
Connected to 0x8844777FCE0E
CCCD Change msg: xx_lock Service Door_status: Notifications enabled
Adv Set 0 Enabled
Device Disconnected!
Num Conns: 3
delete: connect:2, connHand:2
Device Disconnected!
Num Conns: 2
delete: connect:1, connHand:1