How to enable high speed Bluetooth (3.0 + HS or 4.0) in Android?

So, I have a BT client and a server application on two Android 4.0 and Android phones. The server is waiting for a connection through

BluetoothServerSocket serverSocket = mBluetoothAdapter.listenUsingRfcommWithServiceRecord(SDP_NAME, UUID.fromString(SDP_UUID)); 

and the client connects to it through

 socket = device.createRfcommSocketToServiceRecord(UUID.fromString(SDP_UUID)); 

Then, using AsyncTask, I send data in an endless loop from client to server.

 byte[] buffer = new byte[4096]; outputStream.write(buffer); 

I calculated the speed and got about 230 Kb / s, which is 2.1 Mb / s, which offers Bluetooth EDR. How to send data via Bluetooth HS (24 Mbps)?

+5
android bluetooth
source share
2 answers

BT 3.0 + HS is a scheme where high speeds are achieved through the actual use of the physical Wifi layer. Thus, it only works if you have suitable BT / Wifi combo chips that support it, which is actually not very common. Having a 4.0 device does not mean that it does 3.0 + HS, it just means that it can use BT Low Energy, which is a low data rate.

+2
source share

I understand that Google did not open the API necessary to control the function built into the 4.0 chips. Since the functionality works on laptops and various Windows OSs, it is possible that the mobile window OS is closer or is able to work with a software patch. I believe that the priority for Google is to work with the battery up to HS.

I also believe that wireless carriers did not seek a free high-speed connection, which led to damage from software development.

0
source share

All Articles