Re: L2CAP errors on linux while running 6loble


Carles Cufi
 

Any 4.0 dongle should work fine, but maybe  Johan or Luiz can let us know of their favorite ones, since they test more often with dongles than myself.

I personally use the Intel controller that is built into my laptop.

 

Thanks,

 

Carles

 

From: Vakul Garg [mailto:vakul.garg@...]
Sent: 22 November 2017 15:04
To: Cufi, Carles <Carles.Cufi@...>; zephyr-users@...
Subject: RE: L2CAP errors on linux while running 6loble

 

Ok, I will buy a standard dongle for linux controller.

Can you suggest which one to buy?

Is this one ok?

 

https://www.amazon.in/GENERIC-Ultra-Mini-Bluetooth-Dongle-Adapter/dp/B0117H7GZ6/ref=sr_1_2?ie=UTF8&qid=1511359408&sr=8-2&keywords=bluetooth+dongle+for+desktop

 

Regards,

Vakul

 

From: Cufi, Carles [mailto:Carles.Cufi@...]
Sent: Wednesday, November 22, 2017 7:32 PM
To: Vakul Garg <vakul.garg@...>; zephyr-users@...
Subject: RE: L2CAP errors on linux while running 6loble

 

Hi Vakul,

 

The reason I ask is that I’ve seen similar issues with our boards (nRF5x) when we had issues in the HCI flow control.

Is there a chance you can test replacing the Linux controller with a “standard” one (the PTS dongle or any Bluetooth 4.0+ dongle you have) to see which side is introducing the issue?

 

Thanks,

 

Carles

 

From: Vakul Garg [mailto:vakul.garg@...]
Sent: 22 November 2017 14:59
To: Cufi, Carles <Carles.Cufi@...>; zephyr-users@...
Subject: RE: L2CAP errors on linux while running 6loble

 

Hi Carles

 

Thanks for paying attention to this.

I am running latest zephyr from master branch on nxp board frdm_k64f.

The k64f board is connected to another nxp board frdm_kw41z.

Kw41z board runs nxp ble controller firmware (based on freertos).

 

On linux side as well, it is another frdm_kw41z board (connected through usb) acting as ble controller.

 

Regards

 

Vakul

From: Cufi, Carles [mailto:Carles.Cufi@...]
Sent: Wednesday, November 22, 2017 7:15 PM
To: Vakul Garg <vakul.garg@...>; zephyr-users@...
Subject: RE: L2CAP errors on linux while running 6loble

 

Hi Vakul,

 

Could you share a bit more info about the Zephyr endpoint? Which board/chip are you using, what Zephyr version and whether this is a single-chip or dual-chip solution?

Also on the Linux side, what controller are you using? Is it Zephyr-based? If so, which Zephyr version and hardware?

 

Thanks,

 

Carles

 

From: zephyr-users-bounces@... [mailto:zephyr-users-bounces@...] On Behalf Of Vakul Garg
Sent: 22 November 2017 11:24
To: zephyr-users@...
Subject: [Zephyr-users] L2CAP errors on linux while running 6loble

 

Hi

 

I am transferring UDP packets over 6loble link between a zephyr endpoint and linux box.

On my linux box, I see errors:

 

[root@lti ~]# dmesg

[416975.584892] Bluetooth: Too much LE L2CAP data received

[416976.365482] Bluetooth: Too much LE L2CAP data received

[416977.171158] Bluetooth: Frame is too long (len 186, expected len 68)

[416977.566971] Bluetooth: Too much LE L2CAP data received

 

Can someone please provide some hint what could I be doing wrong?

I am using linux kernel version 4.13.12.

 

Regards

 

Vakul

Join users@lists.zephyrproject.org to automatically receive all group messages.