From: Iain Hibbert <plunky@rya-online.net>
To: Mateus Interciso <mateus@ouvi.com.br>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: Question on simple RFCOMM server
Date: Tue, 25 Aug 2009 18:15:15 +0100 (BST) [thread overview]
Message-ID: <1251220515.564598.718.nullmailer@galant.ukfsn.org> (raw)
In-Reply-To: <4A93F2C6.4030708@ouvi.com.br>
On Tue, 25 Aug 2009, Mateus Interciso wrote:
> Or is there any configuration that can make a normal user change the default
> link mode?
yes - do
int opt = RFCOMM_LM_MASTER;
setsockopt(listend, SOL_RFCOMM, RFCOMM_LM, &opt, sizeof(opt));
before listen()
iain
prev parent reply other threads:[~2009-08-25 17:15 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-25 12:26 Question on simple RFCOMM server Mateus Interciso
2009-08-25 12:31 ` Peter Wippich
2009-08-25 13:41 ` Iain Hibbert
2009-08-25 14:18 ` Mateus Interciso
2009-08-25 17:15 ` Iain Hibbert [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=1251220515.564598.718.nullmailer@galant.ukfsn.org \
--to=plunky@rya-online.net \
--cc=linux-bluetooth@vger.kernel.org \
--cc=mateus@ouvi.com.br \
/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