Skip to contentSkip to conversation

obex-client: how to select a dongle from muliple dongles to send-files

DISCUSSION Ed Tsang 3 participants 3 messages Feb 19, 2010 – Feb 21, 2010 Bluetooth drivers

lore
Share & tools
lore

Ed Tsang

author
#0 lore raw

Hi,
Need some hint from the expert.
I am using test/send-files to send files. But when I have multiple dongles, I would like in run time to select which dongle to send out the file either using hci0/1 or the actual dongle address or other means. I tried trace it down but got lost. Anyone could provide some hint.

Ed

      __________________________________________________________________

Looking for the perfect gift? Give the gift of Flickr!

http://www.flickr.com/gift/

#1 lore raw

Im implementing something similar. Obexftp library gives you a free conecxion so what im doing is to call the method by diferent threats.

Sent from my iPod

Quoted 19 lines · Ed Tsang

Hi,
Need some hint from the expert.
I am using test/send-files to send files. But when I have
multiple dongles, I would like in run time to select which dongle to send out the file either using hci0/1 or the actual dongle address or other means. I tried trace it down but got lost. Anyone could provide some hint.

Ed

__________________________________________________________________
Looking for the perfect gift? Give the gift of Flickr!

http://www.flickr.com/gift/

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw
In reply to Ed Tsang

Hi,

Quoted 3 lines · Ed Tsang

Hi,
  Need some hint from the expert.
  I am using  test/send-files to send files. But when I have multiple dongles, I would like in run time to select which dongle to send out the file either using hci0/1 or the actual dongle address or other means. I tried trace it down but got lost. Anyone could provide some hint.

Currently send-files doesn't support choosing the source, but the dbus API does, just set the bdaddr (string format) as Source in device dictionary.

Signature · 2 lines
Luiz Augusto von Dentz
Computer Engineer