From: Marcel Holtmann <marcel@holtmann.org>
To: Zhiwei <eng00787@nus.edu.sg>
Cc: BlueZ Mailing List <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] how to program to use hci1 instead of hci0?
Date: Fri, 13 Feb 2004 10:09:34 +0100 [thread overview]
Message-ID: <1076663374.2671.23.camel@pegasus> (raw)
In-Reply-To: <001401c3f201$df7b3a70$eb3812ac@stu.nus.edu.sg>
Hi Zhiwei,
> I have 2 USB dongles connected to my laptop running Redhat 9.0, and
> 'hcitool dev' shows correctly both devices with distinct user-friendly
> names. It seems that whenever I run a program, it always utilises
> hci0. How can I get control over that? Basically I want to run a
> program each that uses different device, so I can simulate 2 Bluetooth
> devices communicating using the same laptop.
I think it is time to read the man pages. In most cases you have a -i or
-S option to specifiy the source interface.
hcitool -i hci1 scan
Regards
Marcel
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
prev parent reply other threads:[~2004-02-13 9:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-13 7:20 [Bluez-users] how to program to use hci1 instead of hci0? Zhiwei
2004-02-13 9:09 ` Marcel Holtmann [this message]
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=1076663374.2671.23.camel@pegasus \
--to=marcel@holtmann.org \
--cc=bluez-users@lists.sourceforge.net \
--cc=eng00787@nus.edu.sg \
/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