Thread (5 messages) flat view 5 messages, 3 authors, 2021-08-25

Re: [PATCH BlueZ] device: Remove GATT Attribute when device is removed

From: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
Date: 2021-08-25 21:16:29

Hi David,

On Wed, Aug 25, 2021 at 10:44 AM David Lechner [off-list ref] wrote:
On 8/24/21 5:52 PM, Luiz Augusto von Dentz wrote:
quoted
From: Luiz Augusto von Dentz <redacted>

This makes the GATT Attribute cache to be removed when device is removed
just like SDP ServiceRecords.

Fixes: https://github.com/bluez/bluez/issues/191
---
Tested-by: David Lechner <david@lechnology.com>

But wouldn't it be better to just delete the file altogether?
This would prevent any future sections from being forgotten to
be removed as well.

I sent an alternative patch that does this: "device: delete
cache file when device is removed"
We do like to keep some details such as the name, etc.

-- 
Luiz Augusto von Dentz
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help