<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">Replying to myself to one thing:</div><div class="gmail_quote"><br></div><div class="gmail_quote">On 15 January 2014 20:07, Andrés G. Aragoneses <span dir="ltr"><<a href="mailto:knocte@gmail.com" target="_blank">knocte@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">
<div class="im">On 15 January 2014 19:07, Bastien Nocera <span dir="ltr"><<a href="mailto:hadess@hadess.net" target="_blank">hadess@hadess.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<div>><br>
> I guess blueman is hosted in launchpad[1] but...<br>
><br>
> ><br>
> > Or, even better, use GNOME 3 with builtin Bluetooth support :)<br>
><br>
> Can you tell me where exactly is the code for GNOME3's bluetooth<br>
> device<br>
> management?<br>
<br>
</div>It's in gnome-shell, gnome-control-center for the UI parts, and<br>
gnome-bluetooth for the backend code. </blockquote><div><br></div></div><div>Alright! Naive question then: where can I see a simple program sample of gnome-bluetooth's library usage?</div><div>What I've found for now is this [1], which sadly doesn't work[2].</div>
</div></div></div></blockquote><div><br></div><div>I didn't mean [1] was an example of gnome-bluetooth usage but of bluetooth device discovery obviously. Now I've realised there are some "test*" files in gnome-bluetooth such as <a href="https://git.gnome.org/browse/gnome-bluetooth/tree/lib/test-deviceselection.c">https://git.gnome.org/browse/gnome-bluetooth/tree/lib/test-deviceselection.c</a> (although I would recommend to move them out of the "lib" folder to a "samples" folder or something) and I've tried to build the repo, and got this error: </div>
<div><br></div><div><a href="https://gist.github.com/knocte/8442441">https://gist.github.com/knocte/8442441</a><br></div><div><br></div><div>So I think you're missing some proper version in the dependency checking of <a href="http://configure.ac">configure.ac</a>, maybe gtk?</div>
<div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">

<div><br></div><div>And I have another question: if I develop something that uses gnome-bluetooth backend, would this work in Ubuntu out of the box? I ask this because in this blog post [3] you say that BlueZ v5 is what is being used, however the version of the bluez package of Trusty Tahr 14.04 (last snapshot I've tried) has only version 4.101. Would this mean incompatibility?</div>

<div><br></div><div>I also have another question wrt obex: I've noticed that the "browse devices..." command in blueman calls under the hood nautilus to simply open a URI with the obex:// scheme. So I'm wondering, if I need to do an app that sends and receives files from a phone via bluetooth, how should I do it? Does gnome-bluetooth provide me with the necessary API to do that or do I have to use gvfs somehow to interact with this protocol?</div>

<div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Killswitch support in gnome-settings-daemon.<br>

</blockquote><div><br></div><div>What's killswitch?</div><div><br></div><div>[1] <a href="https://wiki.gnome.org/Projects/Vala/DBusClientSamples" target="_blank">https://wiki.gnome.org/Projects/Vala/DBusClientSamples</a></div>
</div>[2] <a href="http://stackoverflow.com/questions/21138814/updated-bluez-dbus-api-document" target="_blank">http://stackoverflow.com/questions/21138814/updated-bluez-dbus-api-document</a></div>
<div class="gmail_extra">[3] <a href="http://www.hadess.net/2013/11/bluetooth-file-sharing-obexpush-in.html" target="_blank">http://www.hadess.net/2013/11/bluetooth-file-sharing-obexpush-in.html</a></div></div>
</blockquote></div><br></div></div>