<HTML><BODY>Hi,<br><br>Thanks a lot for response,<br><br><em>However, Qt also provides a BluettothLE API which should work just fine (in client mode).<br><br></em>That is very true, but it looks that they don't have any control over pairing process - there are no API to provide "custom Agent" to it<span> (there are in BluezQt though). It might be that I have missed something in their API but so far I haven't saw a way to do that, while I require some custom pairing procedure to be implemented. I asked <a href="https://forum.qt.io/topic/95622/provide-pin-to-qt-bluetooth/3" data-mce-href="https://forum.qt.io/topic/95622/provide-pin-to-qt-bluetooth/3">question</a> about this on Qt Forum, but haven't got any sensible answer.<br><br></span><div><em>the GATT client API is not fully implemented (nor tested). Unfortunately, i do not plan to implement this soon.</em></div><br>Ok, I see. So, I ended up modifying BluezQt sources with that functionality, adding my own classes for reading/writing/notifying GATT Characteristics (called those GattServiceRemote and GattCharacteristicRemote for now). I have done it a while ago (~8-12 months), and on this week I merged updates from BluezQt main repo (at least it compiles).<br><br>I am wondering if it is possible to make those modifications to the main repo? I am not really experiences with how exactly open source development works and whether I can push some changes at all, besides it is highly probably requires reviewing, although I tried to follow the code style as much as I could.<br><br>Please let me know if I can contribute, and I would appreciate any hints on where to start,<br>Best Regards,<br>Ivan Podkurkov<br><br><blockquote style="border-left: 1px solid #0857A6; margin: 10px; padding: 0 0 0 10px;" data-mce-style="border-left: 1px solid #0857A6; margin: 10px; padding: 0 0 0 10px;">Понедельник, 26 августа 2019, 0:11 +03:00 от Manuel Weichselbaumer <mincequi@web.de>:<br> <br><div id=""><div class="js-helper js-readmsg-msg"><div><div id="style_15667675090412958380_BODY"><div class="class_1566825038"><div style="font-family: Verdana; font-size: 12.0px;" data-mce-style="font-family: Verdana; font-size: 12.0px;"><div>Hi,</div><div> </div><div>the GATT client API is not fully implemented (nor tested). Unfortunately, i do not plan to implement this soon.</div><div> </div><div>However, Qt also provides a BluettothLE API which should work just fine (in client mode).</div><div> </div><div>Best regards,</div><div>Manuel Weichselbaumer</div><div> <div style="margin: 10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left: 2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" data-mce-style="margin: 10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left: 2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div style="margin: 0 0 10px 0;" data-mce-style="margin: 0 0 10px 0;"><strong>Gesendet:</strong> Freitag, 23. August 2019 um 19:18 Uhr<br> <strong>Von:</strong> "Иван Подкурков" <<a href="https://e.mail.ru/compose?To=podkiva@mail.ru" data-mce-href="https://e.mail.ru/compose?To=podkiva@mail.ru">podkiva@mail.ru</a>><br> <strong>An:</strong> kde-frameworks-devel@kde.org<br> <strong>Cc:</strong> Manuel.Weichselbaumer@bmw.de, <a href="https://e.mail.ru/compose?To=mincequi@web.de" data-mce-href="https://e.mail.ru/compose?To=mincequi@web.de">mincequi@web.de</a><br> <strong>Betreff:</strong> BluezQt GATT client API</div><div>Hello,<br> <br> I have a question regarding <a href="https://api.kde.org/frameworks/bluez-qt/html/index.html" rel="noopener noreferrer" data-mce-href="https://checklink.mail.ru/proxy?es=D9%2Fi0I9Lbu5honsfQqTaOPTwZ39IELAN0%2FAr10Va5LE%3D&egid=gtK3QrdnKa3V3X81RwKsiy6l%2Fu8cDurglQWpmbRxZVc%3D&url=https%3A%2F%2Fclick.mail.ru%2Fredir%3Fu%3Dhttps%253A%252F%252Fapi.kde.org%252Fframeworks%252Fbluez-qt%252Fhtml%252Findex.html%26c%3Dswm%26r%3Dhttp%26o%3Dmail%26v%3D2%26s%3De93f23ca4c3174bc&uidl=15667675090412958380&from=mincequi%40web.de&to=podkiva%40mail.ru" target="_blank">BluezQt</a> library.<br> <br> In recent <a href="https://cgit.kde.org/bluez-qt.git/commit/?id=1a5660ab1547236c7bc0f883bbbb039889489a22" rel="noopener noreferrer" data-mce-href="https://checklink.mail.ru/proxy?es=D9%2Fi0I9Lbu5honsfQqTaOPTwZ39IELAN0%2FAr10Va5LE%3D&egid=gtK3QrdnKa3V3X81RwKsiy6l%2Fu8cDurglQWpmbRxZVc%3D&url=https%3A%2F%2Fclick.mail.ru%2Fredir%3Fu%3Dhttps%253A%252F%252Fcgit.kde.org%252Fbluez-qt.git%252Fcommit%252F%253Fid%253D1a5660ab1547236c7bc0f883bbbb039889489a22%26c%3Dswm%26r%3Dhttp%26o%3Dmail%26v%3D2%26s%3D880911eee6ae8cd1&uidl=15667675090412958380&from=mincequi%40web.de&to=podkiva%40mail.ru" target="_blank">commits</a> I see that the functionality for Bluetooth Low Energy (GATT) was added, but I don't see the way to act as a client, i.e. to read GATT characteristics from other devices.<br> <br> There is one test called <a href="https://cgit.kde.org/bluez-qt.git/tree/tests/leserver.cpp?id=1a5660ab1547236c7bc0f883bbbb039889489a22" rel="noopener noreferrer" data-mce-href="https://checklink.mail.ru/proxy?es=D9%2Fi0I9Lbu5honsfQqTaOPTwZ39IELAN0%2FAr10Va5LE%3D&egid=gtK3QrdnKa3V3X81RwKsiy6l%2Fu8cDurglQWpmbRxZVc%3D&url=https%3A%2F%2Fclick.mail.ru%2Fredir%3Fu%3Dhttps%253A%252F%252Fcgit.kde.org%252Fbluez-qt.git%252Ftree%252Ftests%252Fleserver.cpp%253Fid%253D1a5660ab1547236c7bc0f883bbbb039889489a22%26c%3Dswm%26r%3Dhttp%26o%3Dmail%26v%3D2%26s%3Dacda669a6d0f6b06&uidl=15667675090412958380&from=mincequi%40web.de&to=podkiva%40mail.ru" target="_blank">leserver.cpp</a> / <a href="https://cgit.kde.org/bluez-qt.git/tree/tests/devicereceiver.h?id=1a5660ab1547236c7bc0f883bbbb039889489a22" rel="noopener noreferrer" data-mce-href="https://checklink.mail.ru/proxy?es=D9%2Fi0I9Lbu5honsfQqTaOPTwZ39IELAN0%2FAr10Va5LE%3D&egid=gtK3QrdnKa3V3X81RwKsiy6l%2Fu8cDurglQWpmbRxZVc%3D&url=https%3A%2F%2Fclick.mail.ru%2Fredir%3Fu%3Dhttps%253A%252F%252Fcgit.kde.org%252Fbluez-qt.git%252Ftree%252Ftests%252Fdevicereceiver.h%253Fid%253D1a5660ab1547236c7bc0f883bbbb039889489a22%26c%3Dswm%26r%3Dhttp%26o%3Dmail%26v%3D2%26s%3D88488d894ffed5ad&uidl=15667675090412958380&from=mincequi%40web.de&to=podkiva%40mail.ru" target="_blank">leserver.h</a> which demonstrates the way to act as a GATT server for other Low Energy devices, but not other way around.<br> <br> Is Low Energy GATT client API not supported yet, or am I missing something among the API?<br> <br> Best Regards,<br> Ivan Podkurkov</div></div></div></div></div></div></div></div></div></blockquote></BODY></HTML>