From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Marcel Holtmann To: BlueZ development In-Reply-To: <52222.190.30.202.149.1181668125.squirrel@www.y2knetworks.com.ar> References: <52222.190.30.202.149.1181668125.squirrel@www.y2knetworks.com.ar> Date: Sat, 16 Jun 2007 09:43:35 +0200 Message-Id: <1181979815.6846.71.camel@aeonflux.inter-touch.com> Mime-Version: 1.0 Subject: Re: [Bluez-devel] Multi Dongle Problem Reply-To: BlueZ development List-Id: BlueZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Sender: bluez-devel-bounces@lists.sourceforge.net Errors-To: bluez-devel-bounces@lists.sourceforge.net Hi, > 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... you have to give the source to sdp_connect(). > 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?? No. Never do that. It is wrong. The link mode is selecting a device. > almost forgot... in some case the program finish with this error > Failed to connect to SDP server: Interrupted system call ... what can be?... Can't say that without seeing hcidump -X -V. Regards Marcel ------------------------------------------------------------------------- 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