You need to run the bluetooth 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
and then restarting bluetooth like this
sudo systemctl daemon-reload sudo systemctl restart bluetooth
and you’ll also have to change permissions on /var/run/sdp