From: Manuel Naranjo <naranjo.manuel@gmail.com>
To: BlueZ development <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] finding the least busy hci device
Date: Thu, 03 May 2007 09:19:28 -0300 [thread overview]
Message-ID: <4639D350.2020606@gmail.com> (raw)
In-Reply-To: <22b6c3510705022305s522c254fy511ee6e9db90c44c@mail.gmail.com>
Hi Benjamin,
Please let me know how you solved this, I had patched obexftp in order
to use more than one bluetooth dongle at the same time, but didn't do
the load balance stuff, if you can get this done, please give me some
code snippets and I send the ObexFTP crew another patch with this stuff.
Thanks,
Manuel
> Hi Vikas,
>
> I think your solution is far more elegant than mine. I'd tried to
> obtain the amount of connected device to the dongle via cl->conn_num,
> and try to gauge from there if the dongle is busy. Thanks mate
>
> Regards,
> Ben
>
>
>
> I was trying it few months ago. What I was doing was not very much
> effective but workable.
> There is status for every connection ... "ci->state". If its state
> is BT_CONNECTED means its connected and u can't connect it with
> other once. With these state u can have a watch on dongles and if
> any Dongle get free u can use it.
>
> u can find these function under hci.c and hci_lib.h. use them ...
> if get soem better way then please let me know..
>
> Hi,
>
> I'm trying to write an OBEX application which will be deployed
> in an environment with multiple attached Bluetooth USB
> dongles. Since each bluetooth dongle can support only 7 ACL
> active connection simultaneously, can anyone please suggest a
> method to efficiently perform load balancing on all the
> available bluetooth dongles? Is there a function which I can
> use to seek out the least busy/connected hci device? Thanks
>
> Regards,
> Ben
>
>
>
>
> --
> Impossible
> itself contain
> I M Possible
>
> Hi Ben,
-------------------------------------------------------------------------
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-05-03 12:19 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-30 6:34 [Bluez-devel] finding the least busy hci device Benjamin Fong
2007-05-02 5:38 ` Vikas Sinha
2007-05-03 6:05 ` Benjamin Fong
2007-05-03 12:19 ` Manuel Naranjo [this message]
2007-05-03 12:27 ` Williams, Richard
2007-05-03 12:30 ` Manuel Naranjo
2007-05-04 4:58 ` Benjamin Fong
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=4639D350.2020606@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