2008/4/1, Hendrik Sattler <[EMAIL PROTECTED]>:
>  > Well, in an OBEX session one side is a server, and another (the one
>  > that issues the OBEX Connect command) is a client, this makes total
>  > sense to me. There are many possible use cases for either variant: the
>  > simplest is that you can push some files to your phone from your PC,
>  > but you might want to push some files to your PC from your phone too.
>  > Previously there was no way to know how the roles are assigned for a
>  > given USB OBEX interface.
>
>
> TCP, IrDA and bluetooth are working different, though, as you can listen for
>  incoming connections. On USB, you have to inspect any newly attached device
>  for that descriptor. Is this possible to get notifications with only libusb
>  or is HAL needed? I mean something equal to listen() on a socket...

You need HAL or some OS-specific notification mechanism. Libusb does
not provide notifications for new devices. But the OBEX server/client
roles are independent of underlying transport roles: the other side on
an incoming TCP connection can be an OBEX server or a client. Same is
now possible with USB, and I think I've seen a Nokia phone with a
Bluetooth OBEX profile that implemented a server role.

>  > Why? If Bluetooth is already assigning numeric IDs to various OBEX
>  > functionalities, it makes sense to reuse them in other transports, for
>  > example, USB.
>
> E.g. because there are systems without bluetooth support but with a working
>  libusb. Not sure but Solaris comes to my mind. Additionally, bluetooth
>  support is optional when building.

My patch will not add a bluetooth dependency, no worries :) You can
hardcode the UUID in your application, or use one provided by bluez.

>  > > Great. I've yet want to see a device that has USB OBEX.
>  >
>  > Almost every modern mobile phone has USB OBEX, I was talking
>  > specifically about this new descriptor.
>
> Samsung phones don't. Never seen a phone from SE that has this. Nokia does but
>  not all models (known ones?).

All of Nokia's S60 phones, and most of S40 phones. Also SE has a few
phones, but I'm not sure which ones.

-- 
Alexander

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Openobex-users mailing list
Openobex-users@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/openobex-users

Reply via email to