Using Raspberry bluetooth to send message to Andriod Phone
https://blog.csdn.net/pinganddu/article/details/78784522
advertise_service no such file or directory
advertise_service Error
This might help
sdptool is broken in Bluez 5
You need to run the blue tooth daemon in compatibility mode to provide deprecated command line interfaces. You’re running Bluez5 and you need some Bluez4 functions. You can do this by editing this file
/etc/systemd/system/dbus-org.bluez.service
and changing this line
ExecStart=/usr/lib/bluetooth/bluetoothd
to this
ExecStart=/usr/lib/bluetooth/bluetoothd --compat // -C
Error: BluetoothError, 2, no such file and directory
Then adding the Serial Port Profile, executing: sudo sdptool add SP
and th