Linux bluetooth development
 help / color / mirror / Atom feed
From: "Benjamin Fong" <benjamin.backup@gmail.com>
To: "BlueZ development" <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] finding the least busy hci device
Date: Thu, 3 May 2007 14:05:42 +0800	[thread overview]
Message-ID: <22b6c3510705022305s522c254fy511ee6e9db90c44c@mail.gmail.com> (raw)
In-Reply-To: <1ab01fb50705012238j36bd3f96u8baccf9bf4eb3ee1@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 2335 bytes --]

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


On 5/2/07, Vikas Sinha <compuvikas@gmail.com> wrote:
>
> Hi 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..
>
>  On 4/30/07, Benjamin Fong < benjamin.backup@gmail.com> wrote:
>
> >  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
> >
> >
> > -------------------------------------------------------------------------
> > 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
> >
> >
>
>
> --
> Impossible
> itself contain
> I M Possible
>
> Vikas
> -------------------------------------------------------------------------
> 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
>
>

[-- Attachment #1.2: Type: text/html, Size: 4036 bytes --]

[-- Attachment #2: Type: text/plain, Size: 286 bytes --]

-------------------------------------------------------------------------
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/

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

  reply	other threads:[~2007-05-03  6:05 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 [this message]
2007-05-03 12:19     ` Manuel Naranjo
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=22b6c3510705022305s522c254fy511ee6e9db90c44c@mail.gmail.com \
    --to=benjamin.backup@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