Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp593770pxb; Thu, 26 Aug 2021 09:49:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyqs4NaFexkkdMBq2B2CYRy+lSohVLMKx7ixGpbRqdnJlPKoOYPYDKnMyxddkgcEPDoaxsB X-Received: by 2002:a17:906:f111:: with SMTP id gv17mr5270961ejb.315.1629996550132; Thu, 26 Aug 2021 09:49:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629996550; cv=none; d=google.com; s=arc-20160816; b=BxBggipKGbT8F2/9mZJEZGDITvebmjMBR+48iGQMLLp98Uru75nes+oORXa18lNXEU uOi+61+CxWK1D9r5Pc7Y9eZ7gX5BX9cvehV92lTprUgy8MMxhFik3z9UemwEjorACXpn uzZm9g6al8OPHRrk3YN0+ltOYI/GlcCFNado/Z9llsXI+JQdpz9uCYlg7Ly37PjCYBqQ dsaLoLDWmu5sqsjSTyYGH81RbJCexjxh0u97qS/iGuVWPdHsU+RXwF/T2k2mmj7CQRnL /No/J2A19GbrxSpUVdKrBsJgLuGNNOEmWhBv4GFPFhHmJlI0pRWyhK4RD7mKCClXXNl+ JykA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=JrTj3ZaBGeOfLa1monJNJIeXFMDm+vsbTWa5wx/+tTk=; b=tfPpKMDX5PcdJeK4osgvm0FvsRsKaQSVTPjv49qU/rmqcg+wOt6vz5PEoC1AKqfnO0 ueUn7wrE5cWP1VnPxxJ9R1NLcEiGb8XcTeBxRc4YerUr17kQPpuQZQKikbHvRD/phZaK D20gtkBgN1/HWJh4YK4/a+xhr+jtClnP21UKbQGI6H2FoSqd4NIeZwS782cA4vzdnRCI JEl5w072x+aGD8wcb+R4CDWi220BiFo/jLja2AAzGSiisIlLQ8Zat4AVBu5Li0LegXbC DDGl1r2A7qG46sccxtkDjiONWH9gzW2k/OrekfRyPr2dj29w/x3CmoH/2ZUwmj5CN+DH PhWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lechnology.com header.s=default header.b=JdSaxKru; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bl4si4124840ejb.689.2021.08.26.09.48.42; Thu, 26 Aug 2021 09:49:10 -0700 (PDT) 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=fail header.i=@lechnology.com header.s=default header.b=JdSaxKru; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242967AbhHZQs1 (ORCPT + 99 others); Thu, 26 Aug 2021 12:48:27 -0400 Received: from vern.gendns.com ([98.142.107.122]:56290 "EHLO vern.gendns.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229810AbhHZQs1 (ORCPT ); Thu, 26 Aug 2021 12:48:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lechnology.com; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=JrTj3ZaBGeOfLa1monJNJIeXFMDm+vsbTWa5wx/+tTk=; b=JdSaxKru8OUuK7e4c1VKR0YB6N boSL7VtmUrNEwy+QXWtVuq9+yAZ1gqW4kYphoaAiq4qpEblAR8NZG1CS4ShOT7NeN3LpXbbuft6eM RUgAoSfb2FGTVWWRvneHlEfrsVrJ4BcXLxb5vcv5iOvykMYG7Ll12YEW4oasnXMNlZYdfTec/0fSH QBEqDx0KIrALk3B1A650UOk2n2NTwY+9X40nXS+qOZb7bkrmHt9U2je+nq0veEIQ53qoEi/ehI3iS V1BYP7hEM9thWGKBe0eUb48EjAElI2bnYUATEB/Hr8qUVyn0nrlU17hGFxddTN/GFskCXdR/ua3D5 Uq0JXj+g==; Received: from 108-198-5-147.lightspeed.okcbok.sbcglobal.net ([108.198.5.147]:57298 helo=[192.168.0.134]) by vern.gendns.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1mJIXH-0008LX-Ah; Thu, 26 Aug 2021 12:47:38 -0400 Subject: Re: AW: [PATCH BlueZ v2 1/2] device: clear eir_uuids list on disconnect To: Eisenkolb Thomas , "linux-bluetooth@vger.kernel.org" Cc: Luiz Augusto von Dentz References: <20210825165125.2675544-1-david@lechnology.com> <20210825165125.2675544-2-david@lechnology.com> From: David Lechner Message-ID: <88edfef4-404d-4baf-cf0a-1b1a888399f5@lechnology.com> Date: Thu, 26 Aug 2021 11:47:37 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - vern.gendns.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - lechnology.com X-Get-Message-Sender-Via: vern.gendns.com: authenticated_id: davidmain+lechnology.com/only user confirmed/virtual account not confirmed X-Authenticated-Sender: vern.gendns.com: davidmain@lechnology.com X-Source: X-Source-Args: X-Source-Dir: Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org On 8/25/21 11:24 PM, Eisenkolb Thomas wrote: > Hello, > > I have just found the same problem even if [GATT] Cache = no is set in main.conf. > It is simply the same because the device is held as temporary device. > > Additionally the method "dev_property_get_uuids" in device.c only returns UUIDs of > the cached (temporary hold) device because dev->le_state.svc_resolved is not turned > to false on disconnect. So if a disconnected device advertised an new UUID, you never > get notified about it through dbus. > > Through DBus device node I would expect to get both UUID lists. The cached ones and > also the advertised ones. > Actually I just merge the two lists and provide the result to DBus device->UUIDs request. > > Hope you can change this. > This series has already been applied, so it can't be changed. If you are still having problems after this series, can you share some logs so that we can see exactly the problem?