6 Replies Latest reply on Jan 16, 2015 1:42 AM by thom@s

    Can't connect two Edison devices via Bluetooth

    edisondev

      What I'm working with:

      devices: Intel Edison

      operating system: ubilinux

       

      Tools I'm using: bluez-tools (running with bluez-5.24)

       

      I've executed the following commands:

      bt-adapter -d     (to find the bluetooth address of the edison I'm trying to talk to)

      bt-device -c XX:XX:XX:XX:XX:XX     (to pair to the other edison)

      bt-input -c XX:XX:XX:XX:XX:XX          (to connect to the other edison)

       

      It's only after I try to connect that I get the following error message:

      "Input service is not supported by this device"

       

      I've done the research, and made sure that 'input' is not in the list of DisabledPlugins in the file /etc/bluetooth/main.conf


      Before I try to execute bluez-tools commands, I make sure that:

      1) I've unblocked bluetooth using rfkill

      2) I'm running this broadcom patch script in the background:

      /usr/sbin/brcm_patchram_plus --use_baudrate_for_download --no2bytes --enable_lpm --enable_hci --baudrate 3000000 --patchram /etc/firmware/bcm43341.hcd --bd_addr XX:XX:XX:XX:XX:XX /dev/ttyMFD0 &

      3) I've made the edison devices discoverable:

      Hciconfig hci0 piscan

      4) I've enabled simple secure pairing mode:

      Hciconfig hci0 sspmode

       

      I even do some extra things that I'm not even sure apply with this tool:

      1) I register the serial port service:

      sdptool add SP

      2) I bind to rfcomm0:

      rfcomm bind /dev/rfcomm0 XX:XX:XX:XX:XX:XX 3

      (which also means I've modified the rfcomm.conf files as well.)



      I'm so lost, I don't know how I can fix this input service error!