<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">Have you tried changing the "Bluetooth devices discovery" on the bluetooth windows settings to Advanced?<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, May 14, 2024 at 10:45 PM Benjamin Griffiths <<a href="mailto:ben@familygriffiths.me.uk">ben@familygriffiths.me.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><u></u>
<div>
<div>
Hi there,
</div>
<div>
</div>
<div>
The <strong>discoverDetails()</strong> function call on a <strong>QLowEnergyService</strong> object causes my application to crash on Windows 11, it works fine on Windows 10 however.
</div>
<div>
</div>
<div>
It seems this issue has been around for a few years, and is related to PyQt/Qt for Python:
</div>
<div>
(Apologies in advance if this issue has already been raised on this mailing list)
</div>
<div>
</div>
<div> <a href="https://forum.qt.io/topic/146796/qtbluetooth-crashes-at-discoverdetails-on-win11" target="_blank">https://forum.qt.io/topic/146796/qtbluetooth-crashes-at-discoverdetails-on-win11</a>
</div>
<div> <a href="https://bugreports.qt.io/browse/QTBUG-109510" target="_blank">https://bugreports.qt.io/browse/QTBUG-109510</a>
</div>
<div>
</div>
<div>
I have attached a minimal reproducable example that displays a list of discovered BLE devices. Click on a device and then click connect. When the device is connected and a service is discovered, the discoverDetails() function call on line 78 causes the crash.
</div>
<div>
</div>
<div>
Any support would be greatly appreciated.
</div>
<div>
</div>
<div>
Many thanks,
</div>
<div>
</div>
<div>
Ben
</div>
<div>
</div>
<div>
</div>
</div>
</blockquote></div>