A Python script running on Raspberry Pi 3 to receive commands (SSID & password) from / send executed results to an Android Device over bluetooth. Bluetooth-RPi-Python is used with this Android App: Bluetooth-RPi
Open terminal, install softwares:
sudo apt-get update
sudo apt-get install bluez minicom
sudo apt-get install bluez-utils
Open terminal, edit this file
sudo nano /etc/systemd/system/dbus-org.bluez.service
Add -C at the end of the ExecStart= line, to start the bluetooth daemon in 'compatibility' mode. Add ExecStartPost=/usr/bin/sdptool add SP immediately after that line, to add the SP Profile. The two lines should look like this:
ExecStart=/usr/lib/bluetooth/bluetoothd -C
ExecStartPost=/usr/bin/sdptool add SP


