title: Connecting to other Bluetooth Device by BeeTee app
body: <p>I need to implement a self bluetooth app to connect with all bluetooth devices to iPhone. I know it is not possible with CoreBluetooth framework.</p>
  
  <p>I use private API and added header files of DeviceManager and BluetoothManager to private frameworks and downloaded BeeTee Project from <a href="https://github.com/michaeldorner/BeeTee" rel="noreferrer">here</a> </p>
  
  <p>This app runs and finds all bluetooth device near me but when I have tried to connect to a device by this code:</p>
  
  <pre><code>[self.bluetoothManager connectDevice:bluetoothDevice];
  </code></pre>
  
  <p>and this</p>
  
  <pre><code>[bluetoothDevice connect];
  </code></pre>
  
  <p>When a cell is selected, Both of above codes request to connect but BTM returns this message:</p>
  
  <blockquote>
    <p>BeeTee[5473:60b] BTM: connection to service 0xffffffff on device "Nokia 500" F4:xx:xx:xx:xx:xx failed with error 109</p>
  </blockquote>
  
  <p>What is error 109? Which would be set service number? </p>
  
  <p>I guess I should pair devices before connecting but how can I do that?</p>