0 Replies Latest reply on Sep 8, 2014 2:20 PM by Clayton Hofrock

    Progress with Bluetooth

    Clayton Hofrock

      I have been playing with Bluetooth a lot lately. I have made some progress, but hopefully someone on the forum can help me with the next steps.

       

      I have been able to pair my Edison with both my phone and my Desktop. I am not really sure what the difference is between paired and connected, but I was able to get my desktop to report that it was connected. My phone would not show up as connected.

       

      Once I am connected with my Desktop system, is there a serial console that automatically becomes active? I did not seem to see any new serial consoles, but there are several serial devices listed under /dev.

       

       

       

      Here is what I did to get as far as I did. The Edison starts out having everything Bluetooth turned off, so there are a few steps you have to do even before it can be seen as a Bluetooth device.

       

      NOTE: I am not sure all of these steps are required

       

      1. Unblock the Bluetooth.
        1. >rfkill  unblock Bluetooth
      2. Start Bluetooth control
        1. >bluetoothctl
      3. Start scanning for other Bluetooth devices.
        1. >scan on
        2. This should return a list of Bluetooth Devices that can be seen (you will have to make your devices discoverable)
      4. Set the Edison to be pairable:
        1. >pairable on
      5. Make the Edison Discoverable:
        1. >discoverable on
        2. Now your other devices should be able to see the Edison.
      6. Make the device trusted (not 100% sure what this does)
        1. >trust XX:XX:XX:XX:XX:X
      7. Pair with the device you want to work with:
        1. >pair XX:XX:XX:XX:XX:XX
      8. Connect with the device:
        1. >connect XX:XX:XX:XX:XX:XX

       

       

       

      Some other helpful commands:

      1. >Info XX:XX:XX:XX:XX:XX
        1. This will show you information about the device
      2. >paired-devices
        1. This will show you a list of devices that have been paired with the Edison.