From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Fernando Unzu To: BlueZ development Date: Mon, 23 Jul 2007 13:06:22 +0200 References: <200707181232.00253.fernando@bluexare.org> <200707191216.54531.fernando@bluexare.org> <469F6301.3090401@gmail.com> In-Reply-To: <469F6301.3090401@gmail.com> MIME-Version: 1.0 Message-Id: <200707231306.22438.fernando@bluexare.org> Subject: Re: [Bluez-devel] Obex handle? Reply-To: BlueZ development List-Id: BlueZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Sender: bluez-devel-bounces@lists.sourceforge.net Errors-To: bluez-devel-bounces@lists.sourceforge.net Thanks Manuel for your response. It has helped me enough for my issue. But in the business we are interested into migrate to DBUS functions... So, if anybody can help me where I can find some information about DBUS API= or = similar, please, tell us. Thank you, Manuel, once, for your response. A clearly and simple solution. Fernando Unzu El Jueves, 19 de Julio de 2007 15:11, Manuel Naranjo escribi=F3: > Fernando, > This question should be asked in the openobex mailing list but who cares. > I had patched the obexftp app to be able to use more than one dongle, > here's the code that handle that: > if (!src) { > bacpy(&src_addr, BDADDR_ANY); > else if (!strncmp(src, "hci", 3)) { > hci_devba(atoi(src + 3), &src_addr); > } > else { > str2ba(src, &src_addr); > } > if (!device) { > ret =3D -EINVAL; > break; > } > > (void) str2ba(devicedup, &bdaddr); > free(devicedup); > ret =3D BtOBEX_TransportConnect(cli->obexhandle, &src_addr, &bdaddr, > (uint8_t)port); > > > Thanks for your response, Vikas. > > > > first...? There is any problem with the mailing list in sourceforge?? > > I can't do any search... > > > > Afortunately, you give me a link within I can search. > > Thanks once. > > > > But this issue talks about how to know if a dongle is free to use it or > > not... > > > > This can help me, now what I know, but my question is where I select > > which dongle will be used with OBEX... > > > > So... ,at one moment, I know the dongle I must to use is the "dev_id 0", > > ok; but..., how I say to OBEX "use the dongle "dev_id 0"". > > In whic method I can select this option?? > > > > In HCI is the addr.hci_dev, and in OBEX...? handle.dev_id???? > > > > I'm not sure I'm explaning well, but I hope you understand me a little. > > > > Thans a lot, > > Fernando Un > > ------------------------------------------------------------------------- > 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 ------------------------------------------------------------------------- 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/ _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel