1 Reply Latest reply on Jul 20, 2015 10:12 AM by Intel_Peter

    python SPP-loopback.py & error


      Hi all,

      I got a problem on one Intel Edison.

      The configuration, IE connect on Breakout Board.

      under Putty, I do all the sequence:

              rfkill unblock bluetooth


                  agent KeyboardDisplay


                  scan on

                  pair <Device ID>   

                  connect <Device ID>   

                  discoverable on



              python SPP-loopback.py &

      Then I get message

      [1] 358

      If I do jobs,

      [1]+  Running                 python SPP-loopback.py &

      If I try to used CoolTerm, of course it is not working.


      Is there something that I'm doing wrong?


      Thanks for your support.

      Kind Regards,

        • 1. Re: python SPP-loopback.py & error

          Hello Xavier_xdBGroup,


          I believe the reason why SPP-loopback.py is not working for you is because you are not selecting the rfcomm you want listen. As you mentioned in your post the script is actually running however it is on the background since you used the command "python SPP-loopback.py &". The "&" makes the script run in the background.

          I will provide you a short example on how to connect through SPP to an Android device.


          On Linux's side:


          rfkill unblock bluetooth
          [bluetooth]# agent DisplayYesNo
          [bluetooth]# default-agent
          [bluetooth]# scan on
          # The edison found my BT device
          [bluetooth]# scan off
          [bluetooth]# discoverable on
          [bluetooth]# pair XX:XX:XX:XX:XX:XX
          [agent] Confirm passkey 212348 (yes/no): yes
          [bluetooth]# connect XX:XX:XX:XX:XX:XX
          [bluetooth]# trust XX:XX:XX:XX:XX:XX
          [bluetooth]# quit
          python SPP-loopback.py -C 22


          On Android's side:


          I simply searched a Bluetooth SPP app and installed the first option that appeared.

          I connected to my Edison and was able to see the messages sent.