On Mon, 3 Apr 2006, Christian W. Zuckschwerdt wrote:

Sounds nice. There is already SDP discovery for BT. I just could fit this in the bindings yet. I thought about a general "discover" function with flags for each protocol. It would return a list/array of discovered protocol/devices/port pairs. Maybe some URI syntax would be good so we can just pass strings around.

Such a thing already exists for USB interfaces, my plan is to extend it to support BT also. It would return an array of structures that would contain:

- device address
- interface channel
- pointer to the SDP record
- (possibly) device name
- (possibly) interface name
- (possibly) interface profile id

Maybe the latter three are not needed because it's trivial for applications to obtain them from the SDP record or the device address. So the application could iterate over the returned array and compare the protocol, version, etc. with what it needs.

Alexander

Homepage: http://www.sensi.org/~ak/


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Openobex-users mailing list
[email protected]
http://lists.sourceforge.net/lists/listinfo/openobex-users

Reply via email to