From: ermal mino <ermalmino1004@yahoo.it>
To: bluez-devel@lists.sourceforge.net
Subject: Re: [Bluez-devel] rfcomm socket connect timeout
Date: Tue, 28 Feb 2006 16:23:45 +0100 (CET) [thread overview]
Message-ID: <20060228152345.41492.qmail@web53107.mail.yahoo.com> (raw)
In-Reply-To: <20060228145922.GQ6529@beta.private.mielke.cc>
[-- Attachment #1: Type: text/plain, Size: 1537 bytes --]
I don't know if there's a way to do it programmatically but i think it is a built in charachteristic as it is defined as a constant.
I have had problems of this type and all I had to do was go to usr/src/linux/include/net/bluetooth/rfcomm.h
and you must change:
#define RFCOMM_CONN_TIMEOUT (HZ * 30)
to:
#define RFCOMM_CONN_TIMEOUT (HZ * X)
where X is a number of your choice.
And after that I rebuild the kernel modules ,all of them as i don't know another way of rebuilding only the bluetooth part.
Dave Mielke <dave@mielke.cc> ha scritto:
Is there a way to reduce the timeout for an rfcomm socket connect?
--
Dave Mielke | 2213 Fox Crescent | I believe that the Bible is the
Phone: 1-613-726-0014 | Ottawa, Ontario | Word of God. Please contact me
EMail: dave@mielke.cc | Canada K2A 1H7 | if you're concerned about Hell.
http://FamilyRadio.com/ | http://Mielke.cc/bible/
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
---------------------------------
Yahoo! Mail: gratis 1GB per i messaggi, antispam, antivirus, POP3
[-- Attachment #2: Type: text/html, Size: 1985 bytes --]
prev parent reply other threads:[~2006-02-28 15:23 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-28 13:15 [Bluez-devel] [PATCH] l2cap.c: adding some kernel-docs Martin Röhricht
2006-02-28 14:59 ` [Bluez-devel] rfcomm socket connect timeout Dave Mielke
2006-02-28 15:19 ` Marcel Holtmann
2006-02-28 15:50 ` Dave Mielke
2006-02-28 16:08 ` Marcel Holtmann
2006-02-28 15:23 ` ermal mino [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=20060228152345.41492.qmail@web53107.mail.yahoo.com \
--to=ermalmino1004@yahoo.it \
--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;
as well as URLs for NNTP newsgroup(s).