Quantcast
Channel: 蓝牙论坛 - 最近的话题
Viewing all articles
Browse latest Browse all 7485

总是断开连接是什么情况?

$
0
0

使用btool连接从机,连接上以后使用discovery char by uuid 之后,连接就断开了,原因是超时。为什么?

下面是收到的数据

[1] : <Rx> - 01:24:01.859
-Type  : 0x04 (Event)
-EventCode : 0xFF (HCI_LE_ExtEvent)
-Data Length : 0x06 (6) bytes(s)
 Event  : 0x0509 (ATT_ReadByTypeRsp)
 Status  : 0x14 (Can't Perform Function When Not In A Connection)
 ConnHandle : 0x0000 (0)
 PduLen  : 0x00 (0)
Dump(Rx):
04 FF 06 09 05 14 00 00 00
------------------------------------------------------------------------------------------------------------------------
[2] : <Info> - 01:24:01.875
Device Disconnected
Handle = 0x0000
Addr Type = 0x00 (Public)
BDAddr = 88:33:14:DD:8A:63
------------------------------------------------------------------------------------------------------------------------
[3] : <Rx> - 01:24:01.875
-Type  : 0x04 (Event)
-EventCode : 0xFF (HCI_LE_ExtEvent)
-Data Length : 0x06 (6) bytes(s)
 Event  : 0x0606 (GAP_TerminateLink)
 Status  : 0x00 (Success)
 ConnHandle : 0x0000 (0)
 Reason  : 0x08 (Supervisor Timeout)
Dump(Rx):
04 FF 06 06 06 00 00 00 08
------------------------------------------------------------------------------------------------------------------------


Viewing all articles
Browse latest Browse all 7485

Trending Articles