public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-devel] Multi Dongle Problem
@ 2007-06-12 17:08 msaglietto
  2007-06-16  7:43 ` Marcel Holtmann
  0 siblings, 1 reply; 2+ messages in thread
From: msaglietto @ 2007-06-12 17:08 UTC (permalink / raw)
  To: bluez-devel

Hello,
im making a program in C ... and was trying to use multi dongles ...
this is the hcitool dev output:

Devices:
        hci0    00:11:F6:0A:06:7B
        hci1    00:11:F6:0A:06:63

and that i make in my program is this...

str2ba("00:11:F6:0A:06:7B",&bdaddr);
dev_id = hci_get_route(&bdaddr);

but when u see the light of the dongles the hci1 is in use ...
and the hci0 is in use when the program use sdp...
to solve this i make the link mode of hci0 MASTER ... but then dont care
what i punt on the hci_get_route function... im making something wrong??
almost forgot... in some case the program finish with this error
Failed to connect to SDP server: Interrupted system call ... what can be?...

Regards, Mauricio




-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-06-16  7:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-12 17:08 [Bluez-devel] Multi Dongle Problem msaglietto
2007-06-16  7:43 ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox