title: changing baud rate on bluetooth SPP connection
body: <p>I have the requirement to collect bluetooth data from a remote bluetooth device at the rate of 1.15k with bluetooth SPP. I connect to the remote device as follows.</p>
  
  <pre><code>try {
    tmp = device.createRfcommSocketToServiceRecord(MY_UUID);
  } catch (IOException e) {
    Log.e(TAG, "create() failed", e);
  }
  mmSocket = tmp;
  }
  
  public void run() {
    Log.i(TAG, "BEGIN mConnectThread");
    setName("ConnectThread");
    // Always cancel discovery because it will slow down a connection
    mAdapter.cancelDiscovery();
    // Make a connection to the BluetoothSocket
    try {
      // This is a blocking call and will only return on a
      // successful connection or an exception
      mmSocket.connect();
    } catch (IOException e) {
      connectionFailed();
      // Close the socket
      try {
        mmSocket.close();
      } catch (IOException e2) {
        Log.e(TAG, "unable to close() socket during connection failure", e2);
      }
  </code></pre>
  
  <p>The connection request to the remote device is successful and I can receive the data at the default baud rate of 9600bps.</p>
  
  <p>But when I change the sending baud rate on the remote bluetooth adapter device to 1.15kbps, my application does not receive any packet on bluetooth. As I mentioned above, I have tried the suggestion of <a href="https://stackoverflow.com/questions/5576237/android-bluetooth-serial-rfcomm-spp-how-to-change-the-baud-rate">this post</a>.</p>
  
  <p>Is there anything I am missing out? Is it true that I do not need to do anything in my application to change the baud rate? Does RFComm channel adjust the baud rate automatically?</p>
  
  <p>I am using Android 2.1-update1 platform.</p>
  
  <p>Regards,
  Jagmeet</p>