title: bluetooth pairing and connection from command line
body: <p>I want to connect and pair to available nearby bluetooth devices from command line in linux.
  I have searched through internet, and found that we can pair through <strong>simple-agent</strong>, but it is not available in my device.
  following commands are available in device:
  <strong>hcitool, hciconfig, hcidump, sdptool, l2ping, rfcomm.</strong>
  for connecting to remote device i am running the following command.
  <strong>hcitool cc BD_ADDRESS</strong>
  but above command is connecting the device for a while, and again the device is getting disconnected. in <strong>hcidump</strong> output , i am seeing the disconnection event. Is there anyway in linux command line through which i can test my bluetooth? What can be the reason for device is getting disconnected after a while?</p>