Hi Simon, my peripheral is a Inspire I1.5 bike so yes, the encryption has been activated from the peripheral (i saw it in the hci snoof log collected using its own proprietary app on Android). i guess i will wait the iOS tests, and if it will work, i will rewrite from scratch the bluetooth code on android (i mean, with Java not c++) to check if there is something wrong in the Qt layer.
Roberto Viola Software engineer and open source enthusiast http://robertoviola.cloud Il giorno lun 15 feb 2021 alle ore 10:29 Simon FEUTRIER < [email protected]> ha scritto: > Hi, > > I'm working on Windows so it could be different (who knows) ? > Did you activate your peripheral encryption? What is your peripheral by > the way ? > In the issue, there is a link for the mailing exchange and there are some > things about android : > https://lists.qt-project.org/pipermail/interest/2020-August/035699.html > Also, it has been confirmed that it should be managed internally and > that's why we don't have any command to control the encryption behaviour. > Thus, we cannot really do a lot of things except going further in the > source code or trying to change command order or / and timing. > Cordialement, > > Simon Feutrier - Ingénieur systèmes embarqués > > BLUEGRioT > > > Le lun. 15 févr. 2021 à 10:06, cagnulein <[email protected]> a écrit : > >> Hi, thanks for answering my question. The role of my app is Central and >> yes i already saw your bug reports and i think we're facing the same >> problem :( >> I'm on android btw, and i will test the same source code on iOS and will >> tell you it will work or not. >> If you have some ideas, we should talk ;) >> >> Roberto Viola >> Software engineer and open source enthusiast >> http://robertoviola.cloud >> >> >> >> Il giorno lun 15 feb 2021 alle ore 09:34 Simon FEUTRIER < >> [email protected]> ha scritto: >> >>> 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 <[email protected]> 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 >>>> [email protected] >>>> https://lists.qt-project.org/listinfo/interest >>>> >>>
_______________________________________________ Interest mailing list [email protected] https://lists.qt-project.org/listinfo/interest
