From: Ed Beroset <beroset@mindspring.com>
To: Sonny Sasaka <sonnysasaka@chromium.org>
Cc: BlueZ <linux-bluetooth@vger.kernel.org>
Subject: Re: Battery1 vs. GATT reporting
Date: Tue, 17 May 2022 17:24:36 -0400 [thread overview]
Message-ID: <db5b5136-25c9-c334-e5bd-725bcbcc89a2@mindspring.com> (raw)
In-Reply-To: <5a1c1826-92a9-f949-9f40-473416ab82b9@mindspring.com>
On 3/2/22 10:33, Ed Beroset wrote:
> On 3/1/22 11:01, Ed Beroset wrote:
>> 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!
>
> I am trying this from a different computer today and I find that now the
> Battery Service and Battery Level characteristic are showing up, even on
> the same devices I was reading the other day. Not sure what's going on,
> but I am investigating further. At the moment, it seems more likely
> that the problem is either with my devices or with my software. I just
> wanted to report back to avoid having you all waste your time. When I
> figure this out, I'll send another update. Thanks for the help so far.
OK, it's been a while, but the problem was eventually tracked not to
BlueZ but a Qt component I was using. Essentially, changes in BlueZ
were being tracked by changes in Qt, but there was a problem with the Qt
implementation starting with BlueZ version 5.55. No change required in
BlueZ, and already fixed in Qt, but I thought I'd circle back around and
let you all know the resolution.
https://bugreports.qt.io/browse/QTBUG-70222
Ed
next prev parent reply other threads:[~2022-05-17 21:29 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-28 14:15 Battery1 vs. GATT reporting Ed Beroset
2022-02-28 18:31 ` Sonny Sasaka
2022-03-01 14:32 ` Ed Beroset
2022-03-01 15:43 ` Sonny Sasaka
2022-03-01 16:01 ` Ed Beroset
2022-03-02 15:33 ` Ed Beroset
2022-05-17 21:24 ` Ed Beroset [this message]
2022-05-17 21:29 ` Sonny Sasaka
2022-02-28 18:44 ` Luiz Augusto von Dentz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=db5b5136-25c9-c334-e5bd-725bcbcc89a2@mindspring.com \
--to=beroset@mindspring.com \
--cc=linux-bluetooth@vger.kernel.org \
--cc=sonnysasaka@chromium.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox