title: GATT over SPP profile for bluetooth communication?
body: <p>This is confusing me for days.</p>
  
  <p>In the beginning when I was implementing the functionality, I used <a href="https://developer.android.com/reference/android/bluetooth/BluetoothGatt.html" rel="noreferrer">GATT profile</a> 
  for BLE bluetooth communication.</p>
  
  <p>Then I came up with <a href="http://developer.android.com/reference/android/bluetooth/BluetoothSocket.html" rel="noreferrer">BluetoothSocket</a>. This uses the SPP profile for bluetooth communication.</p>
  
  <p>There is mentioned:</p>
  
  <blockquote>
    <p>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).</p>
  </blockquote>
  
  <p>My requirement is -</p>
  
  <p>1) To scan and then connect my android device with the Black Box using BLE bluetooth.</p>
  
  <p>2) Then initiate communication. The bytes will be sent between both.</p>
  
  <p>Any ideas ?</p>