Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp849791pxb; Wed, 3 Feb 2021 21:20:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJxbqltGNIyYnOhFmI8u+EeSRHpi+EIKuIsJn6yy8p4N1duyxAnfREubBjARpvUhc2Yf+02D X-Received: by 2002:a17:906:1308:: with SMTP id w8mr6305842ejb.396.1612416015846; Wed, 03 Feb 2021 21:20:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612416015; cv=none; d=google.com; s=arc-20160816; b=q29cvXwx6YeDaTm0dovnBxI8SDpenMQ+Pn6PHszq7I4aOKQD73a8HnY5yooSrddrZp 4j2MYd/5iMINXoj/GLfmkrPDaIb1G36GRHsEx+N/ShowL7ouCc7Iy6u/wXCwMZRiwL8u JMP/ZxUsIKMqwOVmyhTJt0ZMHNPCNExnIydIUn0bda5Ott7sZc1+jP8p3/izKslITPZI AashUUzVbC2CKYEzKAMfhy7dplccn4CNwE6bAfY0ihsXGdxbPczJA7rIOo888Di9/erE PjqRCZjctuSH5DIwAygrZq+mI6z2K5DCpAaxxGVFjbgaypExAmJiN9aSH1lMPhXsqnBR YjvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:subject:message-id:date:from:mime-version :dkim-signature; bh=fBDSancv4Z7n+5iAPrGDSQxTXPZCFUyduSA9pZkH7Gg=; b=SGUQp6KZyqN/gT2do3cVfDKIH0kYODO/w5xsAQpmKcTQXOWHH+UfmcpeaWYdm3NiPY mdRJFO7f37vklriLxYazQr/x9Ovnr0iCJIz4ve8PtScE1RZZechuHsAhqEDcJOv6peJI /d8Ziduj/61ih8xgGz+ZBkfh23ULY3VbeKYR6vPYhWmN0re+iTOxIDhukn4j47KsPHA7 daUUNVEPWSsNb9jh1Ld9WBgz34RQfbDO2dYcaQdrZugC4ENFUH5kH/8wTMbwAtV3OXuo LNJEjAfsVns+pKbnI2GW85chmTTsphdzSwDi8s1i8BsEIXMaz2dKmH6z+SZWah5GkyvK duRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=HulFc6a3; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dp17si2265536ejc.439.2021.02.03.21.19.27; Wed, 03 Feb 2021 21:20:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=HulFc6a3; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230001AbhBDFRu (ORCPT + 99 others); Thu, 4 Feb 2021 00:17:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48914 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229806AbhBDFRu (ORCPT ); Thu, 4 Feb 2021 00:17:50 -0500 Received: from mail-qk1-x72d.google.com (mail-qk1-x72d.google.com [IPv6:2607:f8b0:4864:20::72d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 44753C0613D6 for ; Wed, 3 Feb 2021 21:17:10 -0800 (PST) Received: by mail-qk1-x72d.google.com with SMTP id x81so2297394qkb.0 for ; Wed, 03 Feb 2021 21:17:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=fBDSancv4Z7n+5iAPrGDSQxTXPZCFUyduSA9pZkH7Gg=; b=HulFc6a3biWks1bdAtNDF8/u1E2Y+7A9N0+wrH3Phs1W3btpLhd6YRsYa1urAf1x6+ H93RmlJ39M1aTvtzOwBmw5XDl10qn1HsTZXbz+NrVbu+iPxvrJtyB/c7orFOSh/jbn8T nWpQ5I6tmrV/sH9FJVeRSyg8uPvrNd9Ve4NggBwVZe5FQbVaw1tBTr7Op2kx62UB1O0C 4ts7aU8pZJDqsNFkhFu6jCMKNa+m/UF/fR24JAQ1NjuhSE/aIicjcrJiwVu50Qqyksur pv2yhCQypqKzCOtGrPn1cG+UCUF9RR5whI02PYPhszLI+IdHCh9qAglwXCoIusrjUTDQ Dc8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=fBDSancv4Z7n+5iAPrGDSQxTXPZCFUyduSA9pZkH7Gg=; b=X+iQYiXJevmFyIz5Uf/sLzm05B4RdDCp921hIaCjmmH3EvCSLpu8czhbVgUpQJzdZv sYPZkT86Ii1eQhNqd0teyrFwSIHWn2hwXYvGmO+nRWXZBSTrKX9vCvzhtq5iacU6ikH9 97iEkOIvSsfdKavAL3tnMgZW0lg8fwcPpEHl7PjVYkMgAb/oxga6usHUzEVJUvQqWHol lf0Ntfr8WaJzzhXsTbq7F0hu6Tfpp7aNE8owe3aSq/C3mK7ZgQiyujqjAzdDQDwSHB3k b2A1aZ28NTBe4Lz/4j/4w+hdHzCYYQ0i9TDgof9DvgJ8foWt03bEGaubLqTi2ZQn/PTJ QUsw== X-Gm-Message-State: AOAM5316gR52h7+qyihMSPVFIkzdVIc084o9iLkc7d3gI6n8E1koUYZF LmDemHoY5HfmX8LwdF+BPw5HCXULhH4SEsKPzV+85AJWZAxP X-Received: by 2002:a37:6897:: with SMTP id d145mr6094137qkc.168.1612415829303; Wed, 03 Feb 2021 21:17:09 -0800 (PST) MIME-Version: 1.0 From: Kenny Bian Date: Wed, 3 Feb 2021 21:16:58 -0800 Message-ID: Subject: How to disable cache? To: linux-bluetooth@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org 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? 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? Thanks!