<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi all,<br>
<br>
I'm developing an application that requires advertising an own
server via SDP and of course a method to retrieve devices that are
advertising said service record. I'm also doing an Android version
in parallel with mostly the same code (until now); advertising a
server works on both platforms, but for searching I've used two
different code paths, which lead to problems:<br>
<br>
1. QBluetoothDeviceDiscoveryAgent on Sailfish:<br>
Can find my PC (and possibly other Sailfish servers), but not the
Android device as it does not initially feature the custom service
UUID upon device discovery -> full service discovery is needed,
which means using QBluetoothServiceDiscoveryAgent (which in turn
gives me a "Create device failed Error: 0
"org.freedesktop.DBus.Error.AuthFailed"").<br>
<br>
2. QBluetoothServiceDiscoveryAgent on Android and PC:<br>
Android and PC can see each other in client and server roles. Both
can see Jolla as a server, but as already said, Jolla cannot see the
Android server.<br>
<br>
Now, I have found this thread:
<a class="moz-txt-link-freetext" href="https://lists.sailfishos.org/pipermail/devel/2015-March/005781.html">https://lists.sailfishos.org/pipermail/devel/2015-March/005781.html</a><br>
<br>
I'd very much like to be able to submit my application to harbour
when it's done, which can take some time, but still. Should I:<br>
<br>
a) use the patched Qt Bluetooth module from the thread and package
that with my app instead of using the system lib<br>
b) try to gain access to the privileged group for easier development
and wait for Qt Bluetooth to become stable enough for harbour<br>
<br>
Best Regards,<br>
Krzysztof
<meta name="qrichtext" content="1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
p, li { white-space: pre-wrap; }
</style><span style="font-size: 9pt; color: rgb(170, 0, 0);"></span>
<meta name="qrichtext" content="1">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><!--EndFragment--></p>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
p, li { white-space: pre-wrap; }
</style>
</body>
</html>