Thread (1 message) 1 message, 1 author, 2021-05-12

Re: Unable to establish ble connection between Raspberrypi4B and Laptop

From: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
Date: 2021-05-12 20:21:49

Hi Nagesh,

On Wed, May 12, 2021 at 11:03 AM nagesh shamnur
[off-list ref] wrote:
Thanks for the reply. Is there any way i can avoid this problem and make the connection successful?

Yes you can register a profile, what were you planning on doing with
the connection? Even a serial port profiles would do but one of the
side would have to register it.
On Wed, 12 May 2021 at 23:31, Luiz Augusto von Dentz [off-list ref] wrote:
quoted
Hi Nagesh,

On Wed, May 12, 2021 at 6:46 AM nagesh shamnur [off-list ref] wrote:
quoted
Hi All,
 I am unable to establish a ble connection between my Raspberrypi4B
and Laptop. Configuration is as below:

Laptop: Ubuntu-20.04.2 LTS, bluez version: 5.53 Raspberrypi4B:
Ubuntu-21.04 bluez version: 5.56

Bluetoothctl logs @Raspberrypi4B: as attached

btmon logs @Raspberrypi4B: as attached

I see in the btmon output, always connection is terminated but no
reason is present which specifies the cause for it.

Initially I was using Ubuntu 20.04.2 LTS on my Raspberrypi4b which I
later upgraded to 21.04 but still no luck. Couple of posts pointed to
bug in bluez which was pretty old and i am assuming would have already
fixed in the bluez 5.56 version.

Can someone help me in resolving this issue?
There doesn't seem to be any L2CAP channels left which means no
profile was able to connect which causes the ACL Link to drop since
there is no use for it.


--
Luiz Augusto von Dentz


-- 
Luiz Augusto von Dentz
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help