2019-07-19 09:23:26

by Alan Martinovic

[permalink] [raw]
Subject: Clear cache via d-bus or disable it

Hi,
up until now, I'd clear the BlueZ cache by executing:
sudo rm /var/lib/bluetooth/*

that would give me a clean start without a need to
restart the service.

However I'm hoping to shift this so that it doesn't need
sudo. Is there an alternative to do this via d-bus?

Have tried:
bluetoothctl remove "*"

but that doesn't clean the cache.

Or as an alternative, it possible to disable the cache all together?

Version is: BlueZ 5.50

Be Well,
Alan