[Kde-hardware-devel] Bluetooth, anybody?

Bart Cerneels bart.cerneels at kde.org
Tue Jan 13 16:43:43 CET 2009


On Tue, Jan 13, 2009 at 2:00 PM, Guillaume Pothier <gpothier at gmail.com> wrote:
> On Tue, Jan 13, 2009 at 9:54 AM, Bart Cerneels <bart.cerneels at kde.org> wrote:
>>
>> To get the device enumerations you mean? OpenObex will enumerate USB
>> devices for you or allow you to use BT addresses or IP-addresses (for
>> obex over IP). IrDA doesn't need addressing since it's line-of-sight.
>
> Solid already does the enumeration (through bluez). As Solid is KDE's
> interface to the hardware, I thought we also need to go through Solid
> for OBEX; is it not the case?
> g
>
>>
>> So I don't see why you need any solid support at all. Just a KIO slave
>> using ObexFTP will do for doing basic transfers. Solid could get the
>> UUIDs (service identifiers) to see which services are supported by a
>> device, but it's not really needed.
>>
>> Bart
>>
>

We don't have to, just take a look at what the obex kio-slave in KDE 3.5 did.
For instance obex://usb/ could give use 2 folders named "0 - Sony
Ericsson K610" and "1 - Samsung RAZR". These would be directly related
to the result of 'obexftp -u'.

But getting the device info through solid is just nicer and makes it
easier for both the application programmer and the end user.

Bart


More information about the Kde-hardware-devel mailing list