Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Activate Bluetooth SPP in Android?

I am trying to use Bluetooth SPP to communicate over it. In some Android phones, SPP profile is not activated. I faced the problem in the application that SPP was not activated and so the connection could not be established over bluetooth and when I started another app that is 3g hotspot which I think activates SPP and I was able to connect over bluetooth in my app.

So, how can we actually activate SPP profile of bluetooth in Android devices? And does all the android devices has SPP profile?

like image 314
sunil Avatar asked Oct 27 '10 08:10

sunil


1 Answers

In developer.android.com BluetoothSocket:

The most common type of Bluetooth socket is RFCOMM, which is the type supported by the Android APIs. RFCOMM is a connection-oriented, streaming transport over Bluetooth. It is also known as the Serial Port Profile (SPP).

like image 83
jacknad Avatar answered Oct 19 '22 03:10

jacknad