[Interest] Bluetooth LE: Start Encryption (opcode 0x2019)

Simon FEUTRIER sfeutrier at bluegriot.com
Mon Feb 15 09:34:44 CET 2021


Hello,

What is the role of your qt app ? Central or Peripheral ?

If it is your Central you cannot start encryption (you need to set
encryption from the device side). If you enable your encryption from the
peripheral side and it still does not work, look there :
https://bugreports.qt.io/browse/QTBUG-86095

If it is your Peripheral, I cannot help you. I did not find any direct
commands to enable or disable encryption (for both sides in fact). Neither
at service / characteristic side nor at higher level.

Best regards,

Simon


Le lun. 8 févr. 2021 à 09:58, cagnulein <cagnulein at gmail.com> a écrit :

> Hi, on my application I need to use the opcode 0x2019 to start an
> encryption BTLE communication. How can I do in QT?
>
> This screenshot reports how the Bluetooth trace should be.
>
> Thanks
>
> R.
>
>
> _______________________________________________
> 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/20210215/a97e1841/attachment.html>


More information about the Interest mailing list