but the device I wish to truely connect to would be like a blue tooth speaker or something link that.
BluetoothServerSocket. " Your previous block doesn't have a server. A video on Youtube helped me to solve this issu
https://www.youtube.com/watch?v=DmtJBc229Rg&t=128s
In the video is used a command which has led me to an error
sudo python setup.py install
„Fatal error: Python.h: no such file or direvtory“
I just had to install a missing package
sudo apt-get install python2.7-dev
Otherwise I did everything exactly as in the video