linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bluez-users] Question regarding Rfcomm-Timeout
@ 2004-03-16 14:03 Thomas Eller
  0 siblings, 0 replies; 3+ messages in thread
From: Thomas Eller @ 2004-03-16 14:03 UTC (permalink / raw)
  To: BlueZ Mailing List

Hello, there !

I'm using the rfcomm executable from bluez-utils to connect to a 
bluetooth device. It looks like this:

rfcomm connect 0 xx:xx:xx:xx:xx:xx 1

If the remote device is not present the rfcomm-connect ends with a 
timeout after ~20s with the error-message: "Can't connect..... ...Host 
is down."

Where can i push this 20s-timeout down to a lower value ???

I see in the source-code that a socket-connection is made, so possibly 
there may be a parameter that can be configured through the 
proc-filesystem ?!?


Regards,

Tom

-- 
---------------------------

Thomas Eller
te@identisys.de


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bluez-users] Question regarding rfcomm-timeout
@ 2004-03-16 14:29 Thomas Eller
  2004-03-16 14:47 ` Marcel Holtmann
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Eller @ 2004-03-16 14:29 UTC (permalink / raw)
  To: bluez-users

Hello, there !

I'm using the rfcomm executable from bluez-utils to connect to a 
bluetooth device. It looks like this:

rfcomm connect 0 xx:xx:xx:xx:xx:xx 1

If the remote device is not present the rfcomm-connect ends with a 
timeout after ~20s with the error-message: "Can't connect..... ...Host 
is down."

Where can i push this 20s-timeout down to a lower value ???

I see in the source-code that a socket-connection is made, so possibly 
there may be a parameter that can be configured through the 
proc-filesystem ?!?


Regards,

Tom

-- 
---------------------------

Thomas Eller
te@identisys.de



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Bluez-users] Question regarding rfcomm-timeout
  2004-03-16 14:29 [Bluez-users] Question regarding rfcomm-timeout Thomas Eller
@ 2004-03-16 14:47 ` Marcel Holtmann
  0 siblings, 0 replies; 3+ messages in thread
From: Marcel Holtmann @ 2004-03-16 14:47 UTC (permalink / raw)
  To: Thomas Eller; +Cc: BlueZ Mailing List

Hi Thomas,

> I'm using the rfcomm executable from bluez-utils to connect to a 
> bluetooth device. It looks like this:
> 
> rfcomm connect 0 xx:xx:xx:xx:xx:xx 1
> 
> If the remote device is not present the rfcomm-connect ends with a 
> timeout after ~20s with the error-message: "Can't connect..... ...Host 
> is down."
> 
> Where can i push this 20s-timeout down to a lower value ???
> 
> I see in the source-code that a socket-connection is made, so possibly 
> there may be a parameter that can be configured through the 
> proc-filesystem ?!?

the timeout you talk about is the page timeout and it is a HCI specific
parameter.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-03-16 14:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-16 14:29 [Bluez-users] Question regarding rfcomm-timeout Thomas Eller
2004-03-16 14:47 ` Marcel Holtmann
  -- strict thread matches above, loose matches on Subject: below --
2004-03-16 14:03 [Bluez-users] Question regarding Rfcomm-Timeout Thomas Eller

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).