3 Replies Latest reply on Jul 23, 2015 2:12 PM by Intel_Peter

    Edison to Android using simple-agent


      I have an Android application that I'd like to connect to my Edison via Bluetooth. I  have connected successfully using a Serial Port Profile, but I've been told that his method will not allow data transfer to the phone from the Edison, although it works the other way around.


      So I am using a simple-agent script and I believe I am very close to connecting succesfully.

      This is what happens when I set up Bluetooth on my Edison and run the script:

      # ./simple-agent &

      # Agent registered

      (Then I turn on bluetooth on my phone and select the Edison from the list)

      # AuthorizeService (/org/bluez/hci0/dev_xx_xx_xx_xx_xx_xx, <UUID>)


      And then my Android application tells me that the phone was unable to connect. At one point, Putty even displayed a confirmation to connect after the "AuthorizeService" line, but when I typed in yes, my phone had already told me that the connection had failed. I'm not sure where to go from here.


      I'm running Yocto verson 2.0 and downloaded the bluezutils.py and simple-agent from version 5.24.