8 Replies Latest reply on Oct 9, 2015 2:00 PM by diogofu

    PyBluez on the Edison

    NX01

      I have installed PyBluez on my Edison using pip and it seems to work, however when I run the rfcomm-sever example found here it gives me this error:

       

      Traceback (most recent call last):

        File "bt.py", line 20, in <module>

          profiles = [ SERIAL_PORT_PROFILE ],

        File "/usr/lib/python2.7/site-packages/bluetooth/bluez.py", line 242, in advertise_service

          raise BluetoothError (str (e))

      bluetooth.btcommon.BluetoothError: (2, 'No such file or directory')

       

      I have tried running the exact same code on my windows PC and it works perfectly.

       

      I have also followed the instructions from the link below and they worked

       

      IoT - Connecting the Intel® Edison board to your Android* Phone with Serial Port Profile (SPP) | Intel® Developer Zone