On Ubuntu 16.04 I modified /lib/systemd/system/bluetooth.service to show ExecStart=/usr/lib/bluetooth/bluetoothd --compat and then restarted bluetooth but still same error
Traceback (most recent call last):
File "bluetooth_server.py", line 25, in <module>
profiles = [ SERIAL_PORT_PROFILE ]
File "/usr/lib/python2.7/dist-packages/bluetooth/bluez.py", line 176, in advertise_service
raise BluetoothError (str (e))
and service bluetooth status shows:
bluetoothd[27411]: Not enough free handles to register service
bluetoothd[27411]: Not enough free handles to register service
bluetoothd[27411]: Current Time Service could not be registered
bluetoothd[27411]: gatt-time-server: Input/output error (5)
bluetoothd[27411]: Not enough free handles to register service
bluetoothd[27411]: Not enough free handles to register service
bluetoothd[27411]: Sap driver initialization failed.
bluetoothd[27411]: sap-server: Operation not permitted (1)
bluetoothd[27411]: Endpoint registered: sender=:1.51 path=/MediaEndpoint/A2DPSour
bluetoothd[27411]: Endpoint registered: sender=:1.51 path=/MediaEndpoint/A2DPSink
My other bluetooth devices are working.
On Ubuntu 16.04 I modified
/lib/systemd/system/bluetooth.serviceto showExecStart=/usr/lib/bluetooth/bluetoothd --compatand then restarted bluetooth but still same errorand
service bluetooth statusshows:My other bluetooth devices are working.