Re: How to disable cache?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Kenny,

On Wed, Feb 3, 2021 at 9:20 PM Kenny Bian <kennybian@xxxxxxxxx> wrote:
>
> Hello,
>
> In "/etc/bluetooth/main.conf", there seems a way to disable the cache:
> [GATT]
> Cache = no
>
> What does exactly the "disable cache" mean? It means the
> "/var/lib/bluetooth/[MAC_ADDRESS]/cache" folder won't be created?

That means it won't cache any GATT attribute found when discovering,
the cache folder has other information as well.

> We tried to disable the cache by changing the
> "/etc/bluetooth/main.conf". It seems the
> "/var/lib/bluetooth/[MAC_ADDRESS]/cache" folder is still created even
> if it was deleted.
> However, we noticed that the "[Attributes]" section in
> "/var/lib/bluetooth/[MAC_ADDRESS]/cache/[iPHONE_MAC]" file is gone.
> Does it mean the "disable cache" is working? Does it mean the handles
> used between the bluetooth and the mobile app won't be cached?

Yes, that is the result of not caching anything.

-- 
Luiz Augusto von Dentz



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux