From: "Heiko Wundram (Beenic)" <wundram@beenic.net>
To: BlueZ development <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] rfcomm connection using multiple dongles
Date: Tue, 7 Aug 2007 14:30:28 +0200 [thread overview]
Message-ID: <200708071430.29143.wundram@beenic.net> (raw)
In-Reply-To: <46B85566.1000100@ucd.ie>
Am Dienstag 07 August 2007 13:20:06 schrieb Stephen Keegan:
> while ((r = connect(m_CommHandle, (struct sockaddr *)&raddr,
> sizeof(raddr))) == -1)
>
> I think that I may need to specify which dongle (hc0 or hci1) should be
> used in this command.
>
> If anybody could advise on a solution, I would be very grateful.
bind() the RFCOMM socket to the local BT-address of the dongle you want to use
before connecting it.
man 2 bind
is your friend.
--
Heiko Wundram
Product & Application Development
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
next prev parent reply other threads:[~2007-08-07 12:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.159099.1186455104.21973.bluez-devel@lists.sourceforge.net>
2007-08-07 11:20 ` [Bluez-devel] rfcomm connection using multiple dongles Stephen Keegan
2007-08-07 12:30 ` Heiko Wundram (Beenic) [this message]
2007-08-02 16:57 Stephen Keegan
2007-08-07 11:52 ` Marcel Holtmann
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=200708071430.29143.wundram@beenic.net \
--to=wundram@beenic.net \
--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