title: connect android and linux via bluetooth
body: <p>I have made an app android which need to connect to linux system embedded that use rfcomm to connect with the app via bluetooth. More specifically the appa andorid is the Server bluetooth and the embedded linux is the client. I have tried to connect they them but when I exec rfcomm connect rfcomm0, the result is connection refused. my rfcomm.conf file is<br>
  and I have used sdptool browser to know the channel.</p>
  
  <blockquote>
    <h1>RFCOMM configuration file.</h1>
    
    <p>#</p>
    
    <p>rfcomm0{
      # Automatically bind the device at startup
      bind no;</p>
  </blockquote>
  
  <pre><code>&gt;# Bluetooth address of the device
  &gt;device     00:18:30:9C:32:E3;
  
  &gt;# RFCOMM channel for the connection
  &gt;channel    6;
  </code></pre>
  
  <blockquote>
    <p># Description of the connection
      comment "Example Bluetooth device";
    }</p>
  </blockquote>
  
  <p>but when i exec rfcomm connect rfcomm0 the result is
  connection refused</p>
  
  <p>any suggest? </p>