Re: LE pair disconnected
Chettimada, Vinayak Kariappa
Sorry, I am not able to try out your usecase on Bluez, as it has been quite sometime that I have been using with Bluez, due to my priorities, you may have to wait or ask someone else on the maillist to investigate the reasons for the host to disconnect the link.
I am suspecting that you are not running at client that subscribes to a service, and hence the lost host decides to disconnect the idle link.
From: Tommy Lin (林志聰) <Tommy.Lin@...>
Sent: 13 March 2019 08:41
To: Chettimada, Vinayak Kariappa <vinayak.kariappa.chettimada@...>; Isaac Chen (陳尚航) <Isaac_Chen@...>; Ryan Erickson <Ryan.Erickson@...>; Jamie Mccrae <Jamie.Mccrae@...>; zephyr-devel@...
Cc: Hanyu.Hsu@...; Ryan Hsu (徐振鋒) <Ryan.Hsu@...>
Subject: RE: [Zephyr-devel] LE pair disconnected
sorry to bother you again.
In your experience , what reason will cause “CONNECTION TERMINATED BY LOCAL HOST”
> HCI Event: Disconnect Complete (0x05) plen 4
Status: Success (0x00)
Reason: Connection Terminated By Local Host (0x16)
@ MGMT Event: Device Disconnected (0x000c) plen 8
LE Address: 7A:03:05:31:E7:E6 (Resolvable)
Reason: Connection terminated by local host (0x02)
From: Tommy Lin (林志聰)
btmon logs has been put in Attachment.
From: Chettimada, Vinayak Kariappa [mailto:vinayak.kariappa.chettimada@...]
Could you please provide the btmon HCI logs?
"Isaac Chen (陳尚航)" <Isaac_Chen@...>
Hi Zephyr team,
We can find this issue on nRF51 DK and our custom board with zephyr source code(samples/bluetooth/hci_uart). Could you give us your advice on how to solve this issue?
Quanta Computer Inc.
Business Unit 11 BL1
Tel : +886-3-327-2345 Ext : 17585
This transmission is intended only for the use of the addressed recipient and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the intended recipient, any use of this communication is strictly prohibited. If you have received this communication in error, please kindly notify the sender and delete this message immediately.
Hi Ryan Erickson,
We use zephyr source code(samples/bluetooth/hci_uart) , and type following commands:
After then , we can find out device(named “2019bt”) in our phone , and we can pair it.
But “2019bt” will be disconnected after about two second at connected.
Could you give us some suggestions