Am Donnerstag 23 August 2007 19:38 schrieb Stephen Keegan:
> What I want to do is to
> receive content, then send back a short file to the sending Bluetooth
> device. I have another question regarding the usage of multiple
> dongles with obexpushd. Can I use more than one dongle to receive OBEX
> content? I have looked through the code but cannot see anywhere that I
> can set the device id (e.g. hci0 or hci1).

You don't actually want that ;)
Never try to specify something like hci0 or eth0 as those are not static 
names. Instead, you would have to give the local address of an adapter.

In the code, the result of str2ba() (converting the string of your bluetooth 
adapter address to a bdaddr_t) must then be used instead of BDADDR_ANY (for 
reference: in net/btobex.c _and_ in obexpushd-sdp.c).

Last thing I heard though that sdpd cannot really handle that. I tried with
  sdptool -i hci0 add --channel=3 OPUSH
and the resulting SDP record is also visible with
  sdptool -i hci1 browse local
However, that may be a bug in sdptool but
  http://article.gmane.org/gmane.linux.bluez.user/12360
effectively tells the same story. Thus, I think that it may not be possible 
with current implementation of sdpd under Linux.

@Marcel: do you have any idea about this?

HS

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Openobex-users mailing list
[email protected]
http://lists.sourceforge.net/lists/listinfo/openobex-users

Reply via email to