Bluetooth version difference between Chip and Linux Kernel - bluetooth

The Bluetooth dongle(with CSR chip) we have can support BT version 4.0, but the Linux Kernel(2.6.23) running on the host is compatible with only BT version 2.x, will the dongle also be operating at BT ver 2.x?
Can someone please clarify.

Related

Is there a way to run iBeacon on Bluetooth 2.0 compat. device?

So I have a Linux with old BT2.0. I want to use it as iBeacon. Energy consumption is not my concern; the only one is API. Is it possible?
Unfortunately no. iBeacon and beacons in general depend on BLE advertisements, and this was introduced as part of the Bluetooth Low Energy features that are part of BT4.0. The only way around this is if you added a BT4.0 HCI dongle or a Bluetooth v4.0 device to your Linux machine.
You can find more information here:-
5 Things to Know about Beacon Technology
BLE Beacon Technology Made Simple
What are BLE Beacons
Pluggable USB Bluetooth v4.0 Dongle
Best Bluetooth Adapters in 2020
You will also need a relatively new version of Linux in order to have BlueZ support for BLE. Ideally your laptop should be on Linux v4.4 or later, but theoretically this should work from Linux v3.13 onwards. More details are found here:-
Bluetooth Linux Kernel Supported Versions
Checking BLE Capability on Linux

BlueZ 4.101 with kernel 2.6.37

I have custom device which is on kernel version 2.6.37. In this I have BlueZ version 4.98. I would like to create own GATT server with BT820 Blue-tooth USB-HCI dongle which need minimum BlueZ 4.101. So I have cross-compiled BlueZ 4.101. I would like to know do I need to back-port kernel also? I don't find any information related to kernel on BlueZ.

Raspberry pi B+'s usb port is not working after downgrading linux kernel (on raspbian) to 3.10.xx

We need to use bluetooth on Raspberry pi B+ (kernel version : 3.12.25+).
But it didn't work. And after surfing the internet, we found that we need to downgrade a kernel to 3.10.xx
So we did it as it said.
But after downgrading kernel, suddenly usb ports didn't work (Ethernet port didn't work also).
So we couldn't use a bluetooth dongle what we bought.
Please help us for enable usb ports..! (also, how to communicate raspberry pi and other bluetooth devices(for example, HC-06) on latest version of raspbian...(higher than 3.12 kernel vesion))
(Bluetooth Dongle Model : NEXT-204BT)

does linux kernel 2.6.22 support bluetooth 4.0

my project has a hardware with linux kernel 2.6.22 without build-in bluetooth.
recently we want to implement ibeacon so we think it needs bluetooth 4.0 usb dangle.
my question is does linux kernel 2.6.22 support bluetooth 4.0 ?
Because from bluez5.0 website http://lwn.net/Articles/531133/, it says that bluetooth 4.0 is not supported until kernel 3.5 .
so, is it true that without kernel support, we can't just use the bluez5.0 userspace library to control bluetooth4.0 usb dangle?
any feedback is highly appreciated!. Thanks!
Steven Song

Configuring BT support in Linux (Android)

I'm trying bring up Bluetooth over USB support on a new ARM-based Android device. I think I'm missing some magic piece of configuration in order to successfully open a BT socket connection.
BT is provided through a USB dongle (vs. UART in most Android devices)
I can successfully run "hcitool scan" to discover devices.
I can open a socket via libbluetooth in C
When I try to establish an RFCOMM connection the connection, the connection
is refused because an L2CAP connection cannot be established.
Also,
for some OS's, I'm required to approve a pairing. (Older Ubuntu, some flavors of Windows' BT stack.)
the peripheral device doesn't require a PIN, but in some cases I'm requested to provide one. (Windows has asked for this. Older version of Ubuntu has asked for this. It may also be when using BT 2.0 dongles, vs. BT 2.1 and up?).
Bluetooth provided with Ubuntu 10 on my PC requires neither PIN nor pairing.
Am I missing a piece of config that says, i) auto-pair devices, ii) don't request a PIN if none is required?
Is there a guide to this online? Documentation seems limited.

Resources