Hi,

This should be addressed by 
https://codereview.qt-project.org/c/qt/qtconnectivity/+/302776

It is part of 5.15.1 (when released) & dev .

--
Alex

________________________________________
From: Interest <interest-boun...@qt-project.org> on behalf of Simon FEUTRIER 
<sfeutr...@bluegriot.com>
Sent: Monday, 17 August 2020 09:48
To: interest@qt-project.org
Subject: [Interest] BLE : Bonding and ble security

Hi,

That is the first time I use this mailing list, so tell me if I'm doing 
anything wrong when using it. Thanks !

Now my problem.

I'm developing a Qt application that communicates with a BLE device. It worked 
perfectly until I tried to add some security. When I turned on "Just Works" 
security mode (device side), I was not able anymore to write in a 
characteristic (or read) from my Qt application.

I compared the Bluetooth messages sent from Qt app and from the android app nfr 
Connect and I see that automatically, the nrf Connect app sends a bonding 
request when it fails to write.
Qt does not do this. That is the only difference that makes the android app 
working but not my Qt app.

I finally made it work once : I start my Qt App, pair my BLE device with 
Windows parameters and then it works one time only (after that I need to unpair 
my device from Windows parameters and redo the same process). It only works if 
it has been paired with Windows parameters...

I could not find anything about bonding in the API or security mode settings.
Any idea ? Should I post it as a bug or am I missing something ?

Thanks,

Regards,

Simon Feutrier
_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to