Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp3999961pxm; Tue, 1 Mar 2022 09:14:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJxsa6KFOVNIW0i6D4Oel6et1WxnAx8mRIyRLxraWySyIEzZCwDc4iFhl8zgu5OKOTt1YSiF X-Received: by 2002:a05:6402:1d54:b0:410:f02d:4765 with SMTP id dz20-20020a0564021d5400b00410f02d4765mr25385271edb.28.1646154880970; Tue, 01 Mar 2022 09:14:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646154880; cv=none; d=google.com; s=arc-20160816; b=DhQ8rBUgdMmBjKuljGpNWp3dXTHvKEOmM3OThdEQFavZOSBQJZS42vfYv8/VP6lu/D vT6c/frIzViaHMXHMrwYq1IcwITD/tOKe+jNRA2qf2xURwTI4z1wNCsGSozf/CbHPNel YdyyAUPtNTqo7txn6vulWNs5qQoOgLMImgj6hOXFl160nkJQZgu+gK79DOsIm6KLvsqL dpWA0wnpRC6Q/JIkob19Yucq9YQKKyv50+2Fmwf4Rq6gmrffP8/MjmpTFzOhN9gpOEJ3 utTWrr4/g/3wSWQ23INQ8B7lEfKk0kWIGamNVsetm07DA0Pv3U38KUj6y6PeB9aSWWT+ 1g5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=p0Z4Z39zfJ23LPgxcdCw1G1/6VeC8QLa90ih2HJXN2Q=; b=bMfIsNJKVzKCNN9bGiqW3FD+liP/mhYot2sI79bEZ0IrKGqPpbfJR/C1+oY6mfubXa f/yjbvs5+106VZauWZvXI5NjUSjMAjkEmYgCjGPF1CcCVlZiOKtH/ShLse8Vqrs1+lY/ krsB2JX0yLAqoaYSO7jQtqCftp4NOoJWabBKEbOH/W/SyF+3IUCFn815LGC97GVJDY/Q aIEp3iNPcULsvXHOskaLB4eN7LlUZYVcnM6B3JanOasQwgp7rP/FB+EydCnB7CMbviNN QGOTcagU3ExjKSfkosa6h1edjrTROXIvJT2p0sKNR1S1P+uTCQrC9qJvP5rmzN3c1s08 UJWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@earthlink.net header.s=dk12062016 header.b=lwBJxK6+; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mindspring.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hd40-20020a17090796a800b006a66824a4a4si10215549ejc.47.2022.03.01.09.13.32; Tue, 01 Mar 2022 09:14:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@earthlink.net header.s=dk12062016 header.b=lwBJxK6+; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mindspring.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235949AbiCAQCR (ORCPT + 99 others); Tue, 1 Mar 2022 11:02:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60870 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235962AbiCAQCQ (ORCPT ); Tue, 1 Mar 2022 11:02:16 -0500 Received: from nmtao202.oxsus-vadesecure.net (mta-202a.oxsus-vadesecure.net [51.81.232.240]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F2E9EAB477 for ; Tue, 1 Mar 2022 08:01:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; bh=p0Z4Z39zfJ23LPgxcdCw1G1/6VeC8QLa90ih2H JXN2Q=; c=relaxed/relaxed; d=earthlink.net; h=from:reply-to:subject: date:to:cc:resent-date:resent-from:resent-to:resent-cc:in-reply-to: references:list-id:list-help:list-unsubscribe:list-subscribe:list-post: list-owner:list-archive; q=dns/txt; s=dk12062016; t=1646150493; x=1646755293; b=lwBJxK6+OCKhSJuDXorYRAVtBoMUGTCTZo7bhwI+K7pVxCZ19OIgo+W 1IfG9PN3sYVO3qh6UBZI/LnCl9f7FCIu4U9pD5MAMCbB5G9HsQ7NL2o41inPS+KMQniWcZS T4E1maDxhvnsG69XMDBEAnKQN7o+NYMo6VJqILVvL8bfjBHhhXOyKqBWGXnzr+/ZX5F8IUU qzdAqmigaHEZoyoMZmKX4fNQ1P92360ErbM3AMYCkZ827SPt5uTjnqiEE3ugpbM895J2LNI r/+zp+1xqGEd8Knjtj3/N7Hmb9JYo3nzE11wplNWmuclPIzMYGRE0RZ61PrYjuIFkqx3IFk t+g== Received: from [192.168.1.152] ([104.185.76.86]) by smtp.oxsus-vadesecure.net ESMTP oxsus2nmtao02p with ngmta id 3bb4fc7f-16d84d26f0ac2de5; Tue, 01 Mar 2022 16:01:33 +0000 Message-ID: <307e7ee7-b973-4d15-03fd-31cc6087163b@mindspring.com> Date: Tue, 1 Mar 2022 11:01:32 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: Battery1 vs. GATT reporting Content-Language: en-US To: Sonny Sasaka Cc: BlueZ References: <72122fe6-8c8b-d26e-9c1d-75462052b503@mindspring.com> From: Ed Beroset In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org On 3/1/22 10:43, Sonny Sasaka wrote: > Hi Ed, > > What I do is call `gatt.select-attribute` on the characteristic called > "Battery Level", but it is not shown in your case. So maybe this is > the bug that you are encountering. What is the exact version of your > BlueZ (commit sha if possible)? Could you also try tip of tree to see > if this is already fixed? Hi Sonny, I'm sorry, I should have noted that this is with the tip of tree, commit bf09e1f048. Thanks for your help with this! Ed