* [Bluez-users] how to program to use hci1 instead of hci0?
@ 2004-02-13 7:20 Zhiwei
2004-02-13 9:09 ` Marcel Holtmann
0 siblings, 1 reply; 2+ messages in thread
From: Zhiwei @ 2004-02-13 7:20 UTC (permalink / raw)
To: bluez-users
[-- Attachment #1: Type: text/plain, Size: 431 bytes --]
Hi all,
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.
Thanks for any advice.
CW
[-- Attachment #2: Type: text/html, Size: 1039 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Bluez-users] how to program to use hci1 instead of hci0?
2004-02-13 7:20 [Bluez-users] how to program to use hci1 instead of hci0? Zhiwei
@ 2004-02-13 9:09 ` Marcel Holtmann
0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2004-02-13 9:09 UTC (permalink / raw)
To: Zhiwei; +Cc: BlueZ Mailing List
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-02-13 9:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox