From: Manuel Naranjo <naranjo.manuel@gmail.com>
To: BlueZ development <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] Obex handle?
Date: Thu, 19 Jul 2007 10:11:29 -0300 [thread overview]
Message-ID: <469F6301.3090401@gmail.com> (raw)
In-Reply-To: <200707191216.54531.fernando@bluexare.org>
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 = -EINVAL;
break;
}
(void) str2ba(devicedup, &bdaddr);
free(devicedup);
ret = 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
next prev parent reply other threads:[~2007-07-19 13:11 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-18 10:32 [Bluez-devel] Obex handle? Fernando Unzu
2007-07-19 4:39 ` Vikas Sinha
2007-07-19 4:44 ` [Bluez-devel] Inquiry Response tjoconno
2007-07-19 10:16 ` [Bluez-devel] Obex handle? Fernando Unzu
2007-07-19 13:11 ` Manuel Naranjo [this message]
2007-07-23 11:06 ` Fernando Unzu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=469F6301.3090401@gmail.com \
--to=naranjo.manuel@gmail.com \
--cc=bluez-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox