[Interest] Bluetooth LE: scheduleServiceDetailDiscovery issue

cagnulein cagnulein at gmail.com
Sat Feb 20 14:50:21 CET 2021


Nope i only know big machinery like treadmills and bikes :D
Anyway i solved the issue, in a dirty way but i solved it: i simply removed
the reading from the discovery phase in the Qt framework ;) I really don't
need them :)
So i guess you should simply add a new function or a parameter to configure
this behaviour.
I will post the hci snoof in a new bug report.
I didn't put here my patch because i think it's too dirty to share :D
Have a nice weekend Andreas, and thanks again for your work!
R.

Roberto Viola
Software engineer and open source enthusiast
http://robertoviola.cloud



Il giorno sab 20 feb 2021 alle ore 10:47 Andreas Buhr <andreas.buhr at qt.io>
ha scritto:

> Hi Roberto,
>
> On 16.02.21 07:56, cagnulein wrote:
> > The issue is that some bluetooth peripherals don't allow to read some
> > characteristics or same descriptors even if they are marked as readable.
>
> [snip]
>
> > Looking at the code on Android, i guess the responsible of this behavior
> > is this function: */scheduleServiceDetailDiscovery./* >
> > So the question is: could i safely remove this one? I mean, the side
> > effect of removing it should be that I will not have the values of the
> > charts and the descriptors in the very beginning phase, but of course I
> > could always read them after the init phase.
>
> Thanks a lot for your feedback about this problem with Qt and Bluetooth.
> Do you know any device which shows this behavior and isn't very large
> and expensive? Then we could test it ourselves.
>
> It would be great if you could create a bug report on bugreports.qt.io
> and attach a hci snoop there. Feel free to assign it to me.
>
> best regards,
> Andreas
>
> --
> Andreas Buhr
> Senior Software Engineer
>
> The Qt Company
> Erich-Thilo-Str. 10
> 12489 Berlin
> Germany
> andreas.buhr at qt.io
> www.qt.io
>
> Geschäftsführer: Mika Pälsi,
> Juha Varelius, Jouni Lintunen
> Sitz der Gesellschaft: Berlin,
> Registergericht: Amtsgericht
> Charlottenburg, HRB 144331 B
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> https://lists.qt-project.org/listinfo/interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20210220/735d2e19/attachment.html>


More information about the Interest mailing list